summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-30 17:40:39 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-02 16:14:48 -0400
commit81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c (patch)
tree03db0657edb66f6120f7df688c1cde3fa460a13a
parent78d7c322b8eb4125a66d31fdab833e58b35f01ec (diff)
downloadserverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.tar.gz
serverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.tar.bz2
serverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.tar.xz
serverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.zip
add puppet check to alchemy node controller
-rw-r--r--world/map/npc/029-2/alchemy.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/029-2/alchemy.txt b/world/map/npc/029-2/alchemy.txt
index b5e4732c..98ca845b 100644
--- a/world/map/npc/029-2/alchemy.txt
+++ b/world/map/npc/029-2/alchemy.txt
@@ -74,7 +74,7 @@ S_Spawn:
if (.spawned >= .@s)
goto S_Return;
set .@n$, "#_Al-lab"+chr(3)+.spawned;
- void puppet(.m$[.spawned], .x1[.spawned], .y1[.spawned], .@n$, 400); // TODO: make a npc like npc 400 but with hoverCursor="action" => looks better for things like crafting
+ if (puppet(.m$[.spawned], .x1[.spawned], .y1[.spawned], .@n$, 400) < 1) mapexit; // TODO: make a npc like npc 400 but with hoverCursor="action" => looks better for things like crafting
set .spawned, .spawned + 1;
if (.spawned < .@s)
goto S_Spawn;