mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
Full Distribution
This commit is contained in:
15
data/movements/scripts/nostalrius/216.lua
Normal file
15
data/movements/scripts/nostalrius/216.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if Game.isItemThere({x = 32225, y = 32276, z = 10}, 1949) then
|
||||
doRelocate(item:getPosition(),{x = 32232, y = 32276, z = 09})
|
||||
item:getPosition():sendMagicEffect(15)
|
||||
Game.sendMagicEffect({x = 32232, y = 32276, z = 09}, 15)
|
||||
end
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
if Game.isItemThere({x = 32225, y = 32276, z = 10}, 1949) then
|
||||
doRelocate(item:getPosition(),{x = 32232, y = 32276, z = 09})
|
||||
item:getPosition():sendMagicEffect(15)
|
||||
Game.sendMagicEffect({x = 32232, y = 32276, z = 09}, 15)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user