summaryrefslogtreecommitdiff
path: root/world/map/npc/021-1
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/021-1
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/021-1')
-rw-r--r--world/map/npc/021-1/eurni.txt7
-rw-r--r--world/map/npc/021-1/weellos.txt7
2 files changed, 14 insertions, 0 deletions
diff --git a/world/map/npc/021-1/eurni.txt b/world/map/npc/021-1/eurni.txt
index 014d8d7a..e24e320a 100644
--- a/world/map/npc/021-1/eurni.txt
+++ b/world/map/npc/021-1/eurni.txt
@@ -1,6 +1,10 @@
//
021-1.gat,141,113,0|script|Eurni|136,{
+ set @hw2011_npc_id, $@hw2011_npc_eurni;
+ if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day)
+ goto L_TrickOrTreat;
+
if (BaseLevel < 10) goto L_TooYoung;
if (zeny < 10000) goto L_NoMoney;
@@ -36,4 +40,7 @@ L_NoMoney:
mes "[Eurni the Surgeon]";
mes "\"You don't have enough to pay for my services.\"";
close;
+
+L_TrickOrTreat:
+ callfunc "TrickOrTreat2011";
}
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";
}