mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 08:03:43 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user