beacon
Vars | |
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. |
Procs | |
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. |
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.