/tg/ Station 13 - Modules - TypesVar Details

supermatter crystal

Vars

base_icon_stateUsed for changing icon states for diff base sprites
bullet_energyHow much the bullets damage should be multiplied by when it is added to the internal variables
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
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 radiation
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_reached_emergencyBoolean used for logging if we've passed the emergency point
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
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 rads.
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
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.
zap_cutoffThe cutoff for a bolt jumping, grows with heat, lowers with higher mol count,
zap_iconTracks the bolt color we are using

Var Details

base_icon_state

Used for changing icon states for diff base sprites

bullet_energy

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

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

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 radiation

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_reached_emergency

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

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

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 rads.

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

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.

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