# Disabled by default: remove # from the filename to enable this script.
!-- CustomCommand scanfacility
-- description "Scans the facility"
-- cooldown 1m
# scan beginning announcement
Cassie jingle "a facility scan is commencing" "A facility scan is commencing..."
wait 1s
wait_until {IsCassieSpeaking} is false
repeat 3
wait 5s
# scan sound
Cassie noJingle "pitch_0.3 .G1 .G4" ""
end
wait_until {IsCassieSpeaking} is false
# results
$cassie = "scan complete . {AmountOf @scpPlayers} scpsubjects remaining . {AmountOf @classDPlayers} class d personnel remaining . {AmountOf @scientistPlayers} scientist personnel remaining . {AmountOf @foundationForcePlayers} foundation forces remaining . {AmountOf @chaosInsurgencyPlayers} hostileforces remaining . . . . ."
$translation = "
[{AmountOf @scpPlayers}] SCP subjects
[{AmountOf @classDPlayers}] Class-D personnel
[{AmountOf @scientistPlayers}] Scientist personnel
[{AmountOf @foundationForcePlayers}] Foundation forces
[{AmountOf @chaosInsurgencyPlayers}] Hostile forces"
Cassie jingle $cassie $translation