fix liberty bay citizenship

This commit is contained in:
ErikasKontenis
2020-01-10 19:56:59 +02:00
parent 45dfaea180
commit 6e7987746b
4 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
function onStepIn(creature, item, position, fromPosition)
if creature:isPlayer() then
doRelocate(item:getPosition(),{x = 32317, y = 32826, z = 07})
creature:getPlayer():setTown(Town("Liberty Bay"))
Game.sendMagicEffect({x = 32317, y = 32826, z = 07}, 13)
end
end
function onAddItem(item, tileitem, position)
doRelocate(item:getPosition(),{x = 32313, y = 32819, z = 07})
Game.sendMagicEffect({x = 32313, y = 32819, z = 07}, 14)
end