mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +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:
@@ -77,7 +77,7 @@
|
||||
/// Checks whether a given atom's turf is within bounds. Returns TRUE if it is, FALSE if it isn't.
|
||||
/datum/component/stationloving/proc/atom_in_bounds(atom/atom_to_check)
|
||||
var/static/list/allowed_shuttles = typecacheof(list(/area/shuttle/syndicate, /area/shuttle/escape, /area/shuttle/pod_1, /area/shuttle/pod_2, /area/shuttle/pod_3, /area/shuttle/pod_4))
|
||||
var/static/list/disallowed_centcom_areas = typecacheof(list(/area/abductor_ship, /area/awaymission/errorroom))
|
||||
var/static/list/disallowed_centcom_areas = typecacheof(list(/area/centcom/abductor_ship, /area/awaymission/errorroom))
|
||||
var/turf/destination_turf = get_turf(atom_to_check)
|
||||
if (!destination_turf)
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user