glowshroom
Vars | |
blacklisted_glowshroom_turfs | Turfs where the glowshroom cannot spread to |
---|---|
delay_decay | Time interval between glowshroom decay checks |
delay_spread | Time interval between glowshroom "spreads" |
floor | Boolean to indicate if the shroom is on the floor/wall |
generation | Mushroom generation number |
myseed | Internal seed of the glowshroom, stats are stored here |
spreadIntoAdjacentChance | Chance to spread into adjacent tiles (0-100) |
Procs | |
Decay | Causes the glowshroom to decay by decreasing its endurance. |
Initialize | |
Spread | Causes glowshroom spreading across the floor/walls. |
Var Details
blacklisted_glowshroom_turfs
Turfs where the glowshroom cannot spread to
delay_decay
Time interval between glowshroom decay checks
delay_spread
Time interval between glowshroom "spreads"
floor
Boolean to indicate if the shroom is on the floor/wall
generation
Mushroom generation number
myseed
Internal seed of the glowshroom, stats are stored here
spreadIntoAdjacentChance
Chance to spread into adjacent tiles (0-100)
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
Spread
Causes glowshroom spreading across the floor/walls.