area ![code/game/area/areas.dm 1](git.png)
Vars | |
always_unpowered | If TRUE, machines that require power in this area will never be powered |
---|---|
apc | All APCs currently constructed in this area |
apc_starts_off | If TRUE, the local powernet in this area will have all its power channels switched off |
can_get_auto_cryod | Do we despawn the person in this area? Pretty much just used in security areas that aren't permabrig |
fast_despawn | Do we quickly despawn the person in this area? Pretty much just used in permabrig |
global_uid | Static var that is incremented when the UID of a area is being assigned. |
hide_attacklogs | For areas such as thunderdome which generate a lot of spammy attacklogs. Reduces log priority. |
is_haunted | "Haunted" areas such as the morgue and chapel are easier to boo. Because flavor. |
lightswitch | Is the lightswitch in this area on? Controls whether or not lights are on and off |
map_name | Set in New(); preserves the name set by the map maker, even if renamed by the Blueprints. |
master_air_alarm | The air alarm to use for atmos_alert consoles |
max_ambience_cooldown | Used to decide what the maximum time between ambience is |
min_ambience_cooldown | Used to decide what the minimum time between ambience is |
moving | Is a shuttle moving to our area? |
parallax_move_direction | Handles the direction parallax will be moved in. References |
powernet | The local powernet of this area, this is where all machine/apc/object power related operations are handled |
request_console_announces | Whether request consoles in this area can send announcements. |
request_console_flags | The flags applied to request consoles spawned in this area. See RC_ASSIST, RC_SUPPLY, RC_INFO. |
request_console_name | The name for any spawned request consoles. Defaults to the area name. |
requires_power | If TRUE, this area's local powernet will require power to properly operate machines |
scrubbers | The list of scrubbers in our area. |
sound_environment | Used to decide what kind of reverb the area makes sound have |
turret_controls | Turrets use this list to see if individual power/lethal settings are allowed. Contains the /obj/machinery/turretid for this area |
valid_territory | used for cult summoning areas on station zlevel |
vents | The list of vents in our area. |
window_tint | Is the window tint control in this area on? Controls whether electrochromic windows and doors are tinted or not |
Procs | |
ModifyFiredoors | Try to close all the firedoors in the area |
atmosalert | Generate an atmospheric alert for this area |
burglaralert | Raise a burglar alert for this area |
close_and_lock_door | Close and lock a door passed into this proc |
firealert | Generate a firealarm alert for this area |
firereset | Reset the firealarm alert for this area |
poweralert | Generate a power alert for this area |
process | If 100 ticks has elapsed, toggle all the firedoors closed again |
set_fire_alarm_effect | Trigger the fire alarm visual affects in an area |
unset_fire_alarm_effects | unset the fire alarm visual affects in an area |
Var Details
always_unpowered ![code/game/area/areas.dm 30](git.png)
If TRUE, machines that require power in this area will never be powered
apc ![code/game/area/areas.dm 34](git.png)
All APCs currently constructed in this area
apc_starts_off ![code/game/area/areas.dm 26](git.png)
If TRUE, the local powernet in this area will have all its power channels switched off
can_get_auto_cryod ![code/game/area/areas.dm 74](git.png)
Do we despawn the person in this area? Pretty much just used in security areas that aren't permabrig
fast_despawn ![code/game/area/areas.dm 72](git.png)
Do we quickly despawn the person in this area? Pretty much just used in permabrig
global_uid ![code/game/area/areas.dm 54](git.png)
Static var that is incremented when the UID of a area is being assigned.
hide_attacklogs ![code/game/area/areas.dm 76](git.png)
For areas such as thunderdome which generate a lot of spammy attacklogs. Reduces log priority.
is_haunted ![code/game/area/areas.dm 82](git.png)
"Haunted" areas such as the morgue and chapel are easier to boo. Because flavor.
lightswitch ![code/game/area/areas.dm 22](git.png)
Is the lightswitch in this area on? Controls whether or not lights are on and off
map_name ![code/game/area/areas.dm 20](git.png)
Set in New(); preserves the name set by the map maker, even if renamed by the Blueprints.
master_air_alarm ![code/game/area/areas.dm 65](git.png)
The air alarm to use for atmos_alert consoles
max_ambience_cooldown ![code/game/area/areas.dm 89](git.png)
Used to decide what the maximum time between ambience is
min_ambience_cooldown ![code/game/area/areas.dm 87](git.png)
Used to decide what the minimum time between ambience is
moving ![code/game/area/areas.dm 80](git.png)
Is a shuttle moving to our area?
parallax_move_direction ![code/game/area/areas.dm 78](git.png)
Handles the direction parallax will be moved in. References
powernet ![code/game/area/areas.dm 32](git.png)
The local powernet of this area, this is where all machine/apc/object power related operations are handled
request_console_announces ![code/game/area/areas.dm 100](git.png)
Whether request consoles in this area can send announcements.
request_console_flags ![code/game/area/areas.dm 96](git.png)
The flags applied to request consoles spawned in this area. See RC_ASSIST, RC_SUPPLY, RC_INFO.
request_console_name ![code/game/area/areas.dm 98](git.png)
The name for any spawned request consoles. Defaults to the area name.
requires_power ![code/game/area/areas.dm 28](git.png)
If TRUE, this area's local powernet will require power to properly operate machines
scrubbers ![code/game/area/areas.dm 69](git.png)
The list of scrubbers in our area.
sound_environment ![code/game/area/areas.dm 84](git.png)
Used to decide what kind of reverb the area makes sound have
turret_controls ![code/game/area/areas.dm 92](git.png)
Turrets use this list to see if individual power/lethal settings are allowed. Contains the /obj/machinery/turretid for this area
valid_territory ![code/game/area/areas.dm 18](git.png)
used for cult summoning areas on station zlevel
vents ![code/game/area/areas.dm 67](git.png)
The list of vents in our area.
window_tint ![code/game/area/areas.dm 24](git.png)
Is the window tint control in this area on? Controls whether electrochromic windows and doors are tinted or not
Proc Details
ModifyFiredoors
Try to close all the firedoors in the area
atmosalert
Generate an atmospheric alert for this area
Sends to all ai players, alert consoles, drones and alarm monitor programs in the world
burglaralert
Raise a burglar alert for this area
Close and locks all doors in the area and alerts silicon mobs of a break in
Alarm auto resets after 600 ticks
close_and_lock_door
Close and lock a door passed into this proc
Does this need to exist on area? probably not
firealert
Generate a firealarm alert for this area
Sends to all ai players, alert consoles, drones and alarm monitor programs in the world
Also starts the area processing on SSobj
firereset
Reset the firealarm alert for this area
resets the alert sent to all ai players, alert consoles, drones and alarm monitor programs in the world
Also cycles the icons of all firealarms and deregisters the area from processing on SSOBJ
poweralert
Generate a power alert for this area
Sends to all ai players, alert consoles, drones and alarm monitor programs in the world
process
If 100 ticks has elapsed, toggle all the firedoors closed again
set_fire_alarm_effect
Trigger the fire alarm visual affects in an area
Updates the fire light on fire alarms in the area and sets all lights to emergency mode
unset_fire_alarm_effects
unset the fire alarm visual affects in an area