mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 22:54:53 +02:00
Full Distribution
This commit is contained in:
8
data/movements/scripts/nostalrius/4.lua
Normal file
8
data/movements/scripts/nostalrius/4.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() and Game.isItemThere({x = 32592, y = 31787, z = 04},3695) and creature:getPlayer():getStorageValue(45) < 1 then
|
||||
Game.removeItemOnMap({x = 32592, y = 31787, z = 04}, 3695)
|
||||
Game.sendMagicEffect({x = 32592, y = 31787, z = 04}, 15)
|
||||
doRelocate({x = 32592, y = 31787, z = 04},{x = 32593, y = 31787, z = 04})
|
||||
Game.createItem(3696, 1, {x = 32592, y = 31787, z = 04})
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user