diff options
author | nmaligec <wouldnot@hotmail.com> | 2011-01-03 14:50:23 -0500 |
---|---|---|
committer | nmaligec <wouldnot@hotmail.com> | 2011-01-03 14:50:23 -0500 |
commit | 0362815db48dcd49b5df5d1bd8565613e1979f70 (patch) | |
tree | b6c9733c488c5f87387a500ac2ef25441fdc1538 /npc/009-2_Hurnscald/airlia.txt | |
parent | 8b09943b83d9eeb2180fb6c50023a22d3ffae18d (diff) | |
download | serverdata-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/airlia.txt')
-rw-r--r-- | npc/009-2_Hurnscald/airlia.txt | 47 |
1 files changed, 39 insertions, 8 deletions
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; |