summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 5449ca97a..509d4bd15 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -37,7 +37,7 @@ function script season_direction {
}
// Returns Nard reputation for discounts
-// Currently ranges from 0 to 12.
+// Currently ranges from 0 to 15.
function script nard_reputation {
.@nr=0; // Base reputation
@@ -85,10 +85,23 @@ function script nard_reputation {
if (getq(ShipQuests_Peter) == 3 || getq(ShipQuests_Peter) == 5)
.@nr=.@nr+1;
+ // Tulimshar Quests
// Swezanne Quest (+1 rep)
if (getq(TulimsharQuest_Swezanne) >= 1)
.@nr=.@nr+1;
+ // Sailors Quest (+1 rep)
+ if (getq(TulimsharQuest_Sailors) >= 2)
+ .@nr=.@nr+1;
+
+ // Hasan Quest (+1 rep)
+ if (getq(TulimsharQuest_Hasan) >= 5)
+ .@nr=.@nr+1;
+
+ // Dausen Quest (+1 rep)
+ if (getq(TulimsharQuest_WaterForGuard) >= 3)
+ .@nr=.@nr+1;
+
//debugmes "Reputation: "+str(.@nr);
return .@nr;