mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Allow Transparency for Wings, Tails, and Ears (#17283)
* Automatic changelog compile [ci skip]
* Initial work to allow wings to be transparent.
* Revert "Automatic changelog compile [ci skip]"
This reverts commit 8cb19dcdcf.
* * Add ears and tail support
Secondary ears/horns isn't supported atm because it's set up differently and I'd need more than 10% brain power to figure that out
* Add ears/tail alpha support to the appearance changer GUI
* Convert junky button popup to number slider.
Possibly a performance issue to be had here but I'm not really worried about it.
* Add : and " " before previews
* pretty pretty
* fsdfsd
* Secondary Ears. Fsdfsdfsd.
* Yes, Wing Alpha still applies.
Adds caps to species_shapeshift_vr alpha selections, add second ear alpha selection
---------
Co-authored-by: vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
vorestation-ci[bot] <199609141+vorestation-ci[bot]@users.noreply.github.com>
parent
206074690b
commit
516a07d609
@@ -97,6 +97,19 @@
|
||||
target.g_tail3 = hex2num(copytext(value, 4, 6))
|
||||
target.b_tail3 = hex2num(copytext(value, 6, 8))
|
||||
|
||||
/datum/preference/numeric/human/tail_alpha
|
||||
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
|
||||
savefile_identifier = PREFERENCE_CHARACTER
|
||||
savefile_key = "tail_alpha"
|
||||
can_randomize = FALSE
|
||||
minimum = 0
|
||||
maximum = 255
|
||||
|
||||
/datum/preference/numeric/human/tail_alpha/apply_to_human(mob/living/carbon/human/target, value)
|
||||
target.a_tail = value
|
||||
|
||||
/datum/preference/numeric/human/tail_alpha/create_default_value()
|
||||
return 255 //nada.
|
||||
|
||||
/datum/preference/color/human/wing_color1
|
||||
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
|
||||
@@ -131,6 +144,20 @@
|
||||
target.g_wing3 = hex2num(copytext(value, 4, 6))
|
||||
target.b_wing3 = hex2num(copytext(value, 6, 8))
|
||||
|
||||
/datum/preference/numeric/human/wing_alpha
|
||||
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
|
||||
savefile_identifier = PREFERENCE_CHARACTER
|
||||
savefile_key = "wing_alpha"
|
||||
can_randomize = FALSE
|
||||
minimum = 0
|
||||
maximum = 255 //while it'd be dumb to have fully transparent wings, I'm not your mom.
|
||||
|
||||
/datum/preference/numeric/human/wing_alpha/create_default_value()
|
||||
return 255 //no randomization here.
|
||||
|
||||
/datum/preference/numeric/human/wing_alpha/apply_to_human(mob/living/carbon/human/target, value)
|
||||
target.a_wing = value
|
||||
|
||||
|
||||
/datum/preference/color/human/ears_color1
|
||||
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
|
||||
@@ -164,3 +191,23 @@
|
||||
target.r_ears3 = hex2num(copytext(value, 2, 4))
|
||||
target.g_ears3 = hex2num(copytext(value, 4, 6))
|
||||
target.b_ears3 = hex2num(copytext(value, 6, 8))
|
||||
|
||||
/datum/preference/numeric/human/ears_alpha
|
||||
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
|
||||
savefile_identifier = PREFERENCE_CHARACTER
|
||||
savefile_key = "ears_alpha"
|
||||
can_randomize = FALSE
|
||||
minimum = 0
|
||||
maximum = 255
|
||||
|
||||
/datum/preference/numeric/human/ears_alpha/secondary
|
||||
savefile_key = "secondary_ears_alpha"
|
||||
|
||||
/datum/preference/numeric/human/ears_alpha/secondary/apply_to_human(mob/living/carbon/human/target, value)
|
||||
target.a_ears2 = value;
|
||||
|
||||
/datum/preference/numeric/human/ears_alpha/apply_to_human(mob/living/carbon/human/target, value)
|
||||
target.a_ears = value
|
||||
|
||||
/datum/preference/numeric/human/ears_alpha/create_default_value()
|
||||
return 255 //no randomization here.
|
||||
|
||||
Reference in New Issue
Block a user