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

10 lines
333 B
Plaintext
Raw Normal View History

if take_item_anim then
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
end