radiation_wave 
Vars | |
__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 |
Procs | |
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 |
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