diff options
-rw-r--r-- | npc/002-4/nard.txt | 10 | ||||
-rw-r--r-- | npc/functions/util.txt | 15 |
2 files changed, 20 insertions, 5 deletions
diff --git a/npc/002-4/nard.txt b/npc/002-4/nard.txt index 982c0cf27..a205b0ee6 100644 --- a/npc/002-4/nard.txt +++ b/npc/002-4/nard.txt @@ -164,13 +164,15 @@ L_NotYet: close; L_Travel: - if (nard_reputation() >= 11) + if (nard_reputation() >= 14) + .@price-=1250; + if (nard_reputation() >= 12) .@price-=1000; - else if (nard_reputation() >= 9) + else if (nard_reputation() >= 10) .@price-=750; - else if (nard_reputation() >= 7) + else if (nard_reputation() >= 8) .@price-=500; - else if (nard_reputation() >= 5) + else if (nard_reputation() >= 6) .@price-=250; mesn; mesq l("Hi @@.", strcharinfo(0)); diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 5449ca97a..509d4bd15 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -37,7 +37,7 @@ function script season_direction { } // Returns Nard reputation for discounts -// Currently ranges from 0 to 12. +// Currently ranges from 0 to 15. function script nard_reputation { .@nr=0; // Base reputation @@ -85,10 +85,23 @@ function script nard_reputation { if (getq(ShipQuests_Peter) == 3 || getq(ShipQuests_Peter) == 5) .@nr=.@nr+1; + // Tulimshar Quests // Swezanne Quest (+1 rep) if (getq(TulimsharQuest_Swezanne) >= 1) .@nr=.@nr+1; + // Sailors Quest (+1 rep) + if (getq(TulimsharQuest_Sailors) >= 2) + .@nr=.@nr+1; + + // Hasan Quest (+1 rep) + if (getq(TulimsharQuest_Hasan) >= 5) + .@nr=.@nr+1; + + // Dausen Quest (+1 rep) + if (getq(TulimsharQuest_WaterForGuard) >= 3) + .@nr=.@nr+1; + //debugmes "Reputation: "+str(.@nr); return .@nr; |