zexlr8er / Wazzal_II

Wazzal II: The Final Dawn mod for Notrium
http://www.instantkingdom.com/forum/viewtopic.php?t=823
9 stars 2 forks source link

Flare item permanently increases brightness levels #29

Open zexlr8er opened 8 years ago

Infernus444 commented 8 years ago

Could you explain the issue? If it is what I think it is, there is a simple workaround for it.

zexlr8er commented 8 years ago

Simply that I haven't worked out how to "deactivate" a call to effect 8 (set light level addition) after a certain amount of time. When used on a wielded item like "Infra-red Googles" this is trivial (use the item again to deactivate), but I recall having issues when used for a "Flare" item which was designed to temporarily alter light levels before returning to the defaults.

_8=set light level addition, parameter1=type (0=map tiles, 1=items/plotobjects, 2=props, 3=creatures), parameter2=r, parameter3=g, parameter4=b