Sort of porting "Changes the type pathing of some "random" items"

This commit is contained in:
Ghommie
2019-06-23 07:10:11 +02:00
parent 2f96e40120
commit a2d896351b
5 changed files with 31 additions and 45 deletions
@@ -500,17 +500,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..."