mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 06:40:08 +01:00
[MIRROR] Radiation Refactor (#12578)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
d6ba53185d
commit
65ff1fd61a
@@ -188,7 +188,13 @@
|
||||
|
||||
/mob/living/simple_mob/animal/tyr/mineral_ants/uranium/do_special_attack(atom/A)
|
||||
visible_message(span_bolddanger(span_orange("The ant glows bright green!.")))
|
||||
SSradiation.radiate(src, 15)
|
||||
radiation_pulse(
|
||||
src,
|
||||
max_range = 3,
|
||||
threshold = RAD_MEDIUM_INSULATION,
|
||||
chance = 100,
|
||||
strength = 15
|
||||
)
|
||||
|
||||
/mob/living/simple_mob/animal/tyr/mineral_ants/mhydro //secondary spawner
|
||||
name = "mhydro ant"
|
||||
|
||||
@@ -249,7 +249,13 @@
|
||||
..()
|
||||
|
||||
/mob/living/simple_mob/slime/feral/green/proc/irradiate()
|
||||
SSradiation.radiate(src, rads)
|
||||
radiation_pulse(
|
||||
src,
|
||||
max_range = 3,
|
||||
threshold = RAD_MEDIUM_INSULATION,
|
||||
chance = URANIUM_IRRADIATION_CHANCE * 3,
|
||||
strength = rads
|
||||
)
|
||||
|
||||
/mob/living/simple_mob/slime/feral/pink
|
||||
desc = "This slime has regenerative properties."
|
||||
|
||||
@@ -437,7 +437,14 @@
|
||||
playsound(holder.my_atom, 'sound/effects/phasein.ogg', 75, 1)
|
||||
holder.my_atom.visible_message(span_danger("\The [holder.my_atom] begins to vibrate violently!"))
|
||||
spawn(5 SECONDS)
|
||||
SSradiation.flat_radiate(src, 30, 7, TRUE)
|
||||
if(!QDELETED(holder.my_atom))
|
||||
radiation_pulse(
|
||||
src,
|
||||
max_range = 7,
|
||||
threshold = RAD_MEDIUM_INSULATION,
|
||||
chance = 100,
|
||||
strength = 30
|
||||
)
|
||||
..()
|
||||
|
||||
|
||||
|
||||
@@ -194,7 +194,13 @@
|
||||
..()
|
||||
|
||||
/mob/living/simple_mob/vore/spacecritter/radcrab/proc/irradiate()
|
||||
SSradiation.radiate(src, rads)
|
||||
radiation_pulse(
|
||||
src,
|
||||
max_range = 3,
|
||||
threshold = RAD_MEDIUM_INSULATION,
|
||||
chance = 100,
|
||||
strength = rads
|
||||
)
|
||||
|
||||
/mob/living/simple_mob/vore/spacecritter/radcrab/supermattercrab
|
||||
size_multiplier = 1.5
|
||||
|
||||
Reference in New Issue
Block a user