From dd92758fdbb472d98ea33ecbc85f951a3e9cf883 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 22 Oct 2011 15:19:22 -0700 Subject: Add missing trick-or-treat NPC and severely reduce the possibility of exploitation --- world/map/npc/021-1/inac.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'world/map/npc/021-1') diff --git a/world/map/npc/021-1/inac.txt b/world/map/npc/021-1/inac.txt index 85580f4b..da537a20 100644 --- a/world/map/npc/021-1/inac.txt +++ b/world/map/npc/021-1/inac.txt @@ -1,6 +1,11 @@ // 021-1.gat,53,103,0|script|Inac|156,{ + set @hw2011_npc_id, $@hw2011_npc_inac; + if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) + goto L_TrickOrTreat; + +L_Begin: mes "[Inac]"; mes "\"This cities water system is amazing. It was built centuries ago after the cataclysm that turned Tonori into this desert.\""; next; @@ -10,4 +15,8 @@ mes "[Inac]"; mes "\"They also say monsters have moved into the underground tunnels that bring and distribute water.\""; close; + +L_TrickOrTreat: + callfunc "TrickOrTreat2011"; + goto L_Begin; } -- cgit v1.2.3-60-g2f50