From 5030dfef8a75536bbeca8a8babbd9460c816cdd7 Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 3 May 2016 10:37:16 -0400 Subject: make maps for new alchemy bench in swamp town --- world/map/npc/026-2/_nodes.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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; +} -- cgit v1.2.3-60-g2f50 From 3c09759dcd65a263a19b96602aee807ab778ec76 Mon Sep 17 00:00:00 2001 From: mekolat Date: Tue, 3 May 2016 10:37:44 -0400 Subject: make alchemy benches use a new npc id --- world/map/npc/029-2/alchemy.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-60-g2f50