Area definitions cleanup (Horizon/Runtime) (#20914)

**Goals:**
1. Delete area definitions no longer used in any map or file.
2. Update area definitions such that everything used in mapping the
Horizon exists in 'maps\sccv_horizon\areas' with the parent
'area\horizon\'.
3. Reorganize/rename/restructure those Horizon area definitions to make
future mapping easier and code that hooks into area properties easier.
4. Present area names and blurbs in the status panel.

This PR only handles Horizon and Runtime areas, for digestibility/ease
of reviewing. Offsite areas for another PR.

Naming convention reference:
The /area/ 'name' variable no longer contains either 'Horizon' or the
Deck# of the area or its approx location on the ship. All Horizon areas
now have several new variables as metadata-- area names now need only be
strictly descriptive, and the appropriate constants used in the area
definition, and a new function generates the display name with
consistent formatting for us.

Detailed documentation to follow after any adjustments are made to
mappers' preferences.

This also adds area blurbs to most areas- if not bespoke, then general
department-wide blurbs to parents. I know feature creep always sucks,
but while some areas having pre-existing blurbs, the overwhelming
majority of areas don't, and while testing it was very distracting to
see them randomly appearing and disappearing. Most blurbs are pretty
basic but I feel are entirely presentable- more clever individual ones
can follow in a separate PR.
This commit is contained in:
Batrachophreno
2025-07-25 15:16:33 -04:00
committed by GitHub
parent 8962bb5f89
commit 0851144182
68 changed files with 127943 additions and 126964 deletions
+139
View File
@@ -61,6 +61,145 @@
map_shuttles = list(/datum/shuttle/autodock/overmap/runtime)
warehouse_basearea = /area/storage/primary
/**
* This file is the only location in which runtime map areas should be defined.
* Each department (or other appropriate grouping) will have its own section that you can jump to with ctrl-f.
* For convenience, these groupings are:
* CREW_AREAS
* COMMAND_AREAS
* ENGINEERING_AREAS
* MAINTENANCE_AREAS
* MEDICAL_AREAS
* OPERATIONS_AREAS
* SCIENCE_AREAS
* SECURITY_AREAS
* SERVICE_AREAS
* TCOMMS_AREAS
*
* GUIDELINES:
* - The Horizon should not have any areas mapped to it which are defined outside this file.
* - Any PR that removes all areas of a given definition should also remove that definition from this file.
* - No area should exist across multiple decks. Ex., an elevator vestibule on all three decks should have three
* child definitions, one for each deck. This is both for organization and for managing area objects like APCs etc.
* - Update the groupings list if anything is added/removed.
*/
/// CIVILIAN_AREAS
// Hallways
/area/hallway
sound_environment = SOUND_AREA_LARGE_ENCLOSED
allow_nightmode = TRUE
station_area = TRUE
lightswitch = TRUE
holomap_color = HOLOMAP_AREACOLOR_HALLWAYS
emergency_lights = TRUE
/area/hallway/primary/aft
name = "Aft Primary Hallway"
icon_state = "hallA"
/area/hallway/primary/central_one
name = "Central Primary Hallway"
icon_state = "hallC1"
/area/hallway/primary/central_two
name = "Central Primary Hallway"
icon_state = "hallC2"
/// COMMAND_AREAS
/area/bridge
name = "Bridge"
icon_state = "bridge"
no_light_control = 1
station_area = TRUE
holomap_color = HOLOMAP_AREACOLOR_COMMAND
area_blurb = "The sound here seems to carry more than others, every click of a shoe or clearing of a throat amplified. The smell of ink, written and printed, wafts notably through the air."
area_blurb_category = "command"
/// ENGINEERING_AREAS
/area/engineering
name = "Engineering"
icon_state = "engineering"
ambience = AMBIENCE_ENGINEERING
station_area = TRUE
holomap_color = HOLOMAP_AREACOLOR_ENGINEERING
/area/engineering/atmos
name = "Engineering - Atmospherics"
icon_state = "atmos"
sound_environment = SOUND_AREA_LARGE_ENCLOSED
no_light_control = 1
ambience = list(AMBIENCE_ENGINEERING, AMBIENCE_ATMOS)
area_blurb = "Many volume tanks filled with gas reside here, some providing vital gases for the vessel's life support systems."
area_blurb_category = "atmos"
/area/engineering/gravity_gen
name = "Engineering - Gravity Generator"
icon_state = "engine"
/// MAINTENANCE_AREAS
/area/maintenance
station_area = TRUE
area_flags = AREA_FLAG_RAD_SHIELDED | AREA_FLAG_HIDE_FROM_HOLOMAP
sound_environment = SOUND_AREA_TUNNEL_ENCLOSED
turf_initializer = new /datum/turf_initializer/maintenance()
ambience = AMBIENCE_MAINTENANCE
area_blurb = "Scarcely lit, cramped, and filled with stale, dusty air. Around you hisses compressed air through the pipes, a buzz of electrical charge through the wires, and muffled rumbles of the hull settling. This place may feel alien compared to the interior of the ship and is a place where one could get lost or badly hurt, but some may find the isolation comforting."
area_blurb_category = "maint"
/area/maintenance/maintcentral
name = "Bridge Maintenance"
icon_state = "maintcentral"
/// MEDICAL_AREAS
/// OPERATIONS_AREAS
// Smalls
/area/outpost
ambience = AMBIENCE_EXPOUTPOST
// Main mining
/area/outpost/mining_main
icon_state = "outpost_mine_main"
station_area = TRUE
holomap_color = HOLOMAP_AREACOLOR_OPERATIONS
/area/outpost/mining_main/eva
name = "Mining EVA storage"
/// SCIENCE_AREAS
/// SECURITY_AREAS
/area/security
no_light_control = 1
station_area = FALSE
holomap_color = HOLOMAP_AREACOLOR_SECURITY
/// SERVICE_AREAS
/// STORAGE_AREAS
//Storage
/area/storage
station_area = TRUE
/area/storage/primary
name = "Primary Tool Storage"
icon_state = "primarystorage"
allow_nightmode = 1
/// TCOMMS_AREAS
/area/tcommsat
ambience = AMBIENCE_ENGINEERING
no_light_control = 1
station_area = TRUE
holomap_color = HOLOMAP_AREACOLOR_ENGINEERING
/area/tcommsat/chamber
name = "Telecoms Central Compartment"
icon_state = "tcomsatcham"
area_blurb = "Countless machines sit here, an unfathomably complicated network that runs every radio and computer connection. The air lacks any notable scent, having been filtered of dust and pollutants before being allowed into the room and all the sensitive machinery."
/area/tcommsat/computer
name = "Telecoms Control Room"
icon_state = "tcomsatcomp"
/area/turbolift/main_station
name = "Civilian Lift - Main"
+2 -4
View File
@@ -11,10 +11,8 @@
/area/space,
/area/turbolift,
/area/construction/storage,
/area/turret_protected/ai_upload_foyer,
/area/turret_protected/ai,
/area/tcommsat/chamber,
/area/tcommsat/computer,
/area/turret_protected,
/area/tcommsat,
/area/construction/hallway
)
excluded_test_types = list(