glowshroom 
Vars | |
blacklisted_glowshroom_turfs | Turfs where the glowshroom cannot spread to |
---|---|
generation | Mushroom generation number |
is_on_floor | Boolean to indicate if the shroom is on the floor/wall |
max_failed_spreads | If we fail to spread this many times we stop trying to spread |
myseed | Internal seed of the glowshroom, stats are stored here |
Procs | |
Decay | Causes the glowshroom to decay by decreasing its endurance. |
Initialize |
Var Details
blacklisted_glowshroom_turfs 
Turfs where the glowshroom cannot spread to
generation 
Mushroom generation number
is_on_floor 
Boolean to indicate if the shroom is on the floor/wall
max_failed_spreads 
If we fail to spread this many times we stop trying to spread
myseed 
Internal seed of the glowshroom, stats are stored here
Proc Details
Decay
Causes the glowshroom to decay by decreasing its endurance.
Arguments:
- spread - Boolean to indicate if the decay is due to spreading or natural decay.
- amount - Amount of endurance to be reduced due to spread decay.
Initialize
Creates a new glowshroom structure.
Arguments:
- newseed - Seed of the shroom
- mutate_stats - If the plant needs to mutate their stats
- spread - If the plant is a result of spreading, reduce its stats