summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt42
1 files changed, 25 insertions, 17 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 3eee8cac3..99d60da5d 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -87,30 +87,22 @@ function script nard_reputation {
function script reputation {
.@nr=0; // Base reputation
- // Tulimshar Quests (12 points)
+ // Tulimshar Quests (14 points)
if (getarg(0) == "Tulim") {
- // Swezanne Quest (+1 rep)
- if (getq(TulimsharQuest_Swezanne) >= 1)
- .@nr=.@nr+1;
-
- // Sailors Quest (+1 rep)
- if (getq(TulimsharQuest_Sailors) >= 2)
+ // Eugene Quest (+1 rep)
+ if (getq(TulimsharQuests_Fishman) >= 2)
.@nr=.@nr+1;
- // Hasan Quest (+1 rep)
- if (getq(TulimsharQuest_Hasan) >= 5)
+ // Sarah Quest (+1 rep)
+ if (getq(TulimsharQuest_Sarah) >= 1)
.@nr=.@nr+1;
// Dausen Quest (+1 rep)
if (getq(TulimsharQuest_WaterForGuard) >= 3)
.@nr=.@nr+1;
- // Eugene Quest (+1 rep)
- if (getq(TulimsharQuests_Fishman) >= 2)
- .@nr=.@nr+1;
-
- // Sarah Quest (+1 rep)
- if (getq(TulimsharQuest_Sarah) >= 1)
+ // Swezanne Quest (+1 rep)
+ if (getq(TulimsharQuest_Swezanne) >= 1)
.@nr=.@nr+1;
// Silvia Quest (+1 rep)
@@ -123,10 +115,18 @@ function script reputation {
.@nr=.@nr+1;
*/
+ // Hasan Quest (+1 rep)
+ if (getq(TulimsharQuest_Hasan) >= 5)
+ .@nr=.@nr+1;
+
// Devoir Quest (+1 rep)
if (getq(TulimsharQuest_Devoir) >= 1)
.@nr=.@nr+1;
+ // Sailors Quest (+1 rep)
+ if (getq(TulimsharQuest_Sailors) >= 2)
+ .@nr=.@nr+1;
+
// Zarkor Quest (+1 rep)
if (getq(TulimsharQuest_DarkInvocator) >= 7)
.@nr=.@nr+1;
@@ -135,12 +135,20 @@ function script reputation {
if (getq(TulimsharQuest_AnwarField) >= 10)
.@nr=.@nr+1;
+ // Neko Quest (+1 rep)
+ if (getq(TulimsharQuest_Neko) >= 2)
+ .@nr=.@nr+1;
+
// Tycoon Quest (+1 rep)
if (getq(MineQuest_Tycoon) >= 15)
.@nr=.@nr+1;
- // Neko Quest (+1 rep)
- if (getq(TulimsharQuest_Neko) >= 2)
+ // Dracoula Quest (+1 rep)
+ if (getq(MineQuest_Dracoula) >= 1)
+ .@nr=.@nr+1;
+
+ // Caelum Quest (+1 rep)
+ if (getq(MineQuest_Caelum) >= 2)
.@nr=.@nr+1;