SCED/objects/Jumanji.b46db2/ExpertTokens.61b7e9.ttslua

14 lines
322 B
Plaintext
Raw Normal View History

2022-11-11 02:59:55 -05:00
function filterObjectEnter(obj)
local props = obj.getCustomObject()
if props ~= nil and props.image ~= nil then
obj.setName(Global.call("getTokenName", { url=props.image }))
end
return true
end
function onCollisionEnter(collision_info)
self.shuffle()
self.shuffle()
self.shuffle()
end