/tg/ Station 13 - Modules - TypesVar Details - Proc Details

glowshroom

Vars

blacklisted_glowshroom_turfsTurfs where the glowshroom cannot spread to
delay_decayTime interval between glowshroom decay checks
delay_spreadTime interval between glowshroom "spreads"
floorBoolean to indicate if the shroom is on the floor/wall
generationMushroom generation number
max_failed_spreadsIf we fail to spread this many times we stop trying to spread
myseedInternal seed of the glowshroom, stats are stored here
spreadIntoAdjacentChanceChance to spread into adjacent tiles (0-100)

Procs

DecayCauses the glowshroom to decay by decreasing its endurance.
Initialize
SpreadCauses 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

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

spreadIntoAdjacentChance

Chance to spread into adjacent tiles (0-100)

Proc Details

Decay

Causes the glowshroom to decay by decreasing its endurance.

Arguments:

Initialize

Creates a new glowshroom structure.

Arguments:

Spread

Causes glowshroom spreading across the floor/walls.