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

Swarmer Beacon

Beacon which creates sentient player swarmers.

The beacon which creates sentient player swarmers during the swarmer event. Spawns in maint on xeno locations, and can create a player swarmer once every 30 seconds. The beacon cannot be damaged by swarmers, and must be destroyed to prevent the spawning of further player-controlled swarmers. Holds a swarmer within itself during the 30 seconds before releasing it and allowing for another swarmer to be spawned in.

Vars

processing_swarmerWhether or not a swarmer is currently being created by this beacon
swarmerlistReference to all the swarmers currently alive this beacon has created

Procs

que_swarmerInteraction when a ghost interacts with a swarmer beacon
release_swarmerReleases a swarmer from the beacon and tells it what to do
remove_swarmerRemoves a swarmer from the beacon's list.

Var Details

processing_swarmer

Whether or not a swarmer is currently being created by this beacon

swarmerlist

Reference to all the swarmers currently alive this beacon has created

Proc Details

que_swarmer

Interaction when a ghost interacts with a swarmer beacon

Called when a ghost interacts with a swarmer beacon, allowing them to become a swarmer Arguments:

release_swarmer

Releases a swarmer from the beacon and tells it what to do

Occcurs 5 + (alive swarmers made from beacon * 2) seconds after a ghost becomes a swarmer. The beacon releases it, tells it what to do, and opens itself up to spawn in a new swarmer. Arguments:

remove_swarmer

Removes a swarmer from the beacon's list.

Removes the swarmer from our list. Called specifically when a swarmer is about to be destroyed, so we don't have any null references. Arguments: