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/006-1/pachua.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'world/map/npc/006-1') diff --git a/world/map/npc/006-1/pachua.txt b/world/map/npc/006-1/pachua.txt index 824bc9b5..941ffa79 100644 --- a/world/map/npc/006-1/pachua.txt +++ b/world/map/npc/006-1/pachua.txt @@ -1,5 +1,4 @@ 006-1.gat,23,100,0|script|Pachua|143,{ - set @LEATHER_PATCH_PRICE, 300; set @wants_leather_patch, QUEST_Forestbow_state & NIBBLE_4_MASK; @@ -16,6 +15,10 @@ // if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 2) goto L_MakeBasket; // if (gettime(6) == @month && gettime(5) >= @start_day && gettime(5) <= @end_day && QUEST_Easter11 == 3) goto L_SeeBunny; + set @hw2011_npc_id, $@hw2011_npc_pachua; + if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) + goto L_TrickOrTreat; + L_Begin: mes "[Chief Pachua]"; mes ""; @@ -312,4 +315,7 @@ L_SeeBunny: mes "\"You need to return to the Easter Bunny now.\""; next; goto L_Begin; + +L_TrickOrTreat: + callfunc "TrickOrTreat2011"; } -- cgit v1.2.3-70-g09d2