summaryrefslogtreecommitdiff
path: root/npc/easter/2008/npc.txt
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-16 15:20:10 +0000
committerFate <fate-tmw@googlemail.com>2009-05-16 15:20:10 +0000
commit9c025c897e112583b68de9d8545f81edb95dbe5c (patch)
tree0712c68e84e8f12650d07a90420003b6fd9e1cdd /npc/easter/2008/npc.txt
parent25c4fee3bc0196a381b529f495bce8143ee0f501 (diff)
parent25789740c889c6f37d31b32cebb741ab7cfeb869 (diff)
downloadserverdata-9c025c897e112583b68de9d8545f81edb95dbe5c.tar.gz
serverdata-9c025c897e112583b68de9d8545f81edb95dbe5c.tar.bz2
serverdata-9c025c897e112583b68de9d8545f81edb95dbe5c.tar.xz
serverdata-9c025c897e112583b68de9d8545f81edb95dbe5c.zip
Merge branch 'master' of git@gitorious.org:tmw-eathena-data/mainline
Conflicts: db/item_db.txt npc/013-3_Cave/barrier.txt
Diffstat (limited to 'npc/easter/2008/npc.txt')
-rw-r--r--npc/easter/2008/npc.txt49
1 files changed, 49 insertions, 0 deletions
diff --git a/npc/easter/2008/npc.txt b/npc/easter/2008/npc.txt
new file mode 100644
index 00000000..e93e27a2
--- /dev/null
+++ b/npc/easter/2008/npc.txt
@@ -0,0 +1,49 @@
+001-1.gat,40,40,6 script EasterBunny 139,{
+ if (QUEST_Easter08_state > 0) goto L_Finished;
+
+ mes "[Easter Bunny]";
+ mes "Hi handsome! Happy Easter to you.";
+ next;
+
+ set @cond, 0;
+ if (countitem(1208) > 0) set @cond, @cond + 1;
+ if (countitem(1209) > 0) set @cond, @cond + 1;
+ if (countitem(1210) > 0) set @cond, @cond + 1;
+ if (countitem(1211) > 0) set @cond, @cond + 1;
+ if (countitem(1212) > 0) set @cond, @cond + 1;
+ if (countitem(1213) > 0) set @cond, @cond + 1;
+
+ if (@cond == 6) goto L_Give;
+
+ L_Message:
+ mes "[Easter Bunny]";
+ mes "Do you want to take part in the big easter egg hunt?";
+ mes "";
+ mes "There are fluffys all around the world with their magic easter eggs.";
+ mes "When you catch them and collect 6 different kinds of eggs I will";
+ mes "give you a special prize!";
+ if (@cond > 0) mes "You already have found "+@cond+" different eggs!";
+ close;
+
+ L_Give:
+ delitem 1208, 1;
+ delitem 1209, 1;
+ delitem 1210, 1;
+ delitem 1211, 1;
+ delitem 1212, 1;
+ delitem 1213, 1;
+ mes "[Easter Bunny]";
+ mes "Here is your prize:";
+ mes "The official easter 2008 headgear!";
+ mes "Have fun!";
+ getitem 1214, 1;
+ set QUEST_Easter08_state, 1;
+ close;
+
+ L_Finished:
+ mes "[Easter Bunny]";
+ mes "You already completed the quest.";
+ mes "But maybe you would like to help others complete it, too?";
+ close;
+
+} \ No newline at end of file