core_rotor 
Vars | |
active | Checks if the machine is processing or not |
---|---|
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 |
rpm | Rotation per minute the machine is doing |
turbine | Reference to the turbine |
Procs | |
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 % |
set_overlays | Adds overlays to this turbines appearance |
toggle_power | Toggle power on and off, not safe |
Var Details
active 
Checks if the machine is processing or not
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
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
- mob/viewer - the player receiving the message
- text - the message
get_turbine_integrity
Getter for turbine integrity, return the amount in %
set_overlays
Adds overlays to this turbines appearance
toggle_power
Toggle power on and off, not safe