2021-01-02 22:49:38 -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
|
|
|
|
|
2020-12-06 09:42:32 -05:00
|
|
|
function onCollisionEnter(collision_info)
|
2021-01-02 22:49:38 -05:00
|
|
|
self.shuffle()
|
|
|
|
self.shuffle()
|
|
|
|
self.shuffle()
|
2021-10-18 15:54:27 -04:00
|
|
|
end
|