summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/014-5-1/sagratha.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt
index f59e277c9..7abcd392b 100644
--- a/npc/014-5-1/sagratha.txt
+++ b/npc/014-5-1/sagratha.txt
@@ -2,7 +2,7 @@
// Authors:
// Jesusalva
// Description:
-// Sagratha
+// Sagratha (variables SAGRATHA_SCORE and SAGRATHA_FRIENDSHIP)
// SaggyScoreUpdate( amount )
function script SaggyScoreUpdate {
@@ -67,11 +67,11 @@ function script SaggyMobCount {
mesn;
- if (.@good >= 2)
+ if (SAGRATHA_FRIENDSHIP >= 2)
mesc l("@@ nods as she notices you.", .name$);
- if (.@good == 1)
+ else if (SAGRATHA_FRIENDSHIP == 1)
mesc l("@@ raises an eyebrow as you address her.", .name$);
- if (.@good == 0)
+ else
mesc l("@@ glances at you, suspicion evident in her eyes.", .name$);
mesq l("Hello.");
@@ -86,7 +86,6 @@ function script SaggyMobCount {
// TODO: Learn Magic
// TODO: Request help with stuff (eg. protecting mouboos?)
// TODO: Get Mouboo Milk :>
- // TODO: Maybe never update her score with kills and make her more pacifist?
close;
@@ -127,6 +126,7 @@ L_Finish:
getitem AlchemyBlueprintB, 1;
getexp 24000, 0; // ~70% from level 40 (quest estimate level)
Zeny+=3000; // About 50 carps sold
+ SAGRATHA_FRIENDSHIP+=1;
setq HurnscaldQuest_Sagratha, 7;
close;
@@ -178,6 +178,7 @@ L_Reward:
mesn;
mesq l("It's my duty to protect the beings in the forest... Not all of them are monsters as @@s like you think.", get_race());
compareandsetq HurnscaldQuest_InjuriedMouboo, 3;
+ SAGRATHA_FRIENDSHIP+=1;
close;
L_HatAttack: