mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-19 16:53:26 +02:00
Full Distribution
This commit is contained in:
9
data/actions/scripts/nostalrius/2.lua
Normal file
9
data/actions/scripts/nostalrius/2.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
function onUse(player, item, fromPosition, target, toPosition)
|
||||
if Game.isItemThere({x = 33211, y = 32698, z = 13}, 1306) then
|
||||
Game.removeItemOnMap({x = 33211, y = 32698, z = 13}, 1306)
|
||||
else
|
||||
doRelocate({x = 33211, y = 32698, z = 13}, {x = 33211, y = 32697, z = 13})
|
||||
Game.createItem(1306, 1, {x = 33211, y = 32698, z = 13})
|
||||
end
|
||||
return true
|
||||
end
|
Reference in New Issue
Block a user