From 504ddb47583fc4f6657150b54cae226286ed3d39 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 18 Sep 2019 21:42:59 -0300 Subject: 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. --- npc/003-0-1/maxime.txt | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'npc/003-0-1') 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!"); -- cgit v1.2.3-70-g09d2