From dbee3775ca8cb0058e2fd06de93037887f71f0a4 Mon Sep 17 00:00:00 2001 From: wushin Date: Mon, 4 May 2015 15:20:23 -0500 Subject: Fix getitemlink in menus --- world/map/npc/009-2/airlia.txt | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'world/map/npc/009-2') diff --git a/world/map/npc/009-2/airlia.txt b/world/map/npc/009-2/airlia.txt index 6f4be2bd..71726331 100644 --- a/world/map/npc/009-2/airlia.txt +++ b/world/map/npc/009-2/airlia.txt @@ -171,6 +171,7 @@ L_Fetch: mes "[Airlia]"; mes "\"Thank you for helping my father.\""; next; + mes "\"Have you collected the " + @FETCH_AMOUNT_INITIAL + " " + getitemlink(@FETCH_LABEL_INITIAL$) + "?\""; // 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 @@ -179,13 +180,13 @@ L_Fetch: if (QUEST_Graveyard_Caretaker < @Q_STATUS_HAS_NEW_LETTER) menu - "You are welcome.", L_Close, - "I have collected the " + @FETCH_AMOUNT_INITIAL + " " + getitemlink(@FETCH_LABEL_INITIAL$) + "s.", L_Fetch_initial_reward; + "Yes.", L_Fetch_initial_reward, + "No.", L_Close; if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NEW_LETTER) menu - "You are welcome.", L_Close, "I have another letter from your father.", L_later_rewards, - "I have collected the " + @FETCH_AMOUNT_INITIAL + " " + getitemlink(@FETCH_LABEL_INITIAL$) + "s.", L_Fetch_initial_reward; + "Yes.", L_Fetch_initial_reward, + "No.", L_Close; goto L_Close; L_Fetch_initial_reward: @@ -230,15 +231,16 @@ L_Rewarded: mes "[Airlia]"; mes "\"Thank you for your help.\""; next; + mes "\"Have you collected the " + @FETCH_AMOUNT + " " + getitemlink(@FETCH_LABEL$) + "s?\""; if (QUEST_Graveyard_Caretaker < @Q_STATUS_HAS_NEW_LETTER) menu - "You are welcome.", L_Close, - "I have collected the " + @FETCH_AMOUNT + " " + getitemlink(@FETCH_LABEL$) + "s.", L_Fetch_later_rewards; + "Yes.", L_Fetch_later_rewards, + "No.", L_Close; if (QUEST_Graveyard_Caretaker == @Q_STATUS_HAS_NEW_LETTER) menu - "You are welcome.", L_Close, "I have another letter from your father.", L_later_rewards, - "I have collected the " + @FETCH_AMOUNT + " " + getitemlink(@FETCH_LABEL$) + "s.", L_Fetch_later_rewards; + "Yes.", L_Fetch_later_rewards, + "No.", L_Close; goto L_Close; L_Close: -- cgit v1.2.3-70-g09d2