From 1b17a5cfd352f1613584a403f049e3aad5210755 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Sun, 11 Aug 2019 16:34:27 -0300
Subject: Warn if you try to go to Tulimshar under 50% Candor Quest completion

---
 npc/002-3/nard.txt     | 8 ++++++++
 npc/functions/util.txt | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

(limited to 'npc')

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)
-- 
cgit v1.2.3-70-g09d2