SS1984 - Modules - Types — Var Details - Proc Details

swarmer

Swarmer structures

Has 4 different interactions based on swarmer's intent, separated in swarmer_act(). All structures of this type allow swarmer projectiles to pass through them.

Vars

lon_rangeLight range
projectiles_passDo we let swarmer projectiles pass through
swarmer_examineText shown on examine to swarmers
swarmers_passDo we let swarmers pass through

Procs

swarmer_disarm_actSpecial intent handling for swarmer clicks on swarmer structures. Used for repairing.
swarmer_grab_actSpecial intent handling for swarmer clicks on swarmer structures. Used by builders for anchoring.
swarmer_harm_actSpecial intent handling for swarmer clicks on swarmer structures. Used by builders for destroying.
swarmer_help_actSpecial intent handling for swarmer clicks on swarmer structures. All structures are not interactable, if unanchored.

Var Details

lon_range

Light range

projectiles_pass

Do we let swarmer projectiles pass through

swarmer_examine

Text shown on examine to swarmers

swarmers_pass

Do we let swarmers pass through

Proc Details

swarmer_disarm_act

Special intent handling for swarmer clicks on swarmer structures. Used for repairing.

swarmer_grab_act

Special intent handling for swarmer clicks on swarmer structures. Used by builders for anchoring.

Returns TRUE, if we successfully unanchored/anchored src. Returns FALSE otherwise.

swarmer_harm_act

Special intent handling for swarmer clicks on swarmer structures. Used by builders for destroying.

swarmer_help_act

Special intent handling for swarmer clicks on swarmer structures. All structures are not interactable, if unanchored.