Radiation update.

This commit is contained in:
Archie
2021-06-15 00:27:43 -03:00
parent 94d7f2eef0
commit c07ad15eb8
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -27,6 +27,8 @@
/proc/radiation_pulse(atom/source, intensity, range_modifier, log=FALSE, can_contaminate=TRUE)
if(!SSradiation.can_fire)
return
if(!source)
return // make sure we have a source. If we don't, just return.
if(istype(get_turf(source), /turf/open/pool))
var/turf/open/pool/PL = get_turf(source)
if(PL.filled == TRUE)
@@ -461,7 +461,7 @@ The reactor CHEWS through moderator. It does not do this slowly. Be very careful
update_icon()
STOP_PROCESSING(SSmachines, src)
icon_state = "reactor_slagged"
AddComponent(/datum/component/radioactive, 15000 , src)
AddComponent(/datum/component/radioactive, 15000 , src, 0)
var/obj/effect/landmark/nuclear_waste_spawner/NSW = new /obj/effect/landmark/nuclear_waste_spawner/strong(get_turf(src))
relay('hyperstation/sound/effects/rbmk/meltdown.ogg', "<span class='userdanger'>You hear a horrible metallic hissing.</span>")
stop_relay(CHANNEL_REACTOR_ALERT)