Goonstation 13 - Modules - TypesVar Details - Proc Details

Explosive Simulator

Vars

resultsFile record where the simulation results are kept
tank1One of two tanks this holds as a basis for the simulation
tank2Two of two tanks this holds as a basis for the simulation
vr_landmarkWhere the bomb gets dropped
vrbombOur VR TTV to attach tank1 and tank2 to

Procs

add_tankInteract with one of the tank slots on the machine. 1 for the first slot, 2 for the second. "null" to use an empty slot, if there is one.
can_simulateDetermine if the simulator is ready, returns a list of a bool for whether it's ready, and a dialogue for the user
is_valid_tankHandheld tanks and butts are both fair game here
update_bomb_logCalled by our vrbomb as it heats up (Or doesn't.)

Var Details

results

File record where the simulation results are kept

tank1

One of two tanks this holds as a basis for the simulation

tank2

Two of two tanks this holds as a basis for the simulation

vr_landmark

Where the bomb gets dropped

vrbomb

Our VR TTV to attach tank1 and tank2 to

Proc Details

add_tank

Interact with one of the tank slots on the machine. 1 for the first slot, 2 for the second. "null" to use an empty slot, if there is one.

can_simulate

Determine if the simulator is ready, returns a list of a bool for whether it's ready, and a dialogue for the user

is_valid_tank

Handheld tanks and butts are both fair game here

update_bomb_log

Called by our vrbomb as it heats up (Or doesn't.)