diff options
author | Wushin <pasekei@gmail.com> | 2016-05-11 16:50:06 -0500 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2016-05-11 16:50:06 -0500 |
commit | 9218cfaba1337e0098f147cd58d0496bdaf14728 (patch) | |
tree | 1b310021a3687c48dcdcac3e67c2068490ba4c0f /world/map | |
parent | d0dc01460197e2ac35fe4b015a9ed9af6d4d6442 (diff) | |
parent | 3c09759dcd65a263a19b96602aee807ab778ec76 (diff) | |
download | serverdata-9218cfaba1337e0098f147cd58d0496bdaf14728.tar.gz serverdata-9218cfaba1337e0098f147cd58d0496bdaf14728.tar.bz2 serverdata-9218cfaba1337e0098f147cd58d0496bdaf14728.tar.xz serverdata-9218cfaba1337e0098f147cd58d0496bdaf14728.zip |
Merge pull request #501 from mekolat/alchemy
Add alchemy bench to swamp village
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/026-2/_nodes.txt | 14 | ||||
-rw-r--r-- | world/map/npc/029-2/alchemy.txt | 2 |
2 files changed, 14 insertions, 2 deletions
diff --git a/world/map/npc/026-2/_nodes.txt b/world/map/npc/026-2/_nodes.txt index 05780dcc..2d223fd1 100644 --- a/world/map/npc/026-2/_nodes.txt +++ b/world/map/npc/026-2/_nodes.txt @@ -1,4 +1,16 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. // Swamp Indoors nodes -// (no nodes) +026-2,0,0,0|script|Node026-2|32767 +{ + end; +OnInit: + setarray .m$, "_N-Alchemy", "026-2"; + setarray .x1, "_N-Alchemy", 35; + setarray .y1, "_N-Alchemy", 117; + setarray .x2, "_N-Alchemy", 0; + setarray .y2, "_N-Alchemy", 0; + setarray .id, "_N-Alchemy", 0; + donpcevent "_N-Alchemy::OnMaybeStart"; + destroy; +} diff --git a/world/map/npc/029-2/alchemy.txt b/world/map/npc/029-2/alchemy.txt index 98ca845b..23f1c321 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; - 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 + if (puppet(.m$[.spawned], .x1[.spawned], .y1[.spawned], .@n$, 399) < 1) mapexit; set .spawned, .spawned + 1; if (.spawned < .@s) goto S_Spawn; |