Space Station 13 - Modules - TypesVar Details - Proc Details

beacon

Vars

BEACON_STATE_OFFThe beacon is currently off.
BEACON_STATE_ONThe beacon is currently active.
beacon_stateInteger (ON of BEACON_STATE_*). The current state of the beacon.
broadcast_chanceInteger. Percentage change of a legion message broadcast per tick.
broadcast_rateInteger. Minimum time between legion message broadcasts.
last_broadcast_timeInteger. world.time of the last legion broadcast.
last_spawn_timeInteger. world.time of the last mob spawn.
linked_mobsList (Types of /mob/living/simple_animal/hostile/legion). Mobs that this beacon has spawned and is linked to.
max_active_botsInteger. Maximum number of active bots this beacon can have spawned at any given time.
max_retreat_rangeInteger. Maximum range in tiles the beacon can retreat in.
min_retreat_rangeInteger. Minimum range in tiles the beacon can retreat in.
sensor_rangeInteger. Range, in tiles, the beacon will detect mobs.
spawn_rangeInteger. Max range, in tiles, the beacon can spawn a legion in.
spawn_rateInteger. Time between mob spawns.
spawn_typesList (Type paths of /mob/living/simple_animal/hostile/legion). Type paths that this beacon can spawn.

Procs

effect_warpCreates a warp effect on the beacon's current turf.
retreatThe beacon teleports to a new location in a radius within turfs_in_max_range, first trying a turf outside turfs_in_min_range then one within minimum. If no valid turf is found, nothing happens.

Var Details

BEACON_STATE_OFF

The beacon is currently off.

BEACON_STATE_ON

The beacon is currently active.

beacon_state

Integer (ON of BEACON_STATE_*). The current state of the beacon.

broadcast_chance

Integer. Percentage change of a legion message broadcast per tick.

broadcast_rate

Integer. Minimum time between legion message broadcasts.

last_broadcast_time

Integer. world.time of the last legion broadcast.

last_spawn_time

Integer. world.time of the last mob spawn.

linked_mobs

List (Types of /mob/living/simple_animal/hostile/legion). Mobs that this beacon has spawned and is linked to.

max_active_bots

Integer. Maximum number of active bots this beacon can have spawned at any given time.

max_retreat_range

Integer. Maximum range in tiles the beacon can retreat in.

min_retreat_range

Integer. Minimum range in tiles the beacon can retreat in.

sensor_range

Integer. Range, in tiles, the beacon will detect mobs.

spawn_range

Integer. Max range, in tiles, the beacon can spawn a legion in.

spawn_rate

Integer. Time between mob spawns.

spawn_types

List (Type paths of /mob/living/simple_animal/hostile/legion). Type paths that this beacon can spawn.

Proc Details

effect_warp

Creates a warp effect on the beacon's current turf.

retreat

The beacon teleports to a new location in a radius within turfs_in_max_range, first trying a turf outside turfs_in_min_range then one within minimum. If no valid turf is found, nothing happens.