mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
Full Distribution
This commit is contained in:
12
data/movements/scripts/nostalrius/205.lua
Normal file
12
data/movements/scripts/nostalrius/205.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
function onStepIn(creature, item, position, fromPosition)
|
||||
if creature:isPlayer() then
|
||||
doRelocate(item:getPosition(),{x = 32595, y = 32744, z = 06})
|
||||
creature:getPlayer():setTown(Town("Port Hope"))
|
||||
Game.sendMagicEffect({x = 32595, y = 32744, z = 06}, 13)
|
||||
end
|
||||
end
|
||||
|
||||
function onAddItem(item, tileitem, position)
|
||||
doRelocate(item:getPosition(),{x = 32595, y = 32744, z = 06})
|
||||
Game.sendMagicEffect({x = 32595, y = 32744, z = 06}, 14)
|
||||
end
|
Reference in New Issue
Block a user