Fix buttcolor saving.

Adds missing writefile to hyper's preferences_savefile. Groups these features more in line with formatting in the rest of the file.
This commit is contained in:
Haha26315
2021-08-15 04:23:50 -04:00
parent 5e23724491
commit 55edb8961d
4 changed files with 16 additions and 14 deletions
@@ -255,9 +255,13 @@
A.size = dna.features["butt_size"]
A.Insert(src)
if(A)
A.color = "#[skintone2hex(skin_tone)]"
if(dna.species.use_skintones && dna.features["genitals_use_skintone"])
A.color = "#[skintone2hex(skin_tone)]"
else
A.color = "#[dna.features["butt_color"]]"
A.update()
/mob/living/carbon/human/proc/give_breasts()
if(!dna)
return FALSE
@@ -61,10 +61,6 @@
WRITE_FILE(S["feature_cock_length"], features["cock_length"])
WRITE_FILE(S["feature_cock_girth"], features["cock_girth"])
WRITE_FILE(S["feature_has_sheath"], features["sheath_color"])
//belly feature
WRITE_FILE(S["feature_belly_size"], features["belly_size"])
//butt feature
WRITE_FILE(S["feature_butt_size"], features["butt_size"])
//balls features
WRITE_FILE(S["feature_has_balls"], features["has_balls"])
WRITE_FILE(S["feature_balls_color"], features["balls_color"])
@@ -93,13 +89,17 @@
WRITE_FILE(S["feature_ooc_text"], features["ooc_text"])
//custom job titles
WRITE_FILE(S["alt_titles_preferences"], alt_titles_preferences)
//belly
//belly features
WRITE_FILE(S["feature_has_belly"], features["has_belly"])
WRITE_FILE(S["feature_belly_size"], features["belly_size"])
WRITE_FILE(S["feature_belly_color"], features["belly_color"])
WRITE_FILE(S["feature_hide_belly"], features["hide_belly"])
WRITE_FILE(S["feature_inflatable_belly"], features["inflatable_belly"])
//anus
//butt features
WRITE_FILE(S["feature_has_anus"], features["has_anus"])
WRITE_FILE(S["feature_butt_size"], features["butt_size"])
WRITE_FILE(S["feature_butt_color"], features["butt_color"])
//gear loadout
if(islist(chosen_gear))