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/35.lua
Normal file
15
data/movements/scripts/nostalrius/35.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if not Game.isItemThere({x = 32266, y = 31861, z = 11}, 2772) then
|
||||
Game.transformItemOnMap({x = 32266, y = 31861, z = 11}, 2773, 2772)
|
||||
Game.transformItemOnMap({x = 32266, y = 31860, z = 11}, 411, 410)
|
||||
Game.createItem(2129, 1, {x = 32266, y = 31860, z = 11})
|
||||
end
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
if not Game.isItemThere({x = 32266, y = 31861, z = 11}, 2772) then
|
||||
Game.transformItemOnMap({x = 32266, y = 31861, z = 11}, 2773, 2772)
|
||||
Game.transformItemOnMap({x = 32266, y = 31860, z = 11}, 411, 410)
|
||||
Game.createItem(2129, 1, {x = 32266, y = 31860, z = 11})
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user