mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-15 06:54:54 +02:00
Full Distribution
This commit is contained in:
8
data/movements/scripts/misc/swamp.lua
Normal file
8
data/movements/scripts/misc/swamp.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
function onAddItem(item, tileitem, position)
|
||||
if (item:getType():isMovable() and Tile(position):getThingCount() == 2) or
|
||||
(tileitem:getId() >= 4874 and tileitem:getId() <= 4880) then
|
||||
item:getPosition():sendMagicEffect(9)
|
||||
item:remove()
|
||||
end
|
||||
return true
|
||||
end
|
Reference in New Issue
Block a user