No, no need to create new logic to handle that.The simplest solution is probably to hook the water ID into movements and, in the script, use item:remove() and apply a MAGIC_EFFECT to toPosition
There is a tool for that - trashholder.
<item id="4608" name="shallow water">
<attribute key="description" value="You see the silvery movement of fish." />
<attribute key="type" value="trashholder" />
<attribute key="effect" value="bluebubble" />
The simplest solution is probably to hook the water ID into movements and, in the script, use item:remove() and apply a MAGIC_EFFECT to toPosition
No, no need to create new logic to handle that.The simplest solution is probably to hook the water ID into movements and, in the script, use item:remove() and apply a MAGIC_EFFECT to toPosition
There is a tool for that - trashholder.
<item id="4608" name="shallow water">
<attribute key="description" value="You see the silvery movement of fish." />
<attribute key="type" value="trashholder" />
<attribute key="effect" value="bluebubble" />
No, no need to create new logic to handle that.
There is a tool for that - trashholder.
You can use it setting an attribute in items.xml
XML:<item id="4608" name="shallow water"> <attribute key="description" value="You see the silvery movement of fish." /> <attribute key="type" value="trashholder" /> <attribute key="effect" value="bluebubble" />


What engine are you using?.View attachment 96770
I have it set like that but the item doesn't disappear (only the effect of being thrown into the water appears, but the item doesn't want to disappear)
I actually noticed that trash doesn't work either
I noticed that I can throw gold coins into the trash and they disappear, but when I do the same with items, the items don't want to disappear
View attachment 96771
He is using [8.0] [TFS 1.2] - Server Global Full [Real Map] (https://otland.net/threads/8-0-tfs-1-2-server-global-full-real-map.280265/)What engine are you using?.
He is using [8.0] [TFS 1.2] - Server Global Full [Real Map] (https://otland.net/threads/8-0-tfs-1-2-server-global-full-real-map.280265/)
I already managed to compile and run it, but couldn't reproduce it.
![]()
Maybe the .exe that comes with the project is bugged? I didn't run it (and i dont think anyone should ;d)
events/player.lua onMoveItem function
I am showing that this issue cannot be reproduced, those tiles use trashholder.You're showing a result that works for you, but he reports that it doesn't for him - so where's your solution?
You should patch the root cause of the issue (which this time was an unfortunate user edit, for some reason he DMed me about it instead of posting), and not band-aid fix it with Lua events.it doesn't take long and solves the problem on any server and any version
I am showing that this issue cannot be reproduced, those tiles use trashholder.
You should patch the root cause of the issue (which this time was an unfortunate user edit, for some reason he DMed me about it instead of posting), and not band-aid fix it with Lua events.
Debugger is a tool that also works for any server and any version. I recommend you learn to use it as well.