summaryrefslogtreecommitdiff
path: root/npc/009-2_Hurnscald
diff options
context:
space:
mode:
authornmaligec <wouldnot@hotmail.com>2011-01-03 14:50:23 -0500
committernmaligec <wouldnot@hotmail.com>2011-01-03 14:50:23 -0500
commit0362815db48dcd49b5df5d1bd8565613e1979f70 (patch)
treeb6c9733c488c5f87387a500ac2ef25441fdc1538 /npc/009-2_Hurnscald
parent8b09943b83d9eeb2180fb6c50023a22d3ffae18d (diff)
downloadserverdata-0362815db48dcd49b5df5d1bd8565613e1979f70.tar.gz
serverdata-0362815db48dcd49b5df5d1bd8565613e1979f70.tar.bz2
serverdata-0362815db48dcd49b5df5d1bd8565613e1979f70.tar.xz
serverdata-0362815db48dcd49b5df5d1bd8565613e1979f70.zip
Updates I made since ta-testing repo was closed: minor fix to Hurnsald warps and entrances, plus additions for the crypt quest.
Diffstat (limited to 'npc/009-2_Hurnscald')
-rw-r--r--npc/009-2_Hurnscald/_warps.txt41
-rw-r--r--npc/009-2_Hurnscald/airlia.txt47
2 files changed, 60 insertions, 28 deletions
diff --git a/npc/009-2_Hurnscald/_warps.txt b/npc/009-2_Hurnscald/_warps.txt
index bb75379b..17c8d7ea 100644
--- a/npc/009-2_Hurnscald/_warps.txt
+++ b/npc/009-2_Hurnscald/_warps.txt
@@ -1,20 +1,21 @@
-// 009-2 Hurnscald warps
-
-009-2.gat,75,23 warp To1stFloor 0,-1,009-2.gat,73,46
-009-2.gat,95,30 warp ToOutdoor -1,-1,009-1.gat,59,34
-009-2.gat,130,26 warp ToOutdoor -1,-1,009-1.gat,71,31
-009-2.gat,144,26 warp To2ndFloor 0,-1,009-2.gat,143,44
-009-2.gat,144,42 warp To3rdFloor 0,-1,009-2.gat,143,24
-009-2.gat,155,47 warp To1stFloor 0,-1,009-2.gat,154,63
-009-2.gat,114,46 warp To1stFloor 0,-1,009-2.gat,113,69
-009-2.gat,50,55 warp ToOutdoor -1,-1,009-1.gat,35,31
-009-2.gat,74,53 warp ToCellar -1,-1,009-2.gat,143,81
-009-2.gat,74,45 warp To2ndFloor 0,-1,009-2.gat,74,23
-009-2.gat,114,78 warp ToOutdoor 0,-1,009-1.gat,72,45
-009-2.gat,114,68 warp To2ndFloor 0,-1,009-2.gat,113,46
-009-2.gat,149,67 warp ToOutdoor -1,-1,009-1.gat,80,32
-009-2.gat,143,79 warp To1stFloor -1,-1,009-2.gat,74,52
-009-2.gat,155,62 warp To2ndFloor 0,-1,009-2.gat,154,46
-009-2.gat,182,67 warp ToOutdoor 0,-1,009-1.gat,91,47
-009-2.gat,147,89 warp ToCaveBeneathHurnscald -1,-1,009-3.gat,173,22
-009-2.gat,27,106 warp ToOutdoor -1,-1,009-1.gat,58,47
+// 009-2 Hurnscald warps
+
+009-2.gat,75,23 warp To1stFloor 0,-1,009-2.gat,73,46
+009-2.gat,95,30 warp ToOutdoor -1,-1,009-1.gat,59,34
+009-2.gat,130,26 warp ToOutdoor -1,-1,009-1.gat,71,31
+009-2.gat,144,26 warp To2ndFloor 0,-1,009-2.gat,143,44
+009-2.gat,144,42 warp To3rdFloor 0,-1,009-2.gat,143,24
+009-2.gat,155,47 warp To1stFloor 0,-1,009-2.gat,154,63
+009-2.gat,114,46 warp To1stFloor 0,-1,009-2.gat,113,69
+009-2.gat,50,55 warp ToOutdoor -1,-1,009-1.gat,35,31
+009-2.gat,74,53 warp ToCellar -1,-1,009-2.gat,143,81
+009-2.gat,74,45 warp To2ndFloor 0,-1,009-2.gat,74,23
+009-2.gat,114,78 warp ToOutdoor 0,-1,009-1.gat,72,45
+009-2.gat,114,68 warp To2ndFloor 0,-1,009-2.gat,113,46
+009-2.gat,149,67 warp ToOutdoor -1,-1,009-1.gat,80,32
+009-2.gat,143,79 warp To1stFloor -1,-1,009-2.gat,74,52
+009-2.gat,155,62 warp To2ndFloor 0,-1,009-2.gat,154,46
+009-2.gat,181,67 warp ToOutdoor -1,-1,009-1.gat,90,47
+009-2.gat,182,67 warp ToOutdoor -1,-1,009-1.gat,91,47
+009-2.gat,147,89 warp ToCaveBeneathHurnscald -1,-1,009-3.gat,173,22
+009-2.gat,27,106 warp ToOutdoor -1,-1,009-1.gat,58,47
diff --git a/npc/009-2_Hurnscald/airlia.txt b/npc/009-2_Hurnscald/airlia.txt
index bc1bd1f4..09900238 100644
--- a/npc/009-2_Hurnscald/airlia.txt
+++ b/npc/009-2_Hurnscald/airlia.txt
@@ -99,9 +99,15 @@ L_Airlia_intro:
mes "\"My poor father, doomed to that awful cemetery.\"";
next;
- if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NO_NEW_LETTER)
- menu
- "...", -;
+ // CASE REMOVED:
+ // This step is pointless and just forces the player to make a selection that doesn't effect anything.
+ // ALSO it misses the case where QUEST_Graveyard_Caretaker == 3, in this case it proceeds to the message without wasting player clicks
+ // Removing this check will make execution the same for QUEST_Graveyard_Caretaker == 3 and QUEST_Graveyard_Caretaker == 4
+ // If for some reason this is desireable, uncomment it and make sure to catch the extra case mentioned
+ //
+ //if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NO_NEW_LETTER)
+ // menu
+ // "...", -;
if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NEW_LETTER)
menu
@@ -166,17 +172,40 @@ L_Airlia_intro_proof:
L_Fetch:
mes "[Airlia]";
mes "\"Thank you for helping my father.\"";
- next;
-
- if (QUEST_Airlia < @Q_STATUS_INITIAL_FETCH_REWARDED)
+ next;
+
+ // Make sure to check if the player has a letter to deliver.
+ // If the check is not made then there is a bug, where the player
+ // has a letter but has not completed the initial fetch
+ // and is prevented from turing in the letter until the fetch is completed.
+ //
+ if (QUEST_Graveyard_Caretaker < @Q_STATUS_HAS_NEW_LETTER)
menu
"You are welcome.", -,
"I have collected the " + @FETCH_AMOUNT_INITIAL + " [" + getitemname(@FETCH_LABEL_INITIAL$) + "]s.", L_Fetch_initial_reward;
- if (QUEST_Airlia == @Q_STATUS_INITIAL_FETCH_REWARDED)
+ if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NEW_LETTER)
menu
"You are welcome.", -,
- "I have collected the " + @FETCH_AMOUNT + " [" + getitemname(@FETCH_LABEL$) + "]s.", L_Fetch_later_rewards;
+ "I have another letter from your father.", L_Caretaker_later_rewards,
+ "I have collected the " + @FETCH_AMOUNT_INITIAL + " [" + getitemname(@FETCH_LABEL_INITIAL$) + "]s.", L_Fetch_initial_reward;
+
+ // The following checks are REDUNDANT
+ // The only way to get to this lable is after a check for QUEST_Airlia == @Q_STATUS_HELP_AIRLIA
+ // Incase you weren't paying attention: @Q_STATUS_HELP_AIRLIA = 1 < @Q_STATUS_INITIAL_FETCH_REWARDED
+ // Note: proper handling of the first case is done above.
+ // The second case never gets executed anyway and not handled.
+ //
+ //if (QUEST_Airlia < @Q_STATUS_INITIAL_FETCH_REWARDED)
+ // menu
+ // "You are welcome.", -,
+ // "I have collected the " + @FETCH_AMOUNT_INITIAL + " [" + getitemname(@FETCH_LABEL_INITIAL$) + "]s.", L_Fetch_initial_reward;
+ //
+ //if (QUEST_Airlia == @Q_STATUS_INITIAL_FETCH_REWARDED)
+ // menu
+ // "You are welcome.", -,
+ // "I have collected the " + @FETCH_AMOUNT + " [" + getitemname(@FETCH_LABEL$) + "]s.", L_Fetch_later_rewards;
+
close;
L_Fetch_initial_reward:
@@ -226,10 +255,12 @@ L_Rewarded:
if (QUEST_Graveyard_Caretaker < @Q_STATUS_HAS_NEW_LETTER)
menu
+ "You are welcome.", -,
"I have collected the " + @FETCH_AMOUNT + " [" + getitemname(@FETCH_LABEL$) + "]s.", L_Fetch_later_rewards;
if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NEW_LETTER)
menu
+ "You are welcome.", -,
"I have another letter from your father.", L_Caretaker_later_rewards,
"I have collected the " + @FETCH_AMOUNT + " [" + getitemname(@FETCH_LABEL$) + "]s.", L_Fetch_later_rewards;