glowshroom ![code/game/objects/effects/glowshroom.dm 4](git.png)
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 ![code/game/objects/effects/glowshroom.dm 36](git.png)
Turfs where the glowshroom cannot spread to
endurance_decay_rate ![code/game/objects/effects/glowshroom.dm 31](git.png)
Amount of percentage decay affects endurance.max_integrity =
floor ![code/game/objects/effects/glowshroom.dm 21](git.png)
Boolean to indicate if the shroom is on the floor/wall
generation ![code/game/objects/effects/glowshroom.dm 23](git.png)
Mushroom generation number
idle_decay_max ![code/game/objects/effects/glowshroom.dm 29](git.png)
Amount of decay when decay happens on process
idle_decay_min ![code/game/objects/effects/glowshroom.dm 27](git.png)
Amount of decay when decay happens on process.
max_delay_spread ![code/game/objects/effects/glowshroom.dm 19](git.png)
Max time interval between glowshroom "spreads"
min_delay_spread ![code/game/objects/effects/glowshroom.dm 17](git.png)
Min time interval between glowshroom "spreads"
myseed ![code/game/objects/effects/glowshroom.dm 33](git.png)
Internal seed of the glowshroom, stats are stored here
spread_cooldown ![code/game/objects/effects/glowshroom.dm 15](git.png)
Cooldown for when next to try to spread.
spread_into_adjacent_chance ![code/game/objects/effects/glowshroom.dm 25](git.png)
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.