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