Rusting off the elements system. Makes rust appliable to turfs, adds heretic rust to revenants. (#27367)

* puts rust on hold

* fixes overlays

* defines it

* need this

* fuck

* never work on conflicts during a rpg

* continue work

* rust works
This commit is contained in:
Qwertytoforty
2025-01-12 20:58:33 +00:00
committed by GitHub
parent 7f49c57b55
commit bcc794ee3b
15 changed files with 196 additions and 28 deletions
+17
View File
@@ -1431,6 +1431,23 @@
alert_type = null
status_type = STATUS_EFFECT_REPLACE
/datum/status_effect/rust_corruption
alert_type = null
id = "rust_turf_effects"
tick_interval = 2 SECONDS
/datum/status_effect/rust_corruption/tick()
. = ..()
if(issilicon(owner))
owner.adjustBruteLoss(10)
return
//We don't have disgust, so...
if(ishuman(owner))
owner.adjustBrainLoss(2.5)
owner.reagents?.remove_all(0.75)
else
owner.adjustBruteLoss(3) //Weaker than borgs but still constant.
/// This is the threshold where the attack will stun on the last hit. Why? Because it is cool, that's why.
#define FINISHER_THRESHOLD 7