summaryrefslogtreecommitdiff
path: root/npc/003-0-1/maxime.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-0-1/maxime.txt')
-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!");