Changes to singularity radiation and suits.

- The singularity now regularly emits radiation, making it actually dangerous to go into the PA room without protection.
- Made the hoods of suits be less effective at consuming radiation than the body of the suit.
This commit is contained in:
cib
2012-02-24 14:05:47 -08:00
parent 74c50e30b8
commit fc0de6e366
4 changed files with 16 additions and 5 deletions
+13 -2
View File
@@ -406,8 +406,8 @@ var/global/list/uneatable = list(
for(var/mob/living/M in view(toxrange, src.loc))
if(istype(M,/mob/living/))
M.apply_effect(rand(radiation), IRRADIATE)
toxdamage = (toxdamage - (toxdamage*M.getarmor(null, "rad")))
M.apply_effect(toxdamage, TOX)
var/tdamage = (toxdamage - (toxdamage*M.getarmor(null, "rad")))
M.apply_effect(tdamage, TOX)
return
@@ -433,6 +433,17 @@ var/global/list/uneatable = list(
for(var/obj/machinery/power/rad_collector/R in orange(15,src))
if(istype(R,/obj/machinery/power/rad_collector))
R.receive_pulse(energy)
// when we radiate rad collectors, naturally we radiate everything else, too
if(prob(10))
var/toxrange = 20
var/radiation = 20
if (src.energy>200)
radiation = round(((src.energy-150)/50)*20,1)
for(var/mob/living/M in view(toxrange, src.loc))
if(istype(M,/mob/living/))
var/damage = radiation / (get_dist(M, src) + 5)
M.apply_effect(rand(damage), IRRADIATE)
return