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

core_rotor

Vars

all_parts_connectedCheck to see if all parts are connected to the core
compressorReference to the compressor
damageAmount of damage the machine has received
damage_archivedUsed to calculate the max damage received per tick and if the alarm should be called
mapping_idID to easily connect the main part of the turbine to the computer
max_allowed_rpmMax rmp that the installed parts can handle, limits the rpms
max_allowed_temperatureMax temperature that the installed parts can handle, unlimited and causes damage to the machine
produced_energyAmount of power the machine is producing
radioOur internal radio
rpmRotation per minute the machine is doing
turbineReference to the turbine

Procs

activate_partsCalled to activate the complete machine, checks for part presence, correct orientation and installed parts
deactivate_partsAllows to null the various machines and references from the main core
feedbackconvinience proc for balloon alert which returns if viewer is null Arguments
get_turbine_integrityGetter for turbine integrity, return the amount in %
toggle_powerToggle power on and off, not safe

Var Details

all_parts_connected

Check to see if all parts are connected to the core

compressor

Reference to the compressor

damage

Amount of damage the machine has received

damage_archived

Used to calculate the max damage received per tick and if the alarm should be called

mapping_id

ID to easily connect the main part of the turbine to the computer

max_allowed_rpm

Max rmp that the installed parts can handle, limits the rpms

max_allowed_temperature

Max temperature that the installed parts can handle, unlimited and causes damage to the machine

produced_energy

Amount of power the machine is producing

radio

Our internal radio

rpm

Rotation per minute the machine is doing

turbine

Reference to the turbine

Proc Details

activate_parts

Called to activate the complete machine, checks for part presence, correct orientation and installed parts

deactivate_parts

Allows to null the various machines and references from the main core

feedback

convinience proc for balloon alert which returns if viewer is null Arguments

get_turbine_integrity

Getter for turbine integrity, return the amount in %

toggle_power

Toggle power on and off, not safe