Merge pull request #7556 from SamHPurp/couple-more-random-variants

Adds random colours on cable cuffs & crayons, and the ability for flashes to start burnt out
This commit is contained in:
tigercat2000
2017-06-27 11:41:27 -07:00
committed by GitHub
3 changed files with 32 additions and 0 deletions
+5
View File
@@ -39,6 +39,11 @@
overcharged = 1
overlays += "overcharge"
/obj/item/device/flash/random/New()
..()
if(prob(25))
broken = 1
icon_state = "[initial(icon_state)]burnt"
/obj/item/device/flash/proc/burn_out() //Made so you can override it if you want to have an invincible flash from R&D or something.
broken = 1