summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/015-1/lexi.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/npc/015-1/lexi.txt b/npc/015-1/lexi.txt
index 032938415..f6a9f6fa1 100644
--- a/npc/015-1/lexi.txt
+++ b/npc/015-1/lexi.txt
@@ -10,7 +10,7 @@
goto L_Menu;
L_Menu:
- .@q = getq(HurnscaldQuest_Lexi);
+ .@m$ = (getq(HurnscaldQuest_Lexi) ? "Can you make me dye?" : "Do you sell anything?");
next;
mesn;
mesq l("It is always a pleasant surprise to meet people out here.");
@@ -18,7 +18,7 @@ L_Menu:
l("Who are you?"),
l("What is it that you are doing here?"),
l("Aren't you afraid of all these monsters?"),
- rif(.@q < 1, l("Do you sell anything?"), l("Can you make me dye?")),
+ l(.@m$),
l("Ignore.");
mes "";
@@ -79,8 +79,7 @@ L_Offer:
mesq l("%d/%d %s",countitem(SilverIngot), 1, getitemlink(SilverIngot));
mesn;
mesq l("So what do you think? Want one?");
- if (.@q < 1)
- setq HurnscaldQuest_Lexi, 1;
+ compareandsetq HurnscaldQuest_Lexi, 0, 1;
goto L_Dye;
L_Dye: