mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
[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:
committed by
GitHub
parent
e2c413f92d
commit
cd48bc74b9
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user