From f70e0a879232cc2645ddb6e53ea1634316aa92a8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Sep 2018 18:24:38 -0300 Subject: Update Elmo and Nard and stuff because Rosen new quest (and try to correct some broken english, but that's a job for @demure not me) --- npc/002-4/elmo.txt | 11 ++++++++++- npc/002-4/nard.txt | 10 +++++----- npc/005-4/rosen.txt | 2 +- npc/functions/util.txt | 15 ++++++++++++--- 4 files changed, 28 insertions(+), 10 deletions(-) (limited to 'npc') diff --git a/npc/002-4/elmo.txt b/npc/002-4/elmo.txt index fbf071842..2f7ea7037 100644 --- a/npc/002-4/elmo.txt +++ b/npc/002-4/elmo.txt @@ -67,6 +67,11 @@ L_Candor: if (.@q < 4) mes l("- There is a woman walking on the island, called Maya. Once she realises you're willing to help, she'll start paying well."); + // Rosen Quest + .@q=getq(CandorQuest_Rosen); + if (.@q < 3) + mes l("- The weapon seller, Rosen, wanted to help new players to improve their equipment."); + // Ship Quests .@q1=getq(ShipQuests_Dan); .@q2=getq(ShipQuests_ChefGado); @@ -78,7 +83,11 @@ L_Candor: // discounts, and how much work is left to do. Some points are easy/required to get (eg. Dan, Peter, HAS, etc.) close2; .@n=nard_reputation(); - if (.@n >= 11) + if (.@n >= 15) + npctalk3 l("Nard is truly amazed at you. I am impressed, too."); + else if (.@n >= 13) + npctalk3 l("Nard is amazed at you."); + else if (.@n >= 11) npctalk3 l("Nard is very impressed, you're really a hard worker. Congrats!"); else if (.@n >= 9) npctalk3 l("Nard is impressed, you're a hard worker."); diff --git a/npc/002-4/nard.txt b/npc/002-4/nard.txt index 1b2568c3a..d869bab3b 100644 --- a/npc/002-4/nard.txt +++ b/npc/002-4/nard.txt @@ -207,15 +207,15 @@ L_NotYet: close; L_Travel: - if (nard_reputation() >= 14) + if (nard_reputation() >= 15) .@price-=1250; - if (nard_reputation() >= 12) + else if (nard_reputation() >= 13) .@price-=1000; - else if (nard_reputation() >= 10) + else if (nard_reputation() >= 11) .@price-=750; - else if (nard_reputation() >= 8) + else if (nard_reputation() >= 9) .@price-=500; - else if (nard_reputation() >= 6) + else if (nard_reputation() >= 7) .@price-=250; mesn; mesq l("Hi @@.", strcharinfo(0)); diff --git a/npc/005-4/rosen.txt b/npc/005-4/rosen.txt index 7c6a26888..4a3c58505 100644 --- a/npc/005-4/rosen.txt +++ b/npc/005-4/rosen.txt @@ -73,7 +73,7 @@ L_Gloves: } else if (.@q == 1) { mesq l("You didn't mine enough @@. The perfect spot is at northeast of this island. It takes a while to them respawn, so don't hurry.", getmonsterlink(DiamondBif)); } else if (.@q == 2) { - mesq l("Wow! those pity gloves aren'st made for mining. They're almost ruined!"); + mesq l("Wow! Those pitiable gloves sure weren't made for mining. They're almost ruined!"); mesq l("Here, take this @@. It will be better suited!", getitemlink(CandorGloves)); inventoryplace CandorGloves, 1; getexp 30, 5; diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 969835770..9fe0905fd 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -7,7 +7,7 @@ // Returns Nard reputation for discounts -// Currently ranges from 0 to 15. +// Currently ranges from 0 to 16. function script nard_reputation { .@nr=0; // Base reputation @@ -43,6 +43,11 @@ function script nard_reputation { if (getq(CandorQuest_Maya) >= 4) .@nr=.@nr+1; + // Rosen Quest (+1 rep) + if (getq(CandorQuest_Rosen) >= 3) + .@nr=.@nr+1; + + // Ship Crew Quests // Dan Quest (+1 rep) if (getq(ShipQuests_Dan) >= 3) .@nr=.@nr+1; @@ -166,11 +171,11 @@ function script reputation { - // Land Of Fire Quests (3 points) + // Land Of Fire Quests (4 points) } else if (getarg(0) == "LoF") { // The EPISODE (+1 rep) - if (getq(LoFQuest_EPISODE) >= 2) + if (getq(LoFQuest_EPISODE) >= 6) .@nr=.@nr+1; // George Quest (+1 rep) @@ -181,6 +186,10 @@ function script reputation { if (getq(LoFQuest_Fairy) >= 3) .@nr=.@nr+1; + // Pet Detective Quest (+1 rep) + if (getq(LoFQuest_Pets) >= 1) + .@nr=.@nr+1; + // Final } -- cgit v1.2.3-70-g09d2