1
Development / Disable brandish for all items in chests
« on: August 20, 2018, 12:19:11 pm »
Hello. Can I disable brandish for all items in chests? I tried to write self:set_brandish_when_picked(false) in item script:
But it works only for pickable treasures, and it doesn't work in chests. Why?
Code: [Select]
function item:on_created()
self:set_savegame_variable("bomb")
self:set_assignable(true)
self:set_brandish_when_picked(false)
end
But it works only for pickable treasures, and it doesn't work in chests. Why?