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
@@ -495,18 +495,18 @@
/turf/simulated/wall/defile()
..()
if(prob(15) && !rusted)
if(prob(15))
new/obj/effect/temp_visual/revenant(loc)
rust()
magic_rust_turf()
/turf/simulated/wall/indestructible/defile()
return
/turf/simulated/wall/r_wall/defile()
..()
if(prob(15) && !rusted)
if(prob(15))
new/obj/effect/temp_visual/revenant(loc)
rust()
magic_rust_turf()
/mob/living/carbon/human/defile()
to_chat(src, "<span class='warning'>You suddenly feel [pick("sick and tired", "tired and confused", "nauseated", "dizzy")].</span>")
@@ -531,8 +531,10 @@
broken = FALSE
burnt = FALSE
make_plating(1)
magic_rust_turf()
/turf/simulated/floor/plating/defile()
magic_rust_turf()
if(flags & BLESSED_TILE)
flags &= ~BLESSED_TILE
new /obj/effect/temp_visual/revenant(loc)