Adds rng backgrounds to character setup preview.

-They swap upon every preview refresh.
-Current selection comes with full black, full white, 'steel' floor tiles, white flor tiles, bare plating, and reinforced floor.
-We'll see if I feel like figuring out how to make a proper selection button later.
This commit is contained in:
Verkister
2017-10-20 20:35:21 +03:00
parent def5fadfa9
commit ee83f721c4
2 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -4,8 +4,9 @@
var/mob/living/carbon/human/dummy/mannequin/mannequin = get_mannequin(client_ckey)
mannequin.delete_inventory(TRUE)
dress_preview_mob(mannequin)
var/icon/bgstate = pick("000", "FFF", "steel", "white", "plating", "reinforced")
preview_icon = icon('icons/effects/effects.dmi', "nothing")
preview_icon = icon('icons/effects/128x48_vr.dmi', bgstate)
preview_icon.Scale(64+64, 16+32)
mannequin.dir = NORTH