diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-30 17:40:39 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-02 16:14:48 -0400 |
commit | 81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c (patch) | |
tree | 03db0657edb66f6120f7df688c1cde3fa460a13a /world/map/npc/029-2 | |
parent | 78d7c322b8eb4125a66d31fdab833e58b35f01ec (diff) | |
download | serverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.tar.gz serverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.tar.bz2 serverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.tar.xz serverdata-81e1202d23bf0dc5a1c8f63eccf8f307ab9ca19c.zip |
add puppet check to alchemy node controller
Diffstat (limited to 'world/map/npc/029-2')
-rw-r--r-- | world/map/npc/029-2/alchemy.txt | 2 |
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; |