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.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 01a436a94..dfa178db5 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -214,6 +214,11 @@ function script reputation {
.@nr=.@nr*100/15;
+
+
+
+
+
// Hurnscald Quests (7 points)
} else if (getarg(0) == "Hurns") {
@@ -249,6 +254,11 @@ function script reputation {
.@nr=.@nr*100/7;
+
+
+
+
+
// Land Of Fire Quests (5 points)
} else if (getarg(0) == "LoF") {
@@ -295,6 +305,38 @@ function script reputation {
.@nr=.@nr*100/2;
+
+
+
+
+
+ // Halinarzo Quests (5 points)
+ } else if (getarg(0) == "Halin") {
+
+ // Foxhound Famine Quest (+1 rep)
+ if (getq(HalinarzoQuest_Foxhound) >= 6)
+ .@nr=.@nr+1;
+
+ // Charles Quest (+1 rep)
+ if (getq(HalinarzoQuest_TraderKing) >= 2)
+ .@nr=.@nr+1;
+
+ // Joaquim & Yumi Quest (+1 rep)
+ if (getq(HalinarzoQuest_SickWife) >= 5)
+ .@nr=.@nr+1;
+
+ // Life Delight Quest (+1 rep)
+ if (getq(HalinarzoQuest_LifeDelight) >= 2)
+ .@nr=.@nr+1;
+
+ // Sawis Quest (+1 rep)
+ if (getq(HalinarzoQuest_Sawis) >= 2)
+ .@nr=.@nr+1;
+
+ // HALINARZO Magical Forumula
+ .@nr=.@nr*100/5;
+
+
// Final
}