Space Station 13 - Modules - TypesVar Details - Proc Details

radiation_wave

Vars

__dirsThe directions to the side of the wave, stored for easy looping
emission_typeThe type of particle emitted
intensityThe strength at the origin. Multiplied by the weight of a tile to determine the strength of radiation there.
master_turfThe top left corner of the wave, from which we begin iteration on a step
move_dirThe direction of movement
sourceThe thing that spawned this radiation wave
stepsHow far we've moved
weight_sumSum of all weights
weightsWeights of the current tiles in the step going clockwise from the top left corner. Starts as one tile with a weight of 1

Procs

processDeals with wave propagation. Radiation waves always expand in a 90 degree cone
radiateCalls rad act on each relevant atom in the turf and returns the resulting weight for that tile after reduction by insulation

Var Details

__dirs

The directions to the side of the wave, stored for easy looping

emission_type

The type of particle emitted

intensity

The strength at the origin. Multiplied by the weight of a tile to determine the strength of radiation there.

master_turf

The top left corner of the wave, from which we begin iteration on a step

move_dir

The direction of movement

source

The thing that spawned this radiation wave

steps

How far we've moved

weight_sum

Sum of all weights

weights

Weights of the current tiles in the step going clockwise from the top left corner. Starts as one tile with a weight of 1

Proc Details

process

Deals with wave propagation. Radiation waves always expand in a 90 degree cone

radiate

Calls rad act on each relevant atom in the turf and returns the resulting weight for that tile after reduction by insulation