summaryrefslogtreecommitdiff
path: root/npc/annuals/fathertime.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/annuals/fathertime.txt')
-rw-r--r--npc/annuals/fathertime.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/npc/annuals/fathertime.txt b/npc/annuals/fathertime.txt
index bb2361a1..b813eaa7 100644
--- a/npc/annuals/fathertime.txt
+++ b/npc/annuals/fathertime.txt
@@ -12,6 +12,28 @@ OnClock0000:
initnpctimer;
end;
+OnMinute13:
+ if (gettime(GETTIME_WEEKDAY) == FRIDAY && gettime(GETTIME_DAYOFMONTH) == 13) {
+ areamonster("009-1", 20, 20,
+ getmapinfo(MAPINFO_SIZE_X, "009-1"), getmapinfo(MAPINFO_SIZE_Y, "009-1"),
+ "Friday", FridayCat, any(1,3), "#HolidayConfig::OnFriday");
+ areamonster("020-1", 20, 20,
+ getmapinfo(MAPINFO_SIZE_X, "009-1"), getmapinfo(MAPINFO_SIZE_Y, "009-1"),
+ "Friday", FridayCat, any(1,3), "#HolidayConfig::OnFriday");
+ areamonster("001-1", 20, 20,
+ getmapinfo(MAPINFO_SIZE_X, "009-1"), getmapinfo(MAPINFO_SIZE_Y, "009-1"),
+ "Friday", FridayCat, any(1,3), "#HolidayConfig::OnFriday");
+ }
+ end;
+
+OnFriday:
+ if (!playerattached()) end;
+ getmapxy(.@m$, .@x, .@y, 0);
+ sleep2(rand(500, 1200)); // Plenty time to move away
+ if (gettime(GETTIME_WEEKDAY) == FRIDAY && gettime(GETTIME_DAYOFMONTH) == 13)
+ monster .@m$, .@x, .@y, "JackO", JackO, 1;
+ end;
+
OnTimer1000:
// There are no NPC timers ongoing, loop forever
if (!htsize(.evtc)) {