summaryrefslogtreecommitdiff
path: root/npc/quests/juice_maker.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/juice_maker.txt')
-rw-r--r--npc/quests/juice_maker.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/quests/juice_maker.txt b/npc/quests/juice_maker.txt
index fa9c7145d..d3745a7de 100644
--- a/npc/quests/juice_maker.txt
+++ b/npc/quests/juice_maker.txt
@@ -228,6 +228,8 @@ payon_in03,188,146,5 script Marx Hansen#juice 86,{
switch(select("As many as I can.:I want a certain amount.:Cancel.")) {
case 1:
set .@make,countitem(.@fruit);
+ if (countitem(713) < .@make) set .@make, countitem(713);
+ if (Zeny/3 < .@make) set .@make, Zeny/3;
break;
case 2:
mes "[Merchant Marx Hansen]";