Revert "12/21 modernizations from TG live"

This commit is contained in:
LetterJay
2016-12-22 22:35:44 -06:00
committed by GitHub
parent cf59ac1c3d
commit ae40d4134e
2215 changed files with 86928 additions and 707332 deletions
+3 -19
View File
@@ -1,7 +1,7 @@
/proc/radiation_pulse(turf/epicenter, heavy_range, light_range, severity, log=0)
if(!epicenter || !severity) return
if(!isturf(epicenter))
if(!istype(epicenter, /turf))
epicenter = get_turf(epicenter.loc)
if(heavy_range > light_range)
@@ -29,25 +29,9 @@
/atom/proc/rad_act(var/severity)
return 1
/mob/living/rad_act(amount, silent = 0)
/mob/living/rad_act(amount)
if(amount)
var/blocked = getarmor(null, "rad")
if(!silent)
src << "Your skin feels warm."
var/blocked = run_armor_check(null, "rad", "Your clothes feel warm.", "Your clothes feel warm.")
apply_effect(amount, IRRADIATE, blocked)
for(var/obj/I in src) //Radiation is also applied to items held by the mob
I.rad_act(amount)
/mob/living/carbon/rad_act(amount, silent = 0)
if(dna && (RADIMMUNE in dna.species.species_traits))
silent = TRUE
..()
//Silicons will inherently not get irradiated due to having an empty handle_mutations_and_radiation, but they need to not hear this
/mob/living/silicon/rad_act(amount)
. = ..(amount, TRUE)
/mob/living/simple_animal/bot/rad_act(amount)
. = ..(amount, TRUE)