radioactivity 
Radioactivity Component
When applied to an atom it will make it radioactive
Vars | |
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 |
Procs | |
Initialize | Radioactivity 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:
- rad_per_interaction How much rads our parent emits per interaction
- rad_interaction_chance (otional) Chance for emission to occur on interaction (1-100), doesn't count if 0
- rad_interaction_cooldown (otional) Cooldown between rads emission on interaction
- rad_interaction_radius (optional) Radius for radiation effect on interaction, 0 = atom's turf
- rad_per_cycle (optional) How much rads our parent emits per time cycle
- rad_cycle (optional) How ofter radiation fired if rad_per_cycle is not a zero value
- rad_cycle_radius (optional) Radius for radiation effect on cycle, 0 = atom's turf
- negate_armor (optional) Wheter radiation should ignore armor protection
- interact_callback (optional) Additional callback on the parent to be called when someone interact with our atom
- cycle_callback (optional) Additional callback on the parent to be called per cycle