Adds icons for items with randomization (#32523)

* Adds icons for items with randomization

* Glowsticks

* added ?

* more question marks

* Loc
This commit is contained in:
ShizCalev
2017-11-10 00:23:10 -05:00
committed by Jordan Brown
parent 2f1f5dd8f1
commit 179e653562
29 changed files with 40 additions and 9 deletions
+1 -1
View File
@@ -225,7 +225,7 @@ LINEN BINS
/obj/item/bedsheet/random
icon_state = "sheetrainbow"
icon_state = "random_bedsheet"
item_color = "rainbow"
name = "random bedsheet"
desc = "If you're reading this description ingame, something has gone wrong! Honk!"
+3
View File
@@ -285,10 +285,13 @@
user.remove_alt_appearance("sneaking_mission")
/obj/item/twohanded/required/kirbyplants/random
icon = 'icons/obj/flora/_flora.dmi'
icon_state = "random_plant"
var/list/static/states
/obj/item/twohanded/required/kirbyplants/random/Initialize()
. = ..()
icon = 'icons/obj/flora/plants.dmi'
if(!states)
generate_states()
icon_state = pick(states)