mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Being in space kills you again with solar flares / rad storms. Also now affects deep space (#22264)
* Being in space kills you again with solar flares / rad storms. Also now affects deep space * oh god unit tests. * fucking autocomplete * I will murder autocomplete. It will not survive. * Rename trait * Update code/datums/weather/weather_types/radiation_storm.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> --------- Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/proc/is_level_reachable(z)
|
||||
return check_level_trait(z, REACHABLE)
|
||||
return check_level_trait(z, REACHABLE_BY_CREW)
|
||||
|
||||
/proc/is_station_level(z)
|
||||
return check_level_trait(z, STATION_LEVEL)
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
/datum/map_per_tile_test/structures_in_farspace_checker
|
||||
|
||||
/datum/map_per_tile_test/structures_in_farspace_checker/CheckTile(turf/T)
|
||||
if(T.loc.type == /area/space && locate(/obj/structure) in T.contents)
|
||||
if((T.loc.type == /area/space || T.loc.type == /area/space/centcomm) && locate(/obj/structure) in T.contents)
|
||||
Fail(T, "tile contains at least one structure found in non-near space area")
|
||||
|
||||
/datum/map_per_tile_test/nearspace_checker
|
||||
|
||||
Reference in New Issue
Block a user