misc fixes (#18728)

* window hitby fix

* runtime fix for protean rigs that have been qdel'd

* mecha paintkit fix

* start off by default

* Fixes welder and make sprite purple

* Cut overlays of previous thing before we swap!

* cellfix

* Absorbed fix
This commit is contained in:
Cameron Lennox
2025-11-07 11:31:41 +01:00
committed by GitHub
parent bb91894298
commit 783a289ce5
8 changed files with 40 additions and 15 deletions
+4 -1
View File
@@ -165,9 +165,12 @@
var/tforce = 0
if(ismob(source))
tforce = 40
else if(isobj(source))
else if(isitem(source))
var/obj/item/I = source
tforce = I.throwforce
else if(isobj(source))
var/obj/hitting_object = source
tforce = hitting_object.w_class * 5
if(reinf) tforce *= 0.25
if(health - tforce <= 7 && !reinf)
anchored = FALSE