From 5fbaf0b7f36072140037407d398ce30f56338e12 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 15 Sep 2018 18:31:39 -0300 Subject: Report number of killed Pinkies per John H request (only each 10 kills on quest) --- npc/012-1/hinnak.txt | 5 ++++- npc/014-3/oscar.txt | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'npc') 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: -- cgit v1.2.3-70-g09d2