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/bodyguards.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/bodyguards.txt')
-rw-r--r-- | world/map/npc/xmas/2011/bodyguards.txt | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/world/map/npc/xmas/2011/bodyguards.txt b/world/map/npc/xmas/2011/bodyguards.txt new file mode 100644 index 00000000..84eda7a7 --- /dev/null +++ b/world/map/npc/xmas/2011/bodyguards.txt @@ -0,0 +1,120 @@ +// This file is part of Christmas Event 2011 +// author: Jenalya +// Bodyguards who don't let you enter Santa's room until after Christmas + +030-2.gat,76,88,0|script|Vilhelmiina|335,{ + + 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 "[Vilhelmiina]"; + mes "\"You can't get in that room now. Santa is very busy.\""; + menu + "But I want to talk to Santa!",-, + "Understood.",L_Close; + mes "[Vilhelmiina]"; + mes "\"So? Now guess what me and my brother are here for?\""; + goto L_Close; + +L_NoEvent: + mes "[Vilhelmiina]"; + mes "\"How did you get in? At this time of the year this house isn't in use.\""; + warp "030-1.gat", 99, 55; + goto L_Close; + +L_RewardTime: + mes "[Vilhelmiina]"; + mes "\"Santa welcomes visitors now. You may enter.\""; + goto L_Close; + +L_Close: + close; +} + +030-2.gat,80,88,0|script|Verneri|334,{ + + 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 "[Verneri]"; + mes "\"This is Santa's room.\""; + menu + "I want to see him!",-, + "Ok.",L_Close; + mes "The bodyguard takes a daunting look over his glasses at you."; + mes "[Verneri]"; + mes "\"No.\""; + goto L_Close; + +L_NoEvent: + mes "[Verneri]"; + mes "\"What are you doing in here? At this time of the year this house isn't in use.\""; + warp "030-1.gat", 99, 55; + goto L_Close; + +L_RewardTime: + mes "[Verneri]"; + mes "\"You can enter now.\""; + goto L_Close; + +L_Close: + close; +} + +030-2.gat,152,22,0|script|Vanamo|332,{ + if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day)) + goto L_NoEvent; + + mes "[Vanamo]"; + mes "\"This area is restricted. You're not allowed to enter.\""; + close; + +L_NoEvent: + mes "[Vanamo]"; + mes "\"What are you doing in here? At this time of the year this house isn't in use.\""; + warp "030-1.gat", 99, 55; + close; +} + +030-2.gat,89,23,0|script|Vihtori|333,{ + if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day)) + goto L_NoEvent; + + mes "[Vihtori]"; + mes "\"Mh? I'm having a break.\""; + close; + +L_NoEvent: + mes "[Vihtori]"; + mes "\"What are you doing in here? At this time of the year this house isn't in use.\""; + warp "030-1.gat", 99, 55; + close; +} + +// door to Santa's room +030-2.gat,78,87,0|script|#door|127,1,1{ + + if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day)) + goto L_RewardTime; + end; + +L_RewardTime: + warp "030-2.gat", 194, 67; + end; +} + +// entrance of the building +030-1.gat,99,53,0|script|#Door|127,1,1,{ + + if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day)) + goto L_NoEvent; + + warp "030-2.gat", 88, 50; + +L_NoEvent: + end; +} |