[MIRROR] Maintenance Panels (#12028)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-24 18:57:44 -07:00
committed by GitHub
parent e2c413f92d
commit cd48bc74b9
7 changed files with 165 additions and 1 deletions

View File

@@ -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))