mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
Maintenance Panels (#18815)
* maint panels * let more hit these * Style cleanup --------- Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -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