summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-09-23 19:44:43 -0300
committerJesusaves <cpntb1@ymail.com>2021-09-23 19:44:43 -0300
commit1654193deeaa35bb079cf83118497e1ef67d0a54 (patch)
treef7f02df95d166e63edddf3acb85c2fedd955e3ac
parent1e49fb39295ba1c3cd1fbcf0271bcc472e9e2241 (diff)
downloadserverdata-1654193deeaa35bb079cf83118497e1ef67d0a54.tar.gz
serverdata-1654193deeaa35bb079cf83118497e1ef67d0a54.tar.bz2
serverdata-1654193deeaa35bb079cf83118497e1ef67d0a54.tar.xz
serverdata-1654193deeaa35bb079cf83118497e1ef67d0a54.zip
(NetSysFire) Training with Peter now yields job exp. He gives 50 GP every 3 attempts.
Also, it includes the [Cap] quest, so one unreleased hat is now available.
-rw-r--r--npc/002-1/peter.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/npc/002-1/peter.txt b/npc/002-1/peter.txt
index 663d51add..0d5af2fd2 100644
--- a/npc/002-1/peter.txt
+++ b/npc/002-1/peter.txt
@@ -198,7 +198,7 @@ OnStartOutside:
setq2 ShipQuests_Peter, 0;
setq3 ShipQuests_Peter, .@INSTID;
- // It'll be self-destroyed when time runs out (2 minutes)
+ // It'll be self-destroyed when time runs out (3 minutes)
instance_set_timeout(180, 180, .@INSTID);
instance_init(.@INSTID);
@@ -268,6 +268,21 @@ OnDone:
} else {
mesn;
mesq l("Good job!") + " " + l("Thanks for helping!");
+ getexp 0, (JobLevel > 6 ? (15+JobLevel) : 4);
+ PETER_REPEAT += 1
+
+ // Every 3 repeats (10 minutes) gives you 50 GP
+ if (PETER_REPEAT % 3 == 0) {
+ Zeny += 50;
+ mesq l("It is not much, but here is %d GP. Should buy you a snack!", 50);
+ }
+
+ // Special bonus (but unlike Kreist, this one is decorative only)
+ // (Takes about 6 hours non-stop to obtain)
+ if (PETER_REPEAT == 100) {
+ mesq l("I'm moved to tears by your dedication to help us. Unrewarded, even. Here, have this rare %s. For free!", getitemlink(Cap));
+ getitem Cap, 1;
+ }
}
deltimer("Peter::OnLowTime");
deltimer("Peter::OnTimeout");