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/functions/util.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'npc/functions/util.txt') 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-60-g2f50