diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-28 14:00:09 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-28 14:00:09 -0300 |
commit | d6b26249756a53c760ef3658cf126db9b412dd3f (patch) | |
tree | caa74bc6baf04ebae41b01a19bc553dde141c3a1 | |
parent | 062593c8758d6a1b89e63d9ee226a3119eed7907 (diff) | |
download | serverdata-d6b26249756a53c760ef3658cf126db9b412dd3f.tar.gz serverdata-d6b26249756a53c760ef3658cf126db9b412dd3f.tar.bz2 serverdata-d6b26249756a53c760ef3658cf126db9b412dd3f.tar.xz serverdata-d6b26249756a53c760ef3658cf126db9b412dd3f.zip |
Grand Hunter Quest: Pinkies (template)
-rw-r--r-- | npc/003-1/aidan.txt | 8 | ||||
-rw-r--r-- | npc/012-1/hinnak.txt | 2 | ||||
-rw-r--r-- | npc/functions/mobhunter.txt | 6 |
3 files changed, 16 insertions, 0 deletions
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)); |