Cryogenic anomalies & armor (#21603)

* cryogenic anomaly

* sprite

* reactive gelidic armor

* america number 1 raaah

* sprite (thanks atp)

* qwerty suggestion

* floor freezing

* Update code/game/objects/effects/anomalies.dm

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* steel review commit 2

* whitespace apparently? idk

* whitespace fix (real)

* vetus

* Update code/game/objects/effects/anomalies.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/game/objects/effects/anomalies.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/game/objects/effects/anomalies.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/modules/clothing/suits/armor_suits.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/modules/clothing/suits/armor_suits.dm

Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/hostile/megafauna/ancient_robot.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* early return thing

---------

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
JimKil3
2023-07-24 15:11:21 +01:00
committed by GitHub
co-authored by SteelSlayer Henri215 Luc
parent 0750ffb31d
commit bcea9d3377
16 changed files with 177 additions and 23 deletions
+26
View File
@@ -945,3 +945,29 @@
#undef FAKE_FOOD_POISONING
#undef FAKE_RETRO_VIRUS
#undef FAKE_TURBERCULOSIS
/datum/status_effect/cryo_beam
id = "cryo beam"
alert_type = null
duration = -1 //Kill it, get out of sight, or be killed. Jump boots are *required*
tick_interval = 0.5 SECONDS
var/damage = 0.75
var/source_UID
/datum/status_effect/cryo_beam/on_creation(mob/living/new_owner, mob/living/source)
. = ..()
source_UID = source.UID()
/datum/status_effect/cryo_beam/tick()
var/mob/living/simple_animal/hostile/megafauna/ancient_robot/attacker = locateUID(source_UID)
if(!(owner in view(attacker, 8)))
qdel(src)
return
owner.apply_damage(damage, BURN)
owner.bodytemperature = max(0, owner.bodytemperature - 20)
owner.Beam(attacker.beam, icon_state = "medbeam", time = 0.5 SECONDS)
for(var/datum/reagent/R in owner.reagents.reagent_list)
owner.reagents.remove_reagent(R.id, 0.75)
if(prob(10))
to_chat(owner, "<span class='userdanger'>Your blood freezes in your veins, get away!</span>")