mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Fixes Bug Reading Secondary Hair Theme Colour, Adds A Bunch of Body and Head Markings
All marking sprites courtesy of @Fullofskittles, commit idea courtesy of @Fox-McCloud Swaps trashy Unathi Belly sprite with new ace sprite. Adds points and banded head/body markings for Unathi, accommodating the alt head they get. Adds points, patches and another belly marking for Tajara including companion head markings. Adds two points and a second belly marking for Vulpkanin including companion head markings. Adds 3 tattoos. Breaks tiger body markings apart. The head markings are now separate from the body. Darkens tiger markings.
This commit is contained in:
@@ -302,7 +302,7 @@ var/global/list/special_role_times = list( //minimum age (in days) for accounts
|
||||
dat += "<b>Head Markings:</b> "
|
||||
dat += "<a href='?_src_=prefs;preference=m_style_head;task=input'>[marking_styles["head"]]</a>"
|
||||
dat += "<a href='?_src_=prefs;preference=m_head_colour;task=input'>Color</a> [color_square(hex2num(copytext(marking_colours["head"], 2, 4)), hex2num(copytext(marking_colours["head"], 4, 6)), hex2num(copytext(marking_colours["head"], 6, 8)))]<br>"
|
||||
if(species in list("Unathi", "Vulpkanin", "Tajaran")) //Species with body markings.
|
||||
if(species in list("Human", "Unathi", "Grey", "Vulpkanin", "Tajaran", "Skrell")) //Species with body markings/tattoos.
|
||||
var/list/marking_styles = params2list(m_styles)
|
||||
var/list/marking_colours = params2list(m_colours)
|
||||
marking_colours["body"] = sanitize_hexcolor(marking_colours["body"])
|
||||
@@ -1484,7 +1484,7 @@ var/global/list/special_role_times = list( //minimum age (in days) for accounts
|
||||
m_colours = list2params(marking_colours)
|
||||
|
||||
if("m_style_body")
|
||||
if(species in list("Unathi", "Vulpkanin", "Tajaran")) //Species with body markings.
|
||||
if(species in list("Human", "Unathi", "Grey", "Vulpkanin", "Tajaran", "Skrell")) //Species with body markings/tattoos.
|
||||
var/list/valid_markings = list()
|
||||
valid_markings["None"] = marking_styles_list["None"]
|
||||
for(var/markingstyle in marking_styles_list)
|
||||
@@ -1503,7 +1503,7 @@ var/global/list/special_role_times = list( //minimum age (in days) for accounts
|
||||
m_styles = list2params(marking_styles)
|
||||
|
||||
if("m_body_colour")
|
||||
if(species in list("Unathi", "Vulpkanin", "Tajaran")) //Species with body markings.
|
||||
if(species in list("Human", "Unathi", "Grey", "Vulpkanin", "Tajaran", "Skrell")) //Species with body markings/tattoos.
|
||||
var/input = "Choose the colour of your your character's body markings:"
|
||||
var/list/marking_colours = params2list(m_colours)
|
||||
marking_colours["body"] = sanitize_hexcolor(marking_colours["body"])
|
||||
|
||||
@@ -262,10 +262,10 @@
|
||||
age = sanitize_integer(age, AGE_MIN, AGE_MAX, initial(age))
|
||||
r_hair = sanitize_integer(r_hair, 0, 255, initial(r_hair))
|
||||
g_hair = sanitize_integer(g_hair, 0, 255, initial(g_hair))
|
||||
b_hair_sec = sanitize_integer(b_hair, 0, 255, initial(b_hair))
|
||||
b_hair = sanitize_integer(b_hair, 0, 255, initial(b_hair))
|
||||
r_hair_sec = sanitize_integer(r_hair_sec, 0, 255, initial(r_hair_sec))
|
||||
g_hair_sec = sanitize_integer(g_hair_sec, 0, 255, initial(g_hair_sec))
|
||||
b_hair = sanitize_integer(b_hair_sec, 0, 255, initial(b_hair_sec))
|
||||
b_hair_sec = sanitize_integer(b_hair_sec, 0, 255, initial(b_hair_sec))
|
||||
r_facial = sanitize_integer(r_facial, 0, 255, initial(r_facial))
|
||||
g_facial = sanitize_integer(g_facial, 0, 255, initial(g_facial))
|
||||
b_facial = sanitize_integer(b_facial, 0, 255, initial(b_facial))
|
||||
|
||||
Reference in New Issue
Block a user