summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPovo <trithodex@gmail.com>2021-05-29 20:11:14 +0000
committerPovo <trithodex@gmail.com>2021-05-29 20:11:14 +0000
commitdf6e251924fd38b56ebb610117ebfd70a30c1efb (patch)
treeb8a4e8f0503bd2c86e4bfb1adce72369449a0591
parent8f709ee729cd93f27f6d3f69c0168ebab86a39e6 (diff)
downloadserverdata-df6e251924fd38b56ebb610117ebfd70a30c1efb.tar.gz
serverdata-df6e251924fd38b56ebb610117ebfd70a30c1efb.tar.bz2
serverdata-df6e251924fd38b56ebb610117ebfd70a30c1efb.tar.xz
serverdata-df6e251924fd38b56ebb610117ebfd70a30c1efb.zip
-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: