summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-08-21 19:06:20 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-08-21 19:06:20 +0000
commit9791026e78377d8f1ff6eec7edd94b7192cbdacc (patch)
treec3bc9d65deb0aca9724dc66da2d30add1bea8cd1 /npc
parent4400bcad2cd512e053c7ef1707214ef695da9f3b (diff)
downloadserverdata-9791026e78377d8f1ff6eec7edd94b7192cbdacc.tar.gz
serverdata-9791026e78377d8f1ff6eec7edd94b7192cbdacc.tar.bz2
serverdata-9791026e78377d8f1ff6eec7edd94b7192cbdacc.tar.xz
serverdata-9791026e78377d8f1ff6eec7edd94b7192cbdacc.zip
event!
Diffstat (limited to 'npc')
-rw-r--r--npc/event1.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/npc/event1.txt b/npc/event1.txt
new file mode 100644
index 00000000..54580c6b
--- /dev/null
+++ b/npc/event1.txt
@@ -0,0 +1,23 @@
+new_3-1.gat,35,30,0 script Guard 110,{
+ mes "[Guard]";
+ mes "Snakes are entering the city, please help us killing them";
+ mes "Bring me a proof that you killed at least 50 snakes and you'll be rewarded!";
+ next;
+ goto check;
+check:
+ if(countitem(540) >= 50) goto have;
+ mes "[Guard]";
+ mes "Please hurry and kill some snakes";
+ close;
+have:
+ mes "[Guard]";
+ mes "Thank you very much!!";
+ delitem 540,50;
+ next;
+ mes "[Guard]";
+ mes "Here it is your reward:";
+ mes "an headband and a fresh beer";
+ getitem 543,1;
+ getitem 539,1;
+ close;
+}