From 92edc7656445e89c7ce1d229970f03ff55708e5b Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 12 Nov 2008 09:24:59 +0100 Subject: Converted some files from DOS to UNIX newlines --- npc/easter2008/npc.txt | 96 +++++++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) (limited to 'npc/easter2008') diff --git a/npc/easter2008/npc.txt b/npc/easter2008/npc.txt index dd97425a..d1698ff2 100644 --- a/npc/easter2008/npc.txt +++ b/npc/easter2008/npc.txt @@ -1,49 +1,49 @@ -new_3-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; - +new_3-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 -- cgit v1.2.3-70-g09d2