summaryrefslogtreecommitdiff
path: root/world/map/npc/027-2/caretaker.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-09-26 22:07:59 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-10-18 21:47:21 -0700
commit235709d0d10c632bef619df6f8d6ea27f5c190ac (patch)
tree1e9026e23cba5bbc79d3660e9e46ba3dc57c1990 /world/map/npc/027-2/caretaker.txt
parentc2f9e626d98b929d81d2dc76ee1094885d801bb1 (diff)
downloadserverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.gz
serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.bz2
serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.xz
serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.zip
Halloween 2011 Trick-or-Treating
Diffstat (limited to 'world/map/npc/027-2/caretaker.txt')
-rw-r--r--world/map/npc/027-2/caretaker.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/027-2/caretaker.txt b/world/map/npc/027-2/caretaker.txt
index d86a14f9..d55c8c3b 100644
--- a/world/map/npc/027-2/caretaker.txt
+++ b/world/map/npc/027-2/caretaker.txt
@@ -3,6 +3,10 @@
// Airlia supports receiving an infinate number of letters
027-2.gat,24,25,0|script|Caretaker|159,{
+ set @hw2011_npc_id, $@hw2011_npc_caretaker;
+ if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day)
+ goto L_TrickOrTreat;
+
if (QUEST_Graveyard_Caretaker == 1) goto L_Return_Dialog;
if (QUEST_Graveyard_Caretaker == 2) goto L_Has_Letter;
if (QUEST_Graveyard_Caretaker == 3) goto L_Delivered_Letter;
@@ -121,4 +125,7 @@ OnWifeDeath:
gmcommand "@ban +5mn " + strcharinfo(0);
initnpctimer;
end;
+
+L_TrickOrTreat:
+ callfunc "TrickOrTreat2011";
}