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 15:58:33 -05:00
committed by GitHub
parent 7f49c57b55
commit bcc794ee3b
15 changed files with 196 additions and 28 deletions
+8 -2
View File
@@ -222,7 +222,8 @@
T.burn_tile()
/obj/effect/mapping_helpers/turfs/rust
icon_state = "rustwall"
icon = 'icons/effects/rust_overlay.dmi'
icon_state = "rust1"
var/spawn_probability = 100
/obj/effect/mapping_helpers/turfs/rust/payload(turf/simulated/wall/T)
@@ -230,7 +231,12 @@
return
if(prob(spawn_probability))
T.rust()
rustify(T)
/obj/effect/mapping_helpers/turfs/proc/rustify(turf/T)
var/turf/simulated/wall/W = T
if(istype(W) && !HAS_TRAIT(W, TRAIT_RUSTY))
W.rust_turf()
/obj/effect/mapping_helpers/turfs/rust/probably
spawn_probability = 75