summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/003-2/estard.txt9
-rw-r--r--npc/functions/util.txt42
2 files changed, 47 insertions, 4 deletions
diff --git a/npc/003-2/estard.txt b/npc/003-2/estard.txt
index 8df4e477a..bec9469f0 100644
--- a/npc/003-2/estard.txt
+++ b/npc/003-2/estard.txt
@@ -15,10 +15,11 @@
function create_party {
.@party_price = 6500;
- .@party_price-=reputation("Tulim")*3;
- .@party_price-=reputation("Hurns")*3;
- .@party_price-=reputation("Nival")*3;
- .@party_price-=reputation("LoF")*3;
+ .@party_price-=reputation("Tulim")*5;
+ .@party_price-=reputation("Hurns")*5;
+ .@party_price-=reputation("Nival")*5;
+ .@party_price-=reputation("Halin")*5;
+ .@party_price-=reputation("LoF")*5;
speech S_FIRST_BLANK_LINE | S_LAST_NEXT,
l("Creating a party has some advantages, it's a pretty good choice!"),
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
}