summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt15
1 files changed, 12 insertions, 3 deletions
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
}