summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/001-1/constable.txt1
-rw-r--r--world/map/npc/009-1/constable.txt35
2 files changed, 36 insertions, 0 deletions
diff --git a/world/map/npc/001-1/constable.txt b/world/map/npc/001-1/constable.txt
index ecc8a0d4..e777ddd6 100644
--- a/world/map/npc/001-1/constable.txt
+++ b/world/map/npc/001-1/constable.txt
@@ -2,6 +2,7 @@
001-1,50,74,0|script|Constable Perry Graf|150
{
+ npctalk strnpcinfo(0), "Brother Bob acquired mass warp powers; Right after the day of the fool, wear something cool.";
mes "[Constable Perry Graf]";
mes "\"Hello. Make sure to follow the rules!\"";
callfunc "GameRules";
diff --git a/world/map/npc/009-1/constable.txt b/world/map/npc/009-1/constable.txt
index d87f83d7..d1c71f34 100644
--- a/world/map/npc/009-1/constable.txt
+++ b/world/map/npc/009-1/constable.txt
@@ -2,10 +2,45 @@
009-1,55,34,0|script|Constable Bob|419
{
+ npctalk strnpcinfo(0), "I've acquired mass warp powers; Right after the day of the fool, wear something cool.";
mes "[Constable Bob]";
mes "\"Hello.\"";
mes "\"I've been getting complaints of lawlessness in Hurnscald recently, so I thought I'd come down here myself and explain the rules.\"";
mes "\"Please make sure that you follow them!\"";
callfunc "GameRules";
close;
+
+/* 2022 Blackbox */
+L_End:
+ end;
+
+OnClock2339:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "The server will be going down for scheduled maintenance in ##1##B20 minutes##b.", 0;
+ end;
+
+OnClock2349:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "The server will be going down for scheduled maintenance in ##1##B10 minutes##b.", 0;
+ end;
+
+OnClock2354:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "The server will be going down for scheduled maintenance in ##1##B5 minutes##b.", 0;
+ end;
+
+OnClock2359:
+ if (gettime(7) != 2022) goto L_End;
+ if (gettime(6) != 3) goto L_End;
+ if (gettime(5) != 31) goto L_End;
+ announce "##1The server will be going down for scheduled maintenance!", 0;
+ // No need to mapexit - Cron will do the dirty job
+ end;
}
+