diff --git a/New Text Document.txt b/New Text Document.txt index 7adc6b7..bf549af 100644 --- a/New Text Document.txt +++ b/New Text Document.txt @@ -1 +1 @@ -next: 17583 \ No newline at end of file +next: 17584 \ No newline at end of file diff --git a/data/movements/movements.xml b/data/movements/movements.xml index 0cc6e30..c1eedd2 100644 --- a/data/movements/movements.xml +++ b/data/movements/movements.xml @@ -446,6 +446,8 @@ + + diff --git a/data/movements/scripts/liberty_bay/citizenship.lua b/data/movements/scripts/liberty_bay/citizenship.lua new file mode 100644 index 0000000..8b3be1d --- /dev/null +++ b/data/movements/scripts/liberty_bay/citizenship.lua @@ -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 diff --git a/data/world/map.otbm b/data/world/map.otbm index 3b2de70..0a6dcb6 100644 Binary files a/data/world/map.otbm and b/data/world/map.otbm differ