From 235709d0d10c632bef619df6f8d6ea27f5c190ac Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 26 Sep 2011 22:07:59 -0700 Subject: Halloween 2011 Trick-or-Treating --- world/map/npc/021-1/weellos.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'world/map/npc/021-1/weellos.txt') diff --git a/world/map/npc/021-1/weellos.txt b/world/map/npc/021-1/weellos.txt index 2a7dcdf9..5d12bfdd 100644 --- a/world/map/npc/021-1/weellos.txt +++ b/world/map/npc/021-1/weellos.txt @@ -1,6 +1,10 @@ // A historian 021-1.gat,130,125,0|script|Weellos|103,{ + set @hw2011_npc_id, $@hw2011_npc_weellos; + if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) + goto L_TrickOrTreat; + if isin("021-1.gat", 130, 120, 140, 125) goto L_In; mes "[Weellos]"; @@ -12,4 +16,7 @@ L_In: mes "[Weellos]"; mes "\"What did you think of the historic building?\""; close; + +L_TrickOrTreat: + callfunc "TrickOrTreat2011"; } -- cgit v1.2.3-60-g2f50