beacon ![packs/legion/structure.dm 6](git.png)
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_change | 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 ![packs/legion/structure.dm 53](git.png)
The beacon is currently off.
BEACON_STATE_ON ![packs/legion/structure.dm 55](git.png)
The beacon is currently active.
beacon_state ![packs/legion/structure.dm 42](git.png)
Integer (ON of BEACON_STATE_*
). The current state of the beacon.
broadcast_change ![packs/legion/structure.dm 36](git.png)
Integer. Percentage change of a legion message broadcast per tick.
broadcast_rate ![packs/legion/structure.dm 33](git.png)
Integer. Minimum time between legion message broadcasts.
last_broadcast_time ![packs/legion/structure.dm 39](git.png)
Integer. world.time
of the last legion broadcast.
last_spawn_time ![packs/legion/structure.dm 30](git.png)
Integer. world.time
of the last mob spawn.
linked_mobs ![packs/legion/structure.dm 15](git.png)
List (Types of /mob/living/simple_animal/hostile/legion
). Mobs that this beacon has spawned and is linked to.
max_active_bots ![packs/legion/structure.dm 45](git.png)
Integer. Maximum number of active bots this beacon can have spawned at any given time.
max_retreat_range ![packs/legion/structure.dm 48](git.png)
Integer. Maximum range in tiles the beacon can retreat in.
min_retreat_range ![packs/legion/structure.dm 50](git.png)
Integer. Minimum range in tiles the beacon can retreat in.
sensor_range ![packs/legion/structure.dm 24](git.png)
Integer. Range, in tiles, the beacon will detect mobs.
spawn_range ![packs/legion/structure.dm 21](git.png)
Integer. Max range, in tiles, the beacon can spawn a legion in.
spawn_rate ![packs/legion/structure.dm 27](git.png)
Integer. Time between mob spawns.
spawn_types ![packs/legion/structure.dm 18](git.png)
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.