summaryrefslogtreecommitdiff
path: root/world/map/npc/easter/2008
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-18 21:58:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-19 14:19:55 -0700
commitbae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch)
tree4acc120f6a94cfbf9694bf344658493de5aaa67b /world/map/npc/easter/2008
parent319f80526f8585ecadaec986e37c9bd326f4d363 (diff)
downloadserverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip
Move to a subdirectory
Diffstat (limited to 'world/map/npc/easter/2008')
-rw-r--r--world/map/npc/easter/2008/monsters.txt15
-rw-r--r--world/map/npc/easter/2008/npc.txt49
2 files changed, 64 insertions, 0 deletions
diff --git a/world/map/npc/easter/2008/monsters.txt b/world/map/npc/easter/2008/monsters.txt
new file mode 100644
index 00000000..d886f519
--- /dev/null
+++ b/world/map/npc/easter/2008/monsters.txt
@@ -0,0 +1,15 @@
+002-2.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+002-3.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+001-1.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+002-4.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+005-1.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+011-1.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+019-1.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+020-3.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+010-2.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+003-1.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+007-1.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+011-4.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+008-1.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+010-2.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0
+05-3.gat,0,0,0,0 monster EasterFluffy 1027,1,0,0,0 \ No newline at end of file
diff --git a/world/map/npc/easter/2008/npc.txt b/world/map/npc/easter/2008/npc.txt
new file mode 100644
index 00000000..e93e27a2
--- /dev/null
+++ b/world/map/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