summaryrefslogtreecommitdiff
path: root/npc/014-3
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-3')
-rw-r--r--npc/014-3/_mobs.txt2
-rw-r--r--npc/014-3/oscar.txt7
2 files changed, 8 insertions, 1 deletions
diff --git a/npc/014-3/_mobs.txt b/npc/014-3/_mobs.txt
index 57e5bba6e..186168771 100644
--- a/npc/014-3/_mobs.txt
+++ b/npc/014-3/_mobs.txt
@@ -4,4 +4,4 @@
014-3,146,131,70,21 monster Forest Mushroom 1060,9,60000,45000
014-3,122,121,90,35 monster Squirrel 1032,26,30000,42000
014-3,62,101,37,32 monster Centaur 1139,4,60000,60000
-014-3,192,94,22,15 monster Pinkie 1132,6,30000,90000
+014-3,192,94,22,15 monster Pinkie 1132,6,30000,90000,Oscar::OnKillPinkie
diff --git a/npc/014-3/oscar.txt b/npc/014-3/oscar.txt
index acfc5b03f..a68f459a7 100644
--- a/npc/014-3/oscar.txt
+++ b/npc/014-3/oscar.txt
@@ -20,6 +20,13 @@ L_Hinnak:
L_Close:
close;
+OnKillPinkie:
+ .@q1=getq(HurnscaldQuest_Farmers);
+ .@q2=getq2(HurnscaldQuest_Farmers);
+ if (.@q1 == 3)
+ setq2 HurnscaldQuest_Farmers, .@q2+1;
+ end;
+
OnInit:
.@npcId = getnpcid(0, .name$);
setunitdata(.@npcId, UDT_HEADTOP, RiceHat);