From d6b26249756a53c760ef3658cf126db9b412dd3f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 28 Jun 2018 14:00:09 -0300 Subject: Grand Hunter Quest: Pinkies (template) --- npc/003-1/aidan.txt | 8 ++++++++ npc/012-1/hinnak.txt | 2 ++ npc/functions/mobhunter.txt | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/npc/003-1/aidan.txt b/npc/003-1/aidan.txt index 665024337..ee840fb7d 100644 --- a/npc/003-1/aidan.txt +++ b/npc/003-1/aidan.txt @@ -147,6 +147,14 @@ L_Finish: mesq l("Good job, here is 275,000 GP and 60 @@!", getitemlink(StrangeCoin)); mesc l("Gained @@ XP", "15750"); close; + case Pinkie: + setq General_Hunter, 0, 0; + getitem ApanaCake, 1; + getexp 15750, 100; + mesn; + mesq l("And your rare, a @@! Enjoy!", getitemlink(ApanaCake)); + mesc l("Gained @@ XP", "15750"); + close; } mesc l("ILLEGAL SCRIPT POSITION REACHED, PLEASE REPORT.", 1); close; diff --git a/npc/012-1/hinnak.txt b/npc/012-1/hinnak.txt index acbbee749..6d731daf5 100644 --- a/npc/012-1/hinnak.txt +++ b/npc/012-1/hinnak.txt @@ -132,6 +132,8 @@ L_Letter: L_Thanks: mesq l("Many thanks for all the help!"); + next; + GHQ_Assign(Pinkie, "Hurnscald", getitemlink(ApanaCake)); close; OnInit: diff --git a/npc/functions/mobhunter.txt b/npc/functions/mobhunter.txt index c80683410..2c0031bb7 100644 --- a/npc/functions/mobhunter.txt +++ b/npc/functions/mobhunter.txt @@ -18,6 +18,9 @@ function script GHQ_GetQuestIDByMonsterID { case ForestMushroom: return 4; break; + case Pinkie: + return 5; + break; default: debugmes "Invalid mob ID: " + getarg(0); dispbottom l("ERROR, Please report: GHQ GQID: Invalid ID: @@", getarg(0)); @@ -42,6 +45,9 @@ function script GHQ_GetMonsterIDByQuestID { case 4: return ForestMushroom; break; + case 5: + return Pinkie; + break; default: debugmes "Invalid quest ID: " + getarg(0); dispbottom l("ERROR, Please report: GHQ GMID: Invalid ID: @@", getarg(0)); -- cgit v1.2.3-60-g2f50