summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-18 21:42:59 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-18 21:42:59 -0300
commit504ddb47583fc4f6657150b54cae226286ed3d39 (patch)
treee2218224cb6b23a6702f8d12003d03397f08b536 /npc
parent8bcd2b6d501e620a4992ee4efc2ce8826b8a5d5e (diff)
downloadserverdata-504ddb47583fc4f6657150b54cae226286ed3d39.tar.gz
serverdata-504ddb47583fc4f6657150b54cae226286ed3d39.tar.bz2
serverdata-504ddb47583fc4f6657150b54cae226286ed3d39.tar.xz
serverdata-504ddb47583fc4f6657150b54cae226286ed3d39.zip
Maxime: During later stages of Tonori Delight Quest, you may order more
than a single batch to help you in supplying Ryan. No discount. So if you ask 10 batches: 120 slimes, 80 plushies, 40 spores, 30 stingers, 20 drinks, 10 roast... And 1200 GP.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-0-1/maxime.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/npc/003-0-1/maxime.txt b/npc/003-0-1/maxime.txt
index 10a9cd46c..b85c87c86 100644
--- a/npc/003-0-1/maxime.txt
+++ b/npc/003-0-1/maxime.txt
@@ -20,17 +20,24 @@
mesc l("@@/1 @@", countitem(RoastedMaggot), getitemlink(RoastedMaggot));
mesc l("@@/120 GP", format_number(Zeny));
next;
- select
- l("I have the items, please bake for me"),
- l("Ah, nice to know.");
+ .@q=getq(HalinarzoQuest_LifeDelight);
+ menuint
+ l("I have the items, please bake for me"), 1,
+ rif(.@q > 10, l("I want two batches!")), 2,
+ rif(.@q > 20, l("I want THREE batches!")), 3,
+ rif(.@q > 30, l("I need FIVE batches!")), 5,
+ rif(.@q > 50, l("I have a supplier, gimme TEN batches!")), 10,
+ l("Ah, nice to know."), 0;
mes "";
- if (@menu == 2)
+ if (!@menuret)
goto L_Close;
+ for (.@i=0; .@i < @menuret; .@i++) {
if (!MaximeOven())
goto L_Missing;
+ }
mesn;
mesq l("Here you go, fresh from the oven!");