/tg/ Station 13 - Modules - TypesVar Details - Proc Details

experimental_cloner_scanner

Machine that you put someone in to scan them for the experimental cloner

Vars

breakout_timeHow long does breaking out take?
lockedNo exit while it's running
message_cooldownTime to wait between telling people they can't get out
scan_timeHow long does scanning take?
scan_timerTimer storing our scanning progress
scanningAre we trying to scan someone?
soundloopSound to play while scanning

Procs

complete_scanSuccessfully produce a scan record
fail_scanThere's nobody in the tank, so nothing to scan
on_scan_stoppedGeneric stuff to do when we're done scanning
start_scanScan the occupant, eventually producing a /datum/experimental_cloning_record. Returns FALSE if unsuccessful.
toggle_openTry opening the machine if it's not locked

Var Details

breakout_time

How long does breaking out take?

locked

No exit while it's running

message_cooldown

Time to wait between telling people they can't get out

scan_time

How long does scanning take?

scan_timer

Timer storing our scanning progress

scanning

Are we trying to scan someone?

soundloop

Sound to play while scanning

Proc Details

complete_scan

Successfully produce a scan record

fail_scan

There's nobody in the tank, so nothing to scan

on_scan_stopped

Generic stuff to do when we're done scanning

start_scan

Scan the occupant, eventually producing a /datum/experimental_cloning_record. Returns FALSE if unsuccessful.

toggle_open

Try opening the machine if it's not locked