summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-17 18:24:38 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-17 18:24:38 -0300
commitf70e0a879232cc2645ddb6e53ea1634316aa92a8 (patch)
tree1b5e2e1889e55abaf41fc7dcd979ef12136b3a53 /npc/functions/util.txt
parent1268a46c73ee0ffa618748794e2f02224e143d94 (diff)
downloadserverdata-f70e0a879232cc2645ddb6e53ea1634316aa92a8.tar.gz
serverdata-f70e0a879232cc2645ddb6e53ea1634316aa92a8.tar.bz2
serverdata-f70e0a879232cc2645ddb6e53ea1634316aa92a8.tar.xz
serverdata-f70e0a879232cc2645ddb6e53ea1634316aa92a8.zip
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)
Diffstat (limited to 'npc/functions/util.txt')
-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
}