summaryrefslogtreecommitdiff
path: root/npc/026-1/ctrl.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-28 14:25:24 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-28 14:25:24 -0300
commit2c0a718d6940d4e515e427eb30a916778e34505f (patch)
treee25a87cc97c460b55a4aab546aa7aad5942a15c7 /npc/026-1/ctrl.c
parent888748a84d7b7a8f7ed9410ebaa7ced667e0e46a (diff)
downloadserverdata-2c0a718d6940d4e515e427eb30a916778e34505f.tar.gz
serverdata-2c0a718d6940d4e515e427eb30a916778e34505f.tar.bz2
serverdata-2c0a718d6940d4e515e427eb30a916778e34505f.tar.xz
serverdata-2c0a718d6940d4e515e427eb30a916778e34505f.zip
Reset 026-1 state every 15 minutes
Diffstat (limited to 'npc/026-1/ctrl.c')
-rw-r--r--npc/026-1/ctrl.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/026-1/ctrl.c b/npc/026-1/ctrl.c
index b02293665..6137441f7 100644
--- a/npc/026-1/ctrl.c
+++ b/npc/026-1/ctrl.c
@@ -30,5 +30,19 @@ L_Warp:
dispbottom l("Coming Soon, in Moubootaur Legends!");
end;
+// Disarm & reset everything
+OnMinute15:
+OnMinute30:
+OnMinute45:
+OnMinute00:
+ delcells "026-1_58_76"; setcells "026-1", 58, 76, 62, 76, 1, "026-1_58_76";
+ delcells "026-1_25_32"; setcells "026-1", 25, 32, 25, 32, 1, "026-1_25_32";
+ delcells "026-1_30_32"; setcells "026-1", 30, 32, 30, 32, 1, "026-1_30_32";
+ setnpcdisplay "#026-1_24_28", NPC_SWITCH_ONLINE;
+ setnpcdisplay "#026-1_26_28", NPC_SWITCH_ONLINE;
+ setnpcdisplay "#026-1_62_28", NPC_SWITCH_ONLINE;
+ end;
}
+// Other misc controllers
+