Change slime people to not need mutantrace anymore.

This commit is contained in:
ZomgPonies
2015-04-13 07:59:25 -04:00
parent 1b4bfe1196
commit dddecb9025
6 changed files with 6 additions and 35 deletions
+1 -19
View File
@@ -121,8 +121,6 @@ datum/preferences
var/species = "Human"
var/language = "None" //Secondary language
var/slime_color = "blue" //need this for assigning to chars
var/HRslime_color = ""
var/speciesprefs = 0//I hate having to do this, I really do (Using this for oldvox code, making names universal I guess
@@ -352,15 +350,10 @@ datum/preferences
dat += "<br><b>Eyes</b><br>"
dat += "<a href='?_src_=prefs;preference=eyes;task=input'>Change Color</a> <font face='fixedsys' size='3' color='#[num2hex(r_eyes, 2)][num2hex(g_eyes, 2)][num2hex(b_eyes, 2)]'><table style='display:inline;' bgcolor='#[num2hex(r_eyes, 2)][num2hex(g_eyes, 2)][num2hex(b_eyes)]'><tr><td>__</td></tr></table></font><br>"
if(species == "Unathi" || species == "Tajaran" || species == "Skrell")
if(species == "Unathi" || species == "Tajaran" || species == "Skrell" || species == "Slime People")
dat += "<br><b>Body Color</b><br>"
dat += "<a href='?_src_=prefs;preference=skin;task=input'>Change Color</a> <font face='fixedsys' size='3' color='#[num2hex(r_skin, 2)][num2hex(g_skin, 2)][num2hex(b_skin, 2)]'><table style='display:inline;' bgcolor='#[num2hex(r_skin, 2)][num2hex(g_skin, 2)][num2hex(b_skin)]'><tr><td>__</td></tr></table></font>"
if(species == "Slime People")
HRslime_color = capitalize(slime_color)
dat += "<br><b>Slime Color</b><br>"
dat += "<a href='?_src_=prefs;preference=slime_color;task=input'>Change Slime Color</a> <b>[HRslime_color]</b>"
dat += "</td></tr></table><hr><center>"
if (1) // General Preferences
@@ -1214,15 +1207,6 @@ datum/preferences
g_skin = hex2num(copytext(new_skin, 4, 6))
b_skin = hex2num(copytext(new_skin, 6, 8))
if("slime_color")
var/list/slime_colors
slime_colors = slime_colorh
if(species == "Slime People")
var/new_slime = input(user, "Choose your slime color: ", "Character Preference") as null|anything in slime_colors
if(new_slime)
slime_color = slime_colors[slime_colors.Find(new_slime)]
ShowChoices(user)
if("ooccolor")
var/new_ooccolor = input(user, "Choose your OOC colour:", "Game Preference") as color|null
@@ -1480,8 +1464,6 @@ datum/preferences
character.h_style = h_style
character.f_style = f_style
character.slime_color = slime_color
// Destroy/cyborgize organs