You can smash the bulbs in floodlights (#31690)

* You can smash the bulbs in floodlights

* Floodlight breaking but properly
This commit is contained in:
KorPhaeron
2017-10-15 12:55:19 -05:00
committed by CitadelStationBot
parent be2dc49384
commit 6ea3f1293c
2 changed files with 19 additions and 0 deletions
+6
View File
@@ -588,6 +588,9 @@
item_state = "c_tube"
brightness = 8
/obj/item/light/tube/broken
status = LIGHT_BROKEN
/obj/item/light/bulb
name = "light bulb"
desc = "A replacement light bulb."
@@ -598,6 +601,9 @@
righthand_file = 'icons/mob/inhands/equipment/medical_righthand.dmi'
brightness = 4
/obj/item/light/bulb/broken
status = LIGHT_BROKEN
/obj/item/light/throw_impact(atom/hit_atom)
if(!..()) //not caught by a mob
shatter()