From 6ebb76b4b457e35901e4a7c1d9dcd64c095e159b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Jun 2018 09:30:34 -0300 Subject: Farmers are complete, only the final node of the quest is missing. --- npc/012-1/hinnak.txt | 24 +++++++---- npc/014-3/oscar.txt | 114 +++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 125 insertions(+), 13 deletions(-) diff --git a/npc/012-1/hinnak.txt b/npc/012-1/hinnak.txt index 5297ee61d..9443a2f4b 100644 --- a/npc/012-1/hinnak.txt +++ b/npc/012-1/hinnak.txt @@ -10,12 +10,15 @@ mesn; if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, if it isn't @@? You're the talk of the town!", $MOST_HEROIC$); if (strcharinfo(0) == $MOST_HEROIC$) next; + if (.@q1 == 0) goto L_Start; if (.@q1 == 1) goto L_Check; - if (.@q1 > 2) goto L_Oscar; + if (.@q1 == 4) goto L_Letter; + if (.@q1 == 5) goto L_Thanks; + mesq l("Maybe you could now help my friend Oscar. His farm is west of here."); + close; L_Start: - mesn; - mesq l("I hate you Pinkies, and I hate you Monster King too, for bringing forth these plagues!!"); + mesq l("I hate you Pinkies, and I hate the Monster King too, for bringing forth these plagues!!"); next; mesn strcharinfo(0); mes col("The farmer seems mad and in need of help. Will you help him?", 9); @@ -55,7 +58,6 @@ L_Weak: close; L_Check: - mesn; mesq l("Hey, how is the monster extermination going?"); next; mesn; @@ -72,14 +74,14 @@ L_Check: mesq l("Go kill them!!"); next; menu - rif (.@q2 >= 210 && countitem(PinkAntenna) >= 10, l("No, I insist, keep the Antennas as a trophy.")), L_MegaHelp, + rif (.@q2 >= 210 && countitem(PinkAntenna) >= 10, l("No, I insist, keep the Antennas as a trophy.")), L_RealHelp, rif (.@q2 >= 210 && countitem(PinkAntenna) < 10, l("Thanks, they don't like to drop their Antennas.")), L_TrueHelp, rif (.@q2 >= 100 && .@q2 < 210 && countitem(PinkAntenna) >= 10, l("Here are the Antennas.")), L_Help, rif (.@q2 < 100 && countitem(PinkAntenna) >= 10, l("Here are the Antennas.")), L_NoKill, l("I'm not done yet. I'll be back."), -; close; -L_MegaHelp: +L_RealHelp: delitem PinkAntenna, 10; getexp 1600, 60; Zeny=Zeny+2500; @@ -119,11 +121,15 @@ L_NoKill: mesq l("The antennas by themselves mean nothing, I want to see you killing my ENEMIES, the pinkies!"); close; -L_Oscar: - mesq l("Maybe you could now help my friend Oscar. His farm is west of here."); +L_Letter: + mesq l("You're the savior of Hurnscald crops. Half from the world would die from famine, weren't for you."); + next; + mesn; + mesq l("Hinnak and I signed this letter. Deliver it to Airlia on the Town Hall, and she'll reward you correctly."); close; -L_Close: +L_Thanks: + mesq l("Many thanks for all the help!"); close; OnInit: diff --git a/npc/014-3/oscar.txt b/npc/014-3/oscar.txt index a68f459a7..2a335b345 100644 --- a/npc/014-3/oscar.txt +++ b/npc/014-3/oscar.txt @@ -10,14 +10,120 @@ mesn; if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, if it isn't @@? You're the talk of the town!", $MOST_HEROIC$); if (strcharinfo(0) == $MOST_HEROIC$) next; - if (.@q1 < 2) goto L_Hinnak; + if (.@q1 == 2) goto L_Hello; + if (.@q1 == 3) goto L_Check; + if (.@q1 == 4) goto L_Letter; + if (.@q1 == 5) goto L_Thanks; - -L_Hinnak: mesq l("Don't bother me, I'm busy right now. Since the Monster King left, I barely got a night of rest..."); close; -L_Close: +L_Hello: + mesq l("Ah! @@! I heard you helped Hinnak with his Pinkies problem!", strcharinfo(0)); + next; + mesn; + mesq l("Wouldn't you like to help me too?"); + if (askyesno() != ASK_YES) { + mesq l("Sorry, I have to go."); + close; + } + next; + mesn; + mesq l("Great! Excellent! Because I am also diving in problems!!"); + next; + if (readparam(bAgi) < 30) goto L_Slow; + if (BaseLevel < 20) goto L_Weak; + mesn; + // Est. kill 400 Pinkies + mesq l("I hate so many the Pinkies on my fields, I want to do a soup! Can you provide me 10 @@? Many thanks.", getitemlink(PinkieLeg)); + setq HurnscaldQuest_Farmers, 3, 0; + close; + +L_Slow: + mesn; + mesq l("But you're too slow. Sorry."); + close; + +L_Weak: + mesn; + mesq l("But you're too weak. Sorry."); + close; + +L_Check: + mesq l("Hey, how is the monster extermination going?"); + next; + mesn; + // You in average need to kill 400 Pinkies. But ya killed 200~250 previously. You get this bonus for not leaving the fields. + if (.@q2 >= 250) + mesq l("You killed so many Pinkies! My wife and I love you!"); + else if (.@q2 >= 200) + mesq l("You are doing GREAT! Keep slaying them, hahaah!"); + else if (.@q2 >= 150) + mesq l("I see you are doing good. Keep slaying them, hahaah!"); + else if (.@q2 >= 100) + mesq l("Good job, you already killed over 100! Hahah, that sure teach them a lesson!"); + else if (.@q2 >= 50) + mesq l("Yeah, teach them a lesson! Keep going!"); + else + mesq l("Go kill them!!"); + next; + menu + rif (.@q2 >= 250 && countitem(PinkieLeg) >= 10, l("Today is soup of Pinkie Legs!")), L_RealHelp, + rif (.@q2 >= 250 && countitem(PinkieLeg) < 10, l("Thanks, they hate to drop their Legs.")), L_TrueHelp, + rif (.@q2 >= 100 && .@q2 < 250 && countitem(PinkieLeg) >= 10, l("Here are the Pinkie Legs.")), L_Help, + rif (.@q2 < 100 && countitem(PinkieLeg) >= 10, l("Here are the Pinkie Legs.")), L_NoKill, + l("I'm not done yet. I'll be back."), -; + close; + +L_RealHelp: + delitem PinkieLeg, 10; + getexp 1600, 60; + Zeny=Zeny+5000; + setq HurnscaldQuest_Farmers, 4, 0; + mes ""; + mesn; + mesq l("Waw! You really did it, you're the savior of my farm!! You have my eternal gratitute. Here is 5000 GP for your troubles!"); + close; + +L_TrueHelp: + mes ""; + mesn; + mesq l("I know how hard it is! I hate them with all my heart, only seeing you killing them left and right was GREAT!"); + next; + getexp 1000, 0; + Zeny=Zeny+2500; + setq HurnscaldQuest_Farmers, 4, 0; + mesn; + mesq l("You have my eternal gratitute. Here is 2500 GP for your troubles."); + close; + +L_Help: + delitem PinkieLeg, 10; + getexp 1100, 0; + Zeny=Zeny+2000; + setq HurnscaldQuest_Farmers, 4, 0; + mes ""; + mesn; + mesq l("Many thanks. You have my eternal gratitute. Here is 2000 GP for your troubles."); + close; + +L_NoKill: + mesn; + mesq l("Ahahahah, do you really think I'll accept legs if you don't help me cleaning my fields?"); + next; + mesn; + mesq l("Kill at least a hundred of Pinkies here, and then we can talk."); + close; + +L_Letter: + mesq l("You're the savior of Hurnscald crops. Half from the world would die from famine, weren't for you."); + next; + mesn; + mesq l("Hinnak and I signed this letter. Deliver it to Airlia on the Town Hall, and she'll reward you correctly."); + close; + +L_Thanks: + mesq l("Many thanks for all the help!"); close; OnKillPinkie: -- cgit v1.2.3-60-g2f50