diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-18 21:42:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-18 21:42:59 -0300 |
commit | 504ddb47583fc4f6657150b54cae226286ed3d39 (patch) | |
tree | e2218224cb6b23a6702f8d12003d03397f08b536 | |
parent | 8bcd2b6d501e620a4992ee4efc2ce8826b8a5d5e (diff) | |
download | serverdata-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.
-rw-r--r-- | npc/003-0-1/maxime.txt | 15 |
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!"); |