Merge pull request #8734 from Ghommie/Ghommie-cit84

Sort of porting "Changes the type pathing of some "random" items"
This commit is contained in:
kevinz000
2019-07-12 07:43:12 -07:00
committed by GitHub
5 changed files with 31 additions and 45 deletions
@@ -512,17 +512,6 @@
name = "pink glowstick"
color = LIGHT_COLOR_PINK
/obj/item/flashlight/glowstick/random
name = "random colored glowstick"
icon_state = "random_glowstick"
color = null
/obj/item/flashlight/glowstick/random/Initialize()
..()
var/T = pick(typesof(/obj/item/flashlight/glowstick) - /obj/item/flashlight/glowstick/random)
new T(loc)
return INITIALIZE_HINT_QDEL
/obj/item/flashlight/spotlight //invisible lighting source
name = "disco light"
desc = "Groovy..."