diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 13:33:57 -0300 |
commit | cf18ce071c79ae37e14ea38943e0b1d88da70a7b (patch) | |
tree | f9159c9b60b3018300dd22ffba0d797bc5e828e5 /npc/001-2-22/chefgado.txt | |
parent | 8a4bf716002a017de77fe7df301ef8e4aaf00a2e (diff) | |
download | serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.gz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.bz2 serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.tar.xz serverdata-cf18ce071c79ae37e14ea38943e0b1d88da70a7b.zip |
Override
Diffstat (limited to 'npc/001-2-22/chefgado.txt')
-rw-r--r-- | npc/001-2-22/chefgado.txt | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/npc/001-2-22/chefgado.txt b/npc/001-2-22/chefgado.txt deleted file mode 100644 index ae95d408..00000000 --- a/npc/001-2-22/chefgado.txt +++ /dev/null @@ -1,112 +0,0 @@ -// Evol scripts. -// Authors: -// Hal9000 -// Qwerty Dragon -// Reid -// Description: -// La Johanne Chef. - -001-2-22,27,28,0 script Chef Gado#Artis NPC_CHEF_GADO,{ - function foodQuest; - - .@r = rand(3); - if (.@r == 0) npctalk3 l("What are you doing in my kitchen?! Get out, it's not a place for kids!"); - if (.@r == 1) npctalk3 l("Where is the damn salt?! Give me the salt, I know you have it!"); - if (.@r == 2) npctalk3 l("Are you going to stand here all day long? Do the dishes or go away."); - - if (getq(General_SmearedHands) < 3) - foodQuest(); - close; - -function foodQuest { - .@q=getq(General_SmearedHands); - mesc l("%s seems busy as usual.", l("Chef Gado")); - select - l("I'll get moving, sorry!"), - //rif(.@r == 1 && countitem(Salt), l("Offer him the salt")), - l("Can you teach me cooking?"); - mes ""; - if (@menu == 1) - return; - // FOOD QUEST: BEGIN - .@ally=(getq(ShipQuests_ChefGado) == 4); // TRUE if you helped Gado - mesn; - mesq (.@ally ? l("I suppose I could. You helped me, after all.") : l("Why should I help you, traitor?")); - next; - // Empty Bowl needed - if (!countitem(EmptyBowl)) { - mesn; - mesq l("Anyway: First, you'll need an %s. %s", getitemlink(EmptyBowl), - (.@ally ? l("Cannot get one here in Artis, though. Well, if you travel far enough...") : l("Stop wasting my time!"))); - return; - } - // Recipe Book needed - if (!countitem(RecipeBook)) { - mesn; - mesq l("Anyway: First, you'll need a %s. You cannot cook without that. So go find one!", getitemlink(RecipeBook)); - next; - mesn; - mesq l("These books are annoyingly expensive, but maybe you have luck elsewhere. I'm sure some housewife could give you one for helping her husband..."); - next; - mesn; - mesq l("That's how I got mine, anyway."); - next; - mesn; - mesq l("Some nice lady called Ya... Micksha? No, it was not Yamicksha... For the life of me, I can't remember..."); - // FIXME: I'm ignoring that unpractical plot in favor of clarity - return; - } - - // Quest Loop - if (.@q == 0) { - mesn; - mesq l("You got a bowl, I see. You won't be finding another one, so be careful with that."); - next; - // Will only learn Sailor Stew Recipe if helped Gado instead Julia - if (.@ally) { - mesn; - mesq l("Now, watch and learn: The Sailor Stew Recipe!"); - mesc l("Learned %s recipe!", getitemlink(SailorStew)), 2; - RECIPES[CraftSailorStew]=true; - next; - } else if (!RECIPES[CraftSailorStew]) { - // They requested for a neutral approach because Julia - mesn; - mesq l("I will teach you %s... But for you, it will be %s E.", - getitemlink(SailorStew), format_number(5000)); - if (Zeny < 5000) - return; - next; - mesc l("Pay Chef Gado the gold?"); - if (askyesno() == ASK_NO || Zeny < 5000) - return; - mesn; - mesq l("Now, watch and learn: The Sailor Stew Recipe!"); - mesc l("Learned %s recipe!", getitemlink(SailorStew)), 2; - RECIPES[CraftSailorStew]=true; - Zeny-=5000; - next; - } - setq General_SmearedHands, 1; - .@q = 1; - mesn; - mesq l("Anyway, for the recipe, just add a few carps, carrots, manana, and roasted acorn in this order."); - next; - } - if (.@q == 1 || .@q == 2) { - mesn; - mesq l("Now, your next task is: I've heard rumors... About some delicious food, like %s...", getitemlink(any(BarbecuePlate, VeggiePlate))); - next; - mesn; - mesq l("They're related to Mouboos, but Artis cuisine is the worst. Go find the recipes!!"); - next; - } - mesn; - mesq l("Get moving!"); - return; -} - -OnInit: - .distance = 4; - end; -} |