SCED/objects/Jumanji.b46db2/StandardTokens.cba0aa.ttslua
2022-11-03 22:22:07 -07:00

13 lines
321 B
Plaintext

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