Ports baystation character preview system (#2630)

Ports the bay's character preview system, which is far better to observe aesthetic changes in the character creation, also solves the issues such as markings don't showing up at the character selection menu.
This commit is contained in:
Alberyk
2017-06-09 09:14:24 -03:00
committed by skull132
parent a44b65944d
commit 0e977d08e6
13 changed files with 190 additions and 620 deletions
+7
View File
@@ -9,6 +9,7 @@
var/list/currentrun = list()
var/list/all_mice = list() // Contains all *living* mice.
var/list/mannequins = list() //Contains all mannequins used by character preview
/datum/controller/subsystem/mobs/New()
NEW_SS_GLOBAL(SSmob)
@@ -48,3 +49,9 @@
if (MC_TICK_CHECK)
return
/datum/controller/subsystem/mobs/proc/get_mannequin(ckey)
. = mannequins[ckey]
if (!.)
. = new /mob/living/carbon/human/dummy/mannequin
mannequins[ckey] = .