mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-09 00:43:55 +00:00
-Lined up and un-overlapped the setup previews. Also taurs can now fit into the frame and not be cropped in half. -Unlocked the hidden and forgotten feature for secondary tail/taur colors. -Currently the only enabled things are the colorable wolf tail and a new dual color wolftaur. The framework for more is ready for use though! -Liberated ear coloring from the oppression of hair color. -Disabled drake and otie taurs since they lack all gear compatibility :v
23 lines
852 B
Plaintext
23 lines
852 B
Plaintext
//File isn't currently being used.
|
|
//It is now.
|
|
/datum/preferences/update_preview_icon() // Lines up and un-overlaps character edit previews. Also un-splits taurs.
|
|
var/mob/living/carbon/human/dummy/mannequin/mannequin = get_mannequin(client_ckey)
|
|
mannequin.delete_inventory(TRUE)
|
|
dress_preview_mob(mannequin)
|
|
|
|
preview_icon = icon('icons/effects/effects.dmi', "nothing")
|
|
preview_icon.Scale(64+64, 16+32)
|
|
|
|
mannequin.dir = NORTH
|
|
var/icon/stamp = getFlatIcon(mannequin)
|
|
preview_icon.Blend(stamp, ICON_OVERLAY, 49, 9)
|
|
|
|
mannequin.dir = WEST
|
|
stamp = getFlatIcon(mannequin)
|
|
preview_icon.Blend(stamp, ICON_OVERLAY, 1, 9)
|
|
|
|
mannequin.dir = SOUTH
|
|
stamp = getFlatIcon(mannequin)
|
|
preview_icon.Blend(stamp, ICON_OVERLAY, 83, 9)
|
|
|
|
preview_icon.Scale(preview_icon.Width() * 2, preview_icon.Height() * 2) // Scaling here to prevent blurring in the browser. |