mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-18 18:42:59 +01:00
Preview background fixes and additions.
-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.
This commit is contained in:
@@ -4,7 +4,7 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
var/equip_preview_mob = EQUIP_PREVIEW_ALL
|
||||
|
||||
var/icon/bgstate = "000"
|
||||
var/list/bgstate_options = list("000", "fff", "steel", "white")
|
||||
var/list/bgstate_options = list("000", "midgrey", "FFF", "white", "steel", "techmaint", "dark", "plating", "reinforced")
|
||||
|
||||
/datum/category_item/player_setup_item/general/body
|
||||
name = "Body"
|
||||
|
||||
@@ -1,26 +1 @@
|
||||
//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/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.
|
||||
Reference in New Issue
Block a user