Divergent/mods/Hideout Furniture/gamedata/scripts/igi_conditions_hf.script

11 lines
312 B
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
igi_actions.conditions.can_get_object = function (cond)
-- print("can_get_object(cond)")
local item = igi_helper.level_object(cond.id)
if item then
-- print("can_get_object(cond) - TRUE")
return true
else
-- print("can_get_object(cond) - FALSE")
return false
end
end