summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/debug-preset.txt6
-rw-r--r--npc/commands/warp.txt13
2 files changed, 15 insertions, 4 deletions
diff --git a/npc/commands/debug-preset.txt b/npc/commands/debug-preset.txt
index a0112e58..40f61261 100644
--- a/npc/commands/debug-preset.txt
+++ b/npc/commands/debug-preset.txt
@@ -72,10 +72,10 @@ function script DoRoutine {
}
}
- if (getarg(2, 0) && getargcount() >= 3)
+ if (getargcount() >= 3)
.@value = max(getarg(2), .@value);
- if (getarg(3, 0) && getargcount() >= 4)
+ if (getargcount() >= 4)
.@value = min(getarg(3), .@value);
return .@value;
@@ -166,7 +166,7 @@ function script DoRoutine {
/* (j) */
case 107: /* k => skill */
.@k = max(1, min(32767, .@a));
- skill .@k, parsev(getskilllv(.@k), .@args$[1], 0, 10);
+ skill .@k, parsev(getskilllv(.@k), .@args$[1], 0, 10), 0;
break;
case 108: /* l => luk */
.@base = readparam(bLuk);
diff --git a/npc/commands/warp.txt b/npc/commands/warp.txt
index 5bfb8c01..e64b87db 100644
--- a/npc/commands/warp.txt
+++ b/npc/commands/warp.txt
@@ -91,7 +91,18 @@ OnInit:
"^SECOND|^DECK2$", "000-2-1 53 33", // second deck
"^HOLD$", "000-2-2 43 30", // hold
"^NARD", "000-2-3 21 27", // nard's room
- "^ALIG|^HID", "000-2-4 36 29"; // alige's hideout
+ "^ALIG|^HID", "000-2-4 36 29", // alige's hideout
+
+ // WOODLAND
+ "^HURN", "008-1 79 64", // hurnscald: town square
+ "^CELE", "008-2-0 25 27", // hurnscald: celestia
+ "^HMER", "008-2-1 33 39", // hurnscald: merchant guild
+ "^RUST", "008-2-2 37 30", // hurnscald: inn
+ "^ARRO|^ARCH", "008-2-6 27 29", // hurnscald: archery shop
+ "^A?POT", "008-2-7 34 27", // hurnscald: potion shop
+ "^HBLA", "008-2-8 36 34", // hurnscald: forge
+ "^HHAL|^HCIT", "008-2-10 36 31", // hurnscald: city hall
+ "HOSP|CLIN", "008-2-13 25 31"; // hurnscald: clinic / hospital
.count = getarraysize(.aliases$[0]);