glowshroom
Vars | |
blacklisted_glowshroom_turfs | Turfs where the glowshroom cannot spread to |
---|---|
endurance_decay_rate | Amount of percentage decay affects endurance.max_integrity = |
floor | Boolean to indicate if the shroom is on the floor/wall |
generation | Mushroom generation number |
idle_decay_max | Amount of decay when decay happens on process |
idle_decay_min | Amount of decay when decay happens on process. |
max_delay_spread | Max time interval between glowshroom "spreads" |
min_delay_spread | Min time interval between glowshroom "spreads" |
myseed | Internal seed of the glowshroom, stats are stored here |
spread_cooldown | Cooldown for when next to try to spread. |
spread_into_adjacent_chance | Chance to spread into adjacent tiles (0-100) |
Procs | |
Decay | Causes the glowshroom to decay by decreasing its endurance, destroying it when it gets too low. |
Initialize | Creates a new glowshroom structure. |
process | Causes glowshroom spreading across the floor/walls. |
Var Details
blacklisted_glowshroom_turfs
Turfs where the glowshroom cannot spread to
endurance_decay_rate
Amount of percentage decay affects endurance.max_integrity =
floor
Boolean to indicate if the shroom is on the floor/wall
generation
Mushroom generation number
idle_decay_max
Amount of decay when decay happens on process
idle_decay_min
Amount of decay when decay happens on process.
max_delay_spread
Max time interval between glowshroom "spreads"
min_delay_spread
Min time interval between glowshroom "spreads"
myseed
Internal seed of the glowshroom, stats are stored here
spread_cooldown
Cooldown for when next to try to spread.
spread_into_adjacent_chance
Chance to spread into adjacent tiles (0-100)
Proc Details
Decay
Causes the glowshroom to decay by decreasing its endurance, destroying it when it gets too low.
Arguments:
- amount - Amount of endurance to be reduced due to spread decay.
Initialize
Creates a new glowshroom structure.
Arguments:
- newseed - Seed of the shroom
process
Causes glowshroom spreading across the floor/walls.