diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2011-10-31 18:31:57 +0100 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2011-12-08 16:21:34 +0100 |
commit | b7220816487ded7d73bc0eadf53d7abf55af29cd (patch) | |
tree | 65a053442ac46c0d3bbb047fd0ffbc7582bbeff0 /world/map/npc/xmas/2011/entranceHelpers.txt | |
parent | a71ae4883c221690510aed5ab438cd39d21919ad (diff) | |
download | serverdata-b7220816487ded7d73bc0eadf53d7abf55af29cd.tar.gz serverdata-b7220816487ded7d73bc0eadf53d7abf55af29cd.tar.bz2 serverdata-b7220816487ded7d73bc0eadf53d7abf55af29cd.tar.xz serverdata-b7220816487ded7d73bc0eadf53d7abf55af29cd.zip |
Christmas Event 2011
Diffstat (limited to 'world/map/npc/xmas/2011/entranceHelpers.txt')
-rw-r--r-- | world/map/npc/xmas/2011/entranceHelpers.txt | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/world/map/npc/xmas/2011/entranceHelpers.txt b/world/map/npc/xmas/2011/entranceHelpers.txt new file mode 100644 index 00000000..03a606aa --- /dev/null +++ b/world/map/npc/xmas/2011/entranceHelpers.txt @@ -0,0 +1,73 @@ +// This file is part of Christmas Event 2011 +// author: Jenalya +// The NPCs in this file are for background information + +030-2.gat,74,29,0|script|Vellamo|328,{ + + if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day)) + goto L_NoEvent; + if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day)) + goto L_RewardTime; + mes "[Vellamo]"; + mes "\"This terrible slimes! It's a disaster!"; + mes "No matter what I do they always come back!\""; + next; + mes "\"How am I supposed to work under these conditions!"; + mes "This is absoutely not acceptable! Those icky slimes!\""; + next; + mes "\"They occupied the entire basement where all our materials and all the remaining presents are stored."; + mes "Grrrr.\""; + mes "He seems too freaked out to have a decent conversation."; + goto L_Close; + +L_NoEvent: + mes "[Vellamo]"; + mes "\"How did you come in? At this time of the year the door should be locked!\""; + warp "030-1.gat", 99, 55; + goto L_Close; + +L_RewardTime: + mes "[Vellamo]"; + mes "\"The slimes are still there.\""; + mes "Vellamo seems to be totally overwrought."; + goto L_Close; + +L_Close: + close; +} + +// welcome Guy +030-2.gat,87,40,0|script|Valtteri|328,{ + + if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day)) + goto L_NoEvent; + if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day)) + goto L_RewardTime; + + mes "[Valterri]"; + mes "\"Welcome to Santa's house."; + mes "We're currently busy with the preparations for Christmas, so please don't interrupt the helpers.\""; + menu + "Wow, this place looks much smaller from the outside.",-, + "Thank you.",L_Close; + mes "[Valterri]"; + mes "\"Isn't it obvious? Magic!"; + mes "Santa is a member of the Sages of Kazei, a council of powerful wizards who rule our lands.\""; + goto L_Close; + +L_RewardTime: + mes "[Valterri]"; + mes "\"Welcome to Santa's house."; + next; + mes "We just finished the Christmas rush.\""; + goto L_Close; + +L_NoEvent: + mes "[Valtteri]"; + mes "\"How did you come in? At this time of the year the door should be locked!\""; + warp "030-1.gat", 99, 55; + goto L_Close; + +L_Close: + close; +} |