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:
Qwertytoforty
2023-09-19 16:57:09 +01:00
committed by GitHub
co-authored by Luc
parent c559993703
commit d750db7011
9 changed files with 61 additions and 53 deletions
@@ -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)
+1 -1
View File
@@ -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