Maintenance Panels (#18815)

* maint panels

* let more hit these

* Style cleanup

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Will
2025-11-24 22:16:46 +01:00
committed by GitHub
co-authored by Cameron Lennox
parent d1f3d3475a
commit 690185dfec
7 changed files with 165 additions and 1 deletions
@@ -121,7 +121,10 @@
if(!proximity) return
..()
if(A && wielded)
if(istype(A,/obj/structure/window))
if(istype(A,/obj/structure/window/maintenance_panel))
var/obj/structure/window/maintenance_panel/P = A
P.take_damage(75,TRUE) // Not instant break, but still useful
else if(istype(A,/obj/structure/window))
var/obj/structure/window/W = A
W.shatter()
else if(istype(A,/obj/structure/grille))