Areas and station areas work (#20195)

Refactored sorting.
Added test to verify all horizon areas (outside exceptions) are marked
as station areas.
Added test to verify shuttle areas are not marked as station areas.
Refactored how the area sorting var is made and used.
Added a global list of all areas.
This commit is contained in:
Fluffy
2024-11-27 13:13:44 +00:00
committed by GitHub
parent 916df7c9a4
commit 389466360e
44 changed files with 482 additions and 228 deletions
@@ -63,7 +63,7 @@
if(href_list["setarea"])
if(!call_area_names)
call_area_names = list()
for(var/area/A as anything in GLOB.all_areas)
for(var/area/A as anything in get_sorted_areas())
if(A.station_area)
call_area_names += A.name
//Probably should consider using another list, but this one will do.