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

turbine

Vars

activeChecks if the machine is processing or not
active_overlayOur overlay when active
can_connectThe parts can be registered on the main one only when their panel is closed
emissiveShould we use emissive appearance?
gas_theoretical_volumeTheoretical volume of gas that's moving through the turbine, it expands the further it goes
installed_partReference to our turbine part
off_overlayOur overlay when off
open_overlayOur overlay when open
our_turf_thermal_conductivityStores the turf thermal conductivity to restore it later
part_pathPath of the turbine part we can install

Procs

calculate_parts_limitsCalled when installing new parts and when activating the main machine
disable_partsAllow easy disabling of each machine from the main controller
enable_partsAllow easy enabling of each machine for connection to the main controller
get_efficiencyGets the efficiency of the installed part, returns 0 if no part is installed
install_partChecks if the machine part we are installing is an improvement over the installed one (if present) Currently it doesn't allow worst parts to be installed

Var Details

active

Checks if the machine is processing or not

active_overlay

Our overlay when active

can_connect

The parts can be registered on the main one only when their panel is closed

emissive

Should we use emissive appearance?

gas_theoretical_volume

Theoretical volume of gas that's moving through the turbine, it expands the further it goes

installed_part

Reference to our turbine part

off_overlay

Our overlay when off

open_overlay

Our overlay when open

our_turf_thermal_conductivity

Stores the turf thermal conductivity to restore it later

part_path

Path of the turbine part we can install

Proc Details

calculate_parts_limits

Called when installing new parts and when activating the main machine

disable_parts

Allow easy disabling of each machine from the main controller

enable_parts

Allow easy enabling of each machine for connection to the main controller

get_efficiency

Gets the efficiency of the installed part, returns 0 if no part is installed

install_part

Checks if the machine part we are installing is an improvement over the installed one (if present) Currently it doesn't allow worst parts to be installed