mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MDB IGNORE] More /area/ typepath organization and cleanup (#67107)
This further continues what I did in b4fb8f3ed1 (but instead of just stations, its now every (most) applicable area in the game
This commit is contained in:
@@ -36,7 +36,7 @@ GLOBAL_LIST_INIT(typecache_holodeck_linked_floorcheck_ok, typecacheof(list(/turf
|
||||
|
||||
//new vars
|
||||
///what area type this holodeck loads into. linked turns into the nearest instance of this area
|
||||
var/area/mapped_start_area = /area/holodeck/rec_center
|
||||
var/area/mapped_start_area = /area/station/holodeck/rec_center
|
||||
|
||||
///the currently used map template
|
||||
var/datum/map_template/holodeck/template
|
||||
@@ -50,7 +50,7 @@ GLOBAL_LIST_INIT(typecache_holodeck_linked_floorcheck_ok, typecacheof(list(/turf
|
||||
//old vars
|
||||
|
||||
///the area that this holodeck loads templates into, used for power and deleting holo objects that leave it
|
||||
var/area/holodeck/linked
|
||||
var/area/station/holodeck/linked
|
||||
|
||||
///what program is loaded right now or is about to be loaded
|
||||
var/program = "holodeck_offline"
|
||||
@@ -102,7 +102,7 @@ GLOBAL_LIST_INIT(typecache_holodeck_linked_floorcheck_ok, typecacheof(list(/turf
|
||||
return
|
||||
|
||||
var/area/computer_area = get_area(src)
|
||||
if(istype(computer_area, /area/holodeck))
|
||||
if(istype(computer_area, /area/station/holodeck))
|
||||
log_mapping("Holodeck computer cannot be in a holodeck, This would cause circular power dependency.")
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user