Divergent/mods/Headgear Animations/gamedata/scripts/z_headgear_animations_fddap...

8 lines
274 B
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
local originalAOIBP = take_item_anim.actor_on_item_before_pickup
function take_item_anim.actor_on_item_before_pickup(item, flags)
if not headgear_animations.enable_animations then
flags.ret_value = false
return
end
originalAOIBP(item, flags)
end