Some more radiation fixes (#19378)

* Some more rad fixes

* Minor fix

* fixes vox ghost goggles
This commit is contained in:
Cameron Lennox
2026-04-08 18:07:02 +02:00
committed by GitHub
parent 4de5a42f2a
commit 0c295af6e7
5 changed files with 70 additions and 20 deletions
+7 -16
View File
@@ -29,22 +29,6 @@
else if(activeFor == leaveBelt)
GLOB.command_announcement.Announce("The [using_map.facility_type] has passed the radiation belt. Please allow for up to one minute while radiation levels dissipate, and report to medbay if you experience any unusual symptoms. Maintenance will lose all access again shortly.", "Anomaly Alert")
/datum/event/radiation_storm/proc/radiate()
//This sucks. Just mutate.
/*
var/radiation_level = rand(15, 35)
for(var/z in using_map.station_levels)
var/turf/epicentre = locate(round(world.maxx / 2), round(world.maxy / 2), z)
if(epicentre)
radiation_pulse(
epicentre,
max_range = 5,
threshold = RAD_MEDIUM_INSULATION,
chance = URANIUM_IRRADIATION_CHANCE,
minimum_exposure_time = URANIUM_RADIATION_MINIMUM_EXPOSURE_TIME,
)
*/
for(var/mob/living/carbon/C in GLOB.living_mob_list)
if(!(C.z in using_map.station_levels) || C.isSynthetic() || isbelly(C.loc))
continue
@@ -53,6 +37,13 @@
continue
if(A.flag_check(RAD_SHIELDED))
continue
radiation_pulse(
get_turf(C),
max_range = 1,
threshold = RAD_LIGHT_INSULATION,
chance = URANIUM_IRRADIATION_CHANCE * 5,
strength = rand(15, 35)
)
if(ishuman(C))
var/mob/living/carbon/human/H = C
var/chance = 5.0