summaryrefslogtreecommitdiff
path: root/npc/012-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-04 10:13:04 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-04 10:13:47 -0300
commit8c1f1245ad75d2a620c290f6ca580d630087912f (patch)
treeae29cccb80af7ca128f4390eeec13eaeb2011bea /npc/012-1
parent49b801dcc0fbe32317f4e46b60c0da95201ccd0a (diff)
downloadserverdata-8c1f1245ad75d2a620c290f6ca580d630087912f.tar.gz
serverdata-8c1f1245ad75d2a620c290f6ca580d630087912f.tar.bz2
serverdata-8c1f1245ad75d2a620c290f6ca580d630087912f.tar.xz
serverdata-8c1f1245ad75d2a620c290f6ca580d630087912f.zip
Small quest requested by Saulc (with possibility to feed other guards later)
No level requeriment = level 20 requeriment
Diffstat (limited to 'npc/012-1')
-rw-r--r--npc/012-1/guards.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/npc/012-1/guards.txt b/npc/012-1/guards.txt
index ae643b350..4238af41c 100644
--- a/npc/012-1/guards.txt
+++ b/npc/012-1/guards.txt
@@ -546,6 +546,28 @@ OnInit:
}
012-1,94,56,0 script Guard#012-1.1 NPC_GUARD1,{
+ .@q=getq(HurnscaldQuest_HungryGuard);
+ if (.@q == 0) {
+ mesn l("Guard");
+ mesq l("Hey, you! Could you bring me an @@?", getitemlink(RedApple));
+ next;
+ mesn l("Guard");
+ mesq l("I'm hungry like a bear :b");
+ if (!countitem(RedApple))
+ close;
+ select
+ l("Here, you can have this one!"),
+ l("Nope, sorry!");
+ mes "";
+ if (@menu == 1) {
+ delitem RedApple, 1;
+ setq HurnscaldQuest_HungryGuard, 1;
+ getexp 500, 0;
+ mesn l("Guard");
+ mesq l("Oooh, many thanks! ^.^");
+ }
+ close;
+ }
legiontalk;
end;