2022-03-27 10:12:31 -04: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()
|
2022-10-19 19:07:47 -04:00
|
|
|
end
|