nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
128 stars 91 forks source link

Added tweaks NWNX_TWEAKS_FIRE_EQUIP_EVENTS_FOR_ALL_CREATURES and NWNX_TWEAKS_DONT_DELAY_EQUIP_EVENT #1684

Closed Cjreek closed 10 months ago

Cjreek commented 1 year ago

NWNX_TWEAKS_DONT_DELAY_EQUIP_EVENT.

NWNX_TWEAKS_FIRE_EQUIP_EVENTS_FOR_ALL_CREATURES makes it so that the Equip/Unequip events from the module will also fire for non-player creatures and

NWNX_TWEAKS_DONT_DELAY_EQUIP_EVENT will remove the delay from the OnEquip event, which fixes the equip/unequip events getting out of sync if an item gets equipped/unequipped multiple times per tick.