summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-15 18:31:39 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-15 18:31:39 -0300
commit5fbaf0b7f36072140037407d398ce30f56338e12 (patch)
treee56be8bdc336423ec40ec85a1c9978f8b85d0307
parent6d019fbe3bc0329e933af2c1984ac15e8a1cdd71 (diff)
downloadserverdata-5fbaf0b7f36072140037407d398ce30f56338e12.tar.gz
serverdata-5fbaf0b7f36072140037407d398ce30f56338e12.tar.bz2
serverdata-5fbaf0b7f36072140037407d398ce30f56338e12.tar.xz
serverdata-5fbaf0b7f36072140037407d398ce30f56338e12.zip
Report number of killed Pinkies per John H request (only each 10 kills on quest)
-rw-r--r--npc/012-1/hinnak.txt5
-rw-r--r--npc/014-3/oscar.txt5
2 files changed, 8 insertions, 2 deletions
diff --git a/npc/012-1/hinnak.txt b/npc/012-1/hinnak.txt
index 088b0c866..c9620b34c 100644
--- a/npc/012-1/hinnak.txt
+++ b/npc/012-1/hinnak.txt
@@ -43,8 +43,11 @@ L_Start:
OnKillPinkie:
.@q1=getq(HurnscaldQuest_Farmers);
.@q2=getq2(HurnscaldQuest_Farmers);
- if (.@q1 == 1)
+ if (.@q1 == 1) {
setq2 HurnscaldQuest_Farmers, .@q2+1;
+ if (! (.@q2+1) % 10)
+ dispbottom l("@@ pinkies killed on @@'s field.", .@q2+1, l("Oscar"));
+ }
end;
L_Slow:
diff --git a/npc/014-3/oscar.txt b/npc/014-3/oscar.txt
index db71cafb9..47c7e249f 100644
--- a/npc/014-3/oscar.txt
+++ b/npc/014-3/oscar.txt
@@ -131,8 +131,11 @@ L_Thanks:
OnKillPinkie:
.@q1=getq(HurnscaldQuest_Farmers);
.@q2=getq2(HurnscaldQuest_Farmers);
- if (.@q1 == 3)
+ if (.@q1 == 3) {
setq2 HurnscaldQuest_Farmers, .@q2+1;
+ if (! (.@q2+1) % 10)
+ dispbottom l("@@ pinkies killed on @@'s field.", .@q2+1, l("Oscar"));
+ }
end;
OnInit: