mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-25 08:43:42 +00:00
-Fixes flat white background capitalization error. -Re-enables tunnel plating and reinforced floor. -Adds darker plating, ribbed techmaint tiles, and flat middle grey. -Tweaks their cycle order to cycle flats by shade, and then tiles by shade. -Moves our update preview code underneath the polaris original. -Polaris bg list update waiting for merge out there as well, but let me know anyway if I should do a temporary vorestation edit comment until next sync tho.
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
/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/128x72_vr.dmi', bgstate)
|
|
preview_icon.Scale(128, 72)
|
|
|
|
mannequin.dir = NORTH
|
|
var/icon/stamp = getFlatIcon(mannequin)
|
|
stamp.Scale(stamp.Width()*size_multiplier,stamp.Height()*size_multiplier)
|
|
preview_icon.Blend(stamp, ICON_OVERLAY, 64-stamp.Width()/2, 5)
|
|
|
|
mannequin.dir = WEST
|
|
stamp = getFlatIcon(mannequin)
|
|
stamp.Scale(stamp.Width()*size_multiplier,stamp.Height()*size_multiplier)
|
|
preview_icon.Blend(stamp, ICON_OVERLAY, 16-stamp.Width()/2, 5)
|
|
|
|
mannequin.dir = SOUTH
|
|
stamp = getFlatIcon(mannequin)
|
|
stamp.Scale(stamp.Width()*size_multiplier,stamp.Height()*size_multiplier)
|
|
preview_icon.Blend(stamp, ICON_OVERLAY, 112-stamp.Width()/2, 5)
|
|
|
|
preview_icon.Scale(preview_icon.Width() * 2, preview_icon.Height() * 2) // Scaling here to prevent blurring in the browser. |