summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-11 16:34:27 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-11 16:34:27 -0300
commit1b17a5cfd352f1613584a403f049e3aad5210755 (patch)
tree2a0b854bbcba7df2d239746345cd9b83ff26fb8b
parentae7077b04bbd9254e952363650063ecb5091da7a (diff)
downloadserverdata-1b17a5cfd352f1613584a403f049e3aad5210755.tar.gz
serverdata-1b17a5cfd352f1613584a403f049e3aad5210755.tar.bz2
serverdata-1b17a5cfd352f1613584a403f049e3aad5210755.tar.xz
serverdata-1b17a5cfd352f1613584a403f049e3aad5210755.zip
Warn if you try to go to Tulimshar under 50% Candor Quest completion
-rw-r--r--npc/002-3/nard.txt8
-rw-r--r--npc/functions/util.txt6
2 files changed, 11 insertions, 3 deletions
diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt
index d32f6d22c..24f300405 100644
--- a/npc/002-3/nard.txt
+++ b/npc/002-3/nard.txt
@@ -197,6 +197,14 @@ L_NotYet:
mesc l("NOTE: It is possible to play the game as a crafter/merchant/fisherman, avoiding to kill as much as possible. However, it is not possible to play the game with a total kill count of zero.");
close;
}
+ // If you did less than 50% Candor quests, please be warned.
+ if (reputation("Candor") < 50) {
+ mesc l("WARNING: You have done less than 50% of Candor Quests!"), 1;
+ mesc l("It may be expensive to return here. Are you sure?"), 1;
+ next;
+ if (askyesno() == ASK_NO)
+ close;
+ }
if (Zeny >= .@price) {
inventoryplace TulimMap, 1;
mesq l("Ten, fifty, thousand... Yep, this is the amount I've asked for.");
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index df4cc8463..d97a7c9b6 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -142,7 +142,7 @@ function script nard_reputation {
function script reputation {
.@nr=0; // Base reputation
- // Tulimshar Quests (14 points)
+ // Tulimshar Quests (16 points)
if (getarg(0) == "Tulim") {
// Eugene Quest (+1 rep)
if (getq(TulimsharQuests_Fishman) >= 2)
@@ -309,7 +309,7 @@ function script reputation {
- // Nivalis Quests (2 points)
+ // Nivalis Quests (6 points)
} else if (getarg(0) == "Nival") {
// Nivalis Well Quest (+1 rep)
@@ -397,7 +397,7 @@ function script reputation {
- // Candor Quests (9 points)
+ // Candor Quests (10 points)
} else if (getarg(0) == "Candor") {
// Valon Quest (+1 rep)