Space Station 13 - Modules - TypesVar Details - Proc Details

radioactivity

Radioactivity Component

When applied to an atom it will make it radioactive

Vars

cycle_callbackOptional callback to be called per cycle
cycle_timerTimer ID
interact_callbackOptional callback to be called when someone interact with our atom
last_interact_timeTimestamp for interaction cooldown
negate_armorWheter radiation should ignore armor protection
rad_cycleHow ofter radiation fired if rad_per_cycle is anything but zero
rad_cycle_chanceChance for radiation to fire per cycle, if zero it doesn't count
rad_cycle_radiusRadius for radiation effect per cycle
rad_interaction_chanceChance for radiation to fire on interaction, if zero it doesn't count
rad_interaction_cooldownCooldown between rads emissions
rad_interaction_radiusRadius for radiation effect on interaction
rad_per_cycleHow much rads our parent emits per cycle
rad_per_interactionHow much rads our parent emits per interaction

Procs

InitializeRadioactivity Component

Var Details

cycle_callback

Optional callback to be called per cycle

cycle_timer

Timer ID

interact_callback

Optional callback to be called when someone interact with our atom

last_interact_time

Timestamp for interaction cooldown

negate_armor

Wheter radiation should ignore armor protection

rad_cycle

How ofter radiation fired if rad_per_cycle is anything but zero

rad_cycle_chance

Chance for radiation to fire per cycle, if zero it doesn't count

rad_cycle_radius

Radius for radiation effect per cycle

rad_interaction_chance

Chance for radiation to fire on interaction, if zero it doesn't count

rad_interaction_cooldown

Cooldown between rads emissions

rad_interaction_radius

Radius for radiation effect on interaction

rad_per_cycle

How much rads our parent emits per cycle

rad_per_interaction

How much rads our parent emits per interaction

Proc Details

Initialize

Radioactivity Component

Arguments: