summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-22 18:11:10 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-22 18:11:10 -0300
commitf6aa539309218be5cfbc2cf5cae4e6e5cb94de4c (patch)
tree699db5786239f83ad395fb14aaefb503d1746c36 /npc/functions
parent8a93d1ecdf1cd88e53bd8345b354b76c1dd6566f (diff)
downloadserverdata-f6aa539309218be5cfbc2cf5cae4e6e5cb94de4c.tar.gz
serverdata-f6aa539309218be5cfbc2cf5cae4e6e5cb94de4c.tar.bz2
serverdata-f6aa539309218be5cfbc2cf5cae4e6e5cb94de4c.tar.xz
serverdata-f6aa539309218be5cfbc2cf5cae4e6e5cb94de4c.zip
Adjust travel prices Tulim<->Hurns. Move file.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt21
1 files changed, 16 insertions, 5 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index c7a9c3c90..9b2e106ac 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -124,7 +124,7 @@ function script marine_maxre {
function script marine_reputation {
.@nr=0; // Base reputation
- // Tulimshar Quests (10 points)
+ // Tulimshar Quests (12 points)
if (getarg(0) == "Tulim") {
// Swezanne Quest (+1 rep)
if (getq(TulimsharQuest_Swezanne) >= 1)
@@ -168,17 +168,20 @@ function script marine_reputation {
if (getq(TulimsharQuest_DarkInvocator) >= 7)
.@nr=.@nr+1;
- /*
// Anwar Quest (+1 rep)
- if (getq(TulimsharQuest_AnwarField) >= 99)
+ if (getq(TulimsharQuest_AnwarField) >= 10)
.@nr=.@nr+1;
- */
// Tycoon Quest (+1 rep)
if (getq(MineQuest_Tycoon) >= 15)
.@nr=.@nr+1;
- // Hurnscald Quests (3 points)
+ // Neko Quest (+1 rep)
+ if (getq(TulimsharQuest_Neko) >= 2)
+ .@nr=.@nr+1;
+
+
+ // Hurnscald Quests (5 points)
} else if (getarg(0) == "Hurns") {
// Alan Quest (+1 rep)
@@ -193,6 +196,14 @@ function script marine_reputation {
if (getq(HurnscaldQuest_TeaParty) >= 2)
.@nr=.@nr+1;
+ // Farmers Quest (+1 rep)
+ if (getq(HurnscaldQuest_Farmers) >= 5)
+ .@nr=.@nr+1;
+
+ // Helena Quest (+1 rep)
+ if (getq(HurnscaldQuest_Bandits) >= 8)
+ .@nr=.@nr+1;
+
}
//debugmes "Reputation: "+str(.@nr);