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

supermatter_crystal

Vars

admin_cascadeIf an admin wants a sure cascade with the delamination just set this to true (don't be a badmin)
anomaly_eventCan the crystal trigger the station wide anomaly spawn?
bullet_energyHow much the bullets damage should be multiplied by when it is added to the internal variables
cascade_initiatedHas the cascade been triggered?
combined_gasThe last air sample's total molar count, will always be above or equal to 0
common_channelThe common channel
countdownAn effect we show to admins and ghosts the percentage of delam we're at
damageThe amount of damage we have currently
damage_archivedThe damage we had before this cycle. Used to limit the damage we can take each cycle, and for safe_alert
damage_penalty_pointWhen we pass this amount of damage we start shooting bolts
dynamic_heat_modifierAffects the amount of o2 and plasma the sm outputs, along with the heat it makes.
dynamic_heat_resistanceAffects the amount of damage and minimum point at which the sm takes heat damage
emergency_alertThe alert we send when we've reached emergency_point
emergency_pointThe point at which we start sending messages to the common channel
engineering_channelThe engineering channel
environment_total_molesTotal mole count of the environment we are in
explosion_pointThe point at which we delam
explosion_powerA scaling value that affects the severity of explosions.
final_countdownAre we exploding?
gas_change_rateDetermines the rate of positve change in gas comp values
gas_compThe list of gases mapped against their current comp. We use this to calculate different values the supermatter uses, like power or heat resistance. It doesn't perfectly match the air around the sm, instead moving up at a rate determined by gas_change_rate per call. Ranges from 0 to 1
gas_heatThe list of gases mapped against their heat penaltys. We use it to determin molar and heat output
gas_powermixThe list of gases mapped against their powermix ratio
gas_resistThe list of gases mapped against their heat resistance. We use it to moderate heat damage.
gas_transThe list of gases mapped against their transmit values. We use it to determine the effect different gases have on the zaps
gasefficencyThe portion of the gasmix we're on that we should remove
gases_we_care_aboutThe list of gases we will be interacting with in process_atoms()
gasmix_power_ratioAffects the power gain the sm experiances from heat
gl_uidThe amount of supermatters that have been created this round
hallucination_powerHow much hallucination should we produce per unit of power?
has_been_poweredBoolean used for logging if we've been powered
has_destabilizing_crystalDo we have a destabilizing crystal attached?
has_reached_emergencyBoolean used for logging if we've passed the emergency point
hue_angle_shiftHue shift of the zaps color based on the power of the crystal
include_in_cimsDo we show this crystal in the CIMS modular program
is_main_engineUsed along with a global var to track if we can give out the sm sliver stealing objective
last_accent_soundcooldown tracker for accent sounds
last_power_zapStores the time of when the last zap occurred
lastwarningTime in 1/10th of seconds since the last sent warning
matter_powerTakes the energy throwing things into the sm generates and slowly turns it into actual power
mole_heat_penaltyUsed to increase or lessen the amount of damage the sm takes from heat based on molar counts.
moveableCan it be moved?
powerRefered to as eer on the moniter. This value effects gas output, heat, damage, and radiation.
power_changesDisables power changes
power_transmission_bonusAffects the amount of radiation the sm makes. We multiply this with power to find the zap power.
powerloss_dynamic_scalingBased on co2 percentage, slowly moves between 0 and 1. We use it to calc the powerloss_inhibitor
powerloss_inhibitorUses powerloss_dynamic_scaling and combined_gas to lessen the effects of our powerloss functions
pressure_bonus_curve_angleHow steeply angled is the pressure bonus curve? Higher values means more of the bonus is available at higher pressures. Note that very low values can keep the bonus very close to 1 until it's nearly a vaccuum. Higher values can introduce diminishing returns on lower pressure.
pressure_bonus_derived_constantThese values are calculated from the above in update_constants() and immediately overwritten The default values will always result in a no-op 1x modifier, in case something breaks.
pressure_bonus_max_multiplierPressure bonus constants If the SM is operating in sufficiently low pressure, increase power output. This needs both a small amount of gas and a strong cooling system to keep temperature low in a low heat capacity environment. These constants are used to derive the values in the pressure bonus equation from human-meaningful values If you're varediting these, call update_constants() to update the derived values What is the maximum multiplier reachable from having low pressure?
pressure_bonus_max_pressureAt what environmental pressure, in kPa, should we start giving a pressure bonus?
processesDisables the sm's proccessing totally.
produces_gasDisables the production of gas, and pretty much any handling of it we do.
psyCoeffVar that increases from 0 to 1 when a psycologist is nearby, and decreases in the same way
psyOverlayA pinkish overlay used to denote the presance of a psycologist. We fade in and out of this depending on the amount of time they've spent near the crystal
psy_overlayShould we check the psy overlay?
radioOur internal radio
radio_keyThe key our internal radio uses
safe_alertOur "Shit is no longer fucked" message. We send it when damage is less then damage_archived
soundloopOur soundloop
takes_damageDisables all methods of taking damage
uidThe id of our supermatter
warning_alertThe alert we send when we've reached warning_point
warning_pointThe point at which we should start sending messeges about the damage to the engi channels.
warpReference to the warp effect
zap_cutoffThe cutoff for a bolt jumping, grows with heat, lowers with higher mol count,
zap_iconTracks the bolt color we are using

Procs

check_cascade_requirementsChecks if and why the supermatter is in a state where it can cascade
handle_crystal_soundsThe power that is getting lost this tick.
tram_contents_consumeConsume things that run into the supermatter from the tram. The tram calls forceMove (doesn't call Bump/ed) and not Move, and I'm afraid changing it will do something chaotic

Var Details

admin_cascade

If an admin wants a sure cascade with the delamination just set this to true (don't be a badmin)

anomaly_event

Can the crystal trigger the station wide anomaly spawn?

bullet_energy

How much the bullets damage should be multiplied by when it is added to the internal variables

cascade_initiated

Has the cascade been triggered?

combined_gas

The last air sample's total molar count, will always be above or equal to 0

common_channel

The common channel

countdown

An effect we show to admins and ghosts the percentage of delam we're at

damage

The amount of damage we have currently

damage_archived

The damage we had before this cycle. Used to limit the damage we can take each cycle, and for safe_alert

damage_penalty_point

When we pass this amount of damage we start shooting bolts

dynamic_heat_modifier

Affects the amount of o2 and plasma the sm outputs, along with the heat it makes.

dynamic_heat_resistance

Affects the amount of damage and minimum point at which the sm takes heat damage

emergency_alert

The alert we send when we've reached emergency_point

emergency_point

The point at which we start sending messages to the common channel

engineering_channel

The engineering channel

environment_total_moles

Total mole count of the environment we are in

explosion_point

The point at which we delam

explosion_power

A scaling value that affects the severity of explosions.

final_countdown

Are we exploding?

gas_change_rate

Determines the rate of positve change in gas comp values

gas_comp

The list of gases mapped against their current comp. We use this to calculate different values the supermatter uses, like power or heat resistance. It doesn't perfectly match the air around the sm, instead moving up at a rate determined by gas_change_rate per call. Ranges from 0 to 1

gas_heat

The list of gases mapped against their heat penaltys. We use it to determin molar and heat output

gas_powermix

The list of gases mapped against their powermix ratio

gas_resist

The list of gases mapped against their heat resistance. We use it to moderate heat damage.

gas_trans

The list of gases mapped against their transmit values. We use it to determine the effect different gases have on the zaps

gasefficency

The portion of the gasmix we're on that we should remove

gases_we_care_about

The list of gases we will be interacting with in process_atoms()

gasmix_power_ratio

Affects the power gain the sm experiances from heat

gl_uid

The amount of supermatters that have been created this round

hallucination_power

How much hallucination should we produce per unit of power?

has_been_powered

Boolean used for logging if we've been powered

has_destabilizing_crystal

Do we have a destabilizing crystal attached?

has_reached_emergency

Boolean used for logging if we've passed the emergency point

hue_angle_shift

Hue shift of the zaps color based on the power of the crystal

include_in_cims

Do we show this crystal in the CIMS modular program

is_main_engine

Used along with a global var to track if we can give out the sm sliver stealing objective

last_accent_sound

cooldown tracker for accent sounds

last_power_zap

Stores the time of when the last zap occurred

lastwarning

Time in 1/10th of seconds since the last sent warning

matter_power

Takes the energy throwing things into the sm generates and slowly turns it into actual power

mole_heat_penalty

Used to increase or lessen the amount of damage the sm takes from heat based on molar counts.

moveable

Can it be moved?

power

Refered to as eer on the moniter. This value effects gas output, heat, damage, and radiation.

power_changes

Disables power changes

power_transmission_bonus

Affects the amount of radiation the sm makes. We multiply this with power to find the zap power.

powerloss_dynamic_scaling

Based on co2 percentage, slowly moves between 0 and 1. We use it to calc the powerloss_inhibitor

powerloss_inhibitor

Uses powerloss_dynamic_scaling and combined_gas to lessen the effects of our powerloss functions

pressure_bonus_curve_angle

How steeply angled is the pressure bonus curve? Higher values means more of the bonus is available at higher pressures. Note that very low values can keep the bonus very close to 1 until it's nearly a vaccuum. Higher values can introduce diminishing returns on lower pressure.

pressure_bonus_derived_constant

These values are calculated from the above in update_constants() and immediately overwritten The default values will always result in a no-op 1x modifier, in case something breaks.

pressure_bonus_max_multiplier

Pressure bonus constants If the SM is operating in sufficiently low pressure, increase power output. This needs both a small amount of gas and a strong cooling system to keep temperature low in a low heat capacity environment. These constants are used to derive the values in the pressure bonus equation from human-meaningful values If you're varediting these, call update_constants() to update the derived values What is the maximum multiplier reachable from having low pressure?

pressure_bonus_max_pressure

At what environmental pressure, in kPa, should we start giving a pressure bonus?

processes

Disables the sm's proccessing totally.

produces_gas

Disables the production of gas, and pretty much any handling of it we do.

psyCoeff

Var that increases from 0 to 1 when a psycologist is nearby, and decreases in the same way

psyOverlay

A pinkish overlay used to denote the presance of a psycologist. We fade in and out of this depending on the amount of time they've spent near the crystal

psy_overlay

Should we check the psy overlay?

radio

Our internal radio

radio_key

The key our internal radio uses

safe_alert

Our "Shit is no longer fucked" message. We send it when damage is less then damage_archived

soundloop

Our soundloop

takes_damage

Disables all methods of taking damage

uid

The id of our supermatter

warning_alert

The alert we send when we've reached warning_point

warning_point

The point at which we should start sending messeges about the damage to the engi channels.

warp

Reference to the warp effect

zap_cutoff

The cutoff for a bolt jumping, grows with heat, lowers with higher mol count,

zap_icon

Tracks the bolt color we are using

Proc Details

check_cascade_requirements

Checks if and why the supermatter is in a state where it can cascade

Returns: cause of the cascade, for logging

handle_crystal_sounds

The power that is getting lost this tick.

tram_contents_consume

Consume things that run into the supermatter from the tram. The tram calls forceMove (doesn't call Bump/ed) and not Move, and I'm afraid changing it will do something chaotic