-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdoorRestart.ser
More file actions
31 lines (24 loc) · 1.1 KB
/
Copy pathdoorRestart.ser
File metadata and controls
31 lines (24 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Disabled by default: remove # from the filename to enable this script.
!-- CustomCommand doorrestart
-- description "Does a door restart sequence"
-- cooldown 1m
# initial cassie announcement
Cassie jingle "ATTENTIONALLPERSONNEL . DOOR CONTROL CONSOLE MALFUNCTION DETECTED . INITIALIZING REACTIVATION SEQUENCE . ATTEMPTING FULL SYSTEM REACTIVATION IN . 3 . 2 . 1" "Attention all personnel. Door control console malfunction detected.<split>Initializing reactivation sequence. Attempting full system reactivation in..."
# wait for cassie to finish before restarting doors
wait 1s
wait_until {IsCassieSpeaking} is false
# restart effects
DisableLights all 15s
CloseDoor all
LockDoor all NoPower
# cassie for spooky effect
repeat 2
Cassie noJingle "pitch_{Random 0.15 0.25 real} .g{Random 1 6 int}"
end
# duration of the restart
wait 15s
# revert to unlocked
UnlockDoor all
# cassie information that restart was successful
ClearCassie
Cassie jingle "DOOR CONTROL CONSOLE SUCCESSFULLY ACTIVATED . SYSTEM IS BACK IN OPERATIONAL MODE" "Door control console successfully activated.<split>System is back in operational mode."