mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
Full Distribution
This commit is contained in:
18
data/movements/scripts/nostalrius/34.lua
Normal file
18
data/movements/scripts/nostalrius/34.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and Game.isPlayerThere({x = 33191, y = 31629, z = 13}) and Game.isItemThere({x = 33210, y = 31630, z = 13},1295) then
|
||||
Game.removeItemOnMap({x = 33210, y = 31630, z = 13}, 1295)
|
||||
Game.removeItemOnMap({x = 33211, y = 31630, z = 13}, 1295)
|
||||
Game.removeItemOnMap({x = 33212, y = 31630, z = 13}, 1295)
|
||||
end
|
||||
end
|
||||
|
||||
function onStepOut(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and Game.isPlayerThere({x = 33191, y = 31629, z = 13}) then
|
||||
doRelocate({x = 33210, y = 31630, z = 13},{x = 33210, y = 31631, z = 13})
|
||||
doRelocate({x = 33211, y = 31630, z = 13},{x = 33211, y = 31631, z = 13})
|
||||
doRelocate({x = 33212, y = 31630, z = 13},{x = 33212, y = 31631, z = 13})
|
||||
Game.createItem(1295, 1, {x = 33210, y = 31630, z = 13})
|
||||
Game.createItem(1295, 1, {x = 33211, y = 31630, z = 13})
|
||||
Game.createItem(1295, 1, {x = 33212, y = 31630, z = 13})
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user