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

factory

Vars

blobbernautIts Blobbernaut, if it has spawned any.
is_creating_blobbernautUsed in blob/powers.dm, checks if it's already trying to spawn a blobbernaut to prevent issues.
max_sporesHow many spores this factory can have.
spores_and_zombiesThe list of spores and zombies

Procs

assign_blobbernautProduce a blobbernaut
on_blobbernaut_deathWhen our brave soldier dies, reset our max integrity
on_spore_diedWhen a spore or zombie dies reset our spawn cooldown so we don't instantly replace it
on_spore_lostWhen a spore is deleted remove it from our list
on_zombie_createdWhen a spore makes a zombie add it to our mobs list
register_mobTracks the existence of a mob in our mobs list

Var Details

blobbernaut

Its Blobbernaut, if it has spawned any.

is_creating_blobbernaut

Used in blob/powers.dm, checks if it's already trying to spawn a blobbernaut to prevent issues.

max_spores

How many spores this factory can have.

spores_and_zombies

The list of spores and zombies

Proc Details

assign_blobbernaut

Produce a blobbernaut

on_blobbernaut_death

When our brave soldier dies, reset our max integrity

on_spore_died

When a spore or zombie dies reset our spawn cooldown so we don't instantly replace it

on_spore_lost

When a spore is deleted remove it from our list

on_zombie_created

When a spore makes a zombie add it to our mobs list

register_mob

Tracks the existence of a mob in our mobs list