mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
>Resolves some dna runtimes. - check_dna_integrity() was not being used properly.
>Removed a for(obj/item in world) loop triggered by bloodying items. It now uses a caching system. >New skin_tones - they are now sprite-based. This is to prepare for expansion of the mutantrace system. Thanks validsalid x >Removed fat icons from the game - when you are obese you will now just look like a regular human. You will not be immune to being pushed. You will not be immune to choking. You will still overheat and run slower and appear fat upon "examine" verb use. Modified code/__HELPERS/mobs.dm Modified code/game/atoms.dm Modified code/game/dna.dm Modified code/game/machinery/computer/hologram.dm Modified code/game/objects/items.dm Modified code/modules/client/preferences.dm Modified code/modules/client/preferences_savefile.dm Modified code/modules/flufftext/Hallucination.dm Modified code/modules/mob/living/carbon/alien/larva/larva.dm Modified code/modules/mob/living/carbon/human/human.dm Modified code/modules/mob/living/carbon/human/human_defines.dm Modified code/modules/mob/living/carbon/human/life.dm Modified code/modules/mob/living/carbon/human/update_icons.dm Modified code/modules/mob/living/carbon/monkey/monkey.dm Modified code/modules/mob/living/silicon/robot/robot.dm Modified code/modules/mob/living/simple_animal/constructs.dm Modified code/modules/mob/living/simple_animal/friendly/corgi.dm Modified code/modules/mob/living/simple_animal/friendly/farm_animals.dm Modified code/modules/mob/new_player/preferences_setup.dm Modified icons/effects/genetics.dmi Modified icons/mob/human.dmi Signed-off-by: carnie <elly1989@rocketmail.com>
This commit is contained in:
@@ -50,7 +50,7 @@ datum/preferences
|
||||
var/h_color = "000" //Hair color
|
||||
var/f_style = "Shaved" //Face hair type
|
||||
var/f_color = "000" //Facial hair color
|
||||
var/s_tone = "caucasian" //Skin color
|
||||
var/skin_tone = "caucasian" //Skin color
|
||||
var/eye_color = "000" //Eye color
|
||||
|
||||
//Mob preview
|
||||
@@ -157,7 +157,7 @@ datum/preferences
|
||||
dat += "<table width='100%'><tr><td width='24%' valign='top'>"
|
||||
|
||||
dat += "<b>Blood Type:</b> [b_type]<BR>"
|
||||
dat += "<b>Skin Tone:</b><BR><span style='border:1px solid #161616; background-color: #[skin_tones[s_tone]];'> </span> <a href='?_src_=prefs;preference=s_tone;task=input'>[s_tone]</a><BR>"
|
||||
dat += "<b>Skin Tone:</b><BR><a href='?_src_=prefs;preference=s_tone;task=input'>[skin_tone]</a><BR>"
|
||||
dat += "<b>Underwear:</b><BR><a href ='?_src_=prefs;preference=underwear;task=input'>[underwear]</a><BR>"
|
||||
dat += "<b>Backpack:</b><BR><a href ='?_src_=prefs;preference=bag;task=input'>[backbaglist[backbag]]</a><BR>"
|
||||
|
||||
@@ -493,7 +493,7 @@ datum/preferences
|
||||
if("eyes")
|
||||
eye_color = random_eye_color()
|
||||
if("s_tone")
|
||||
s_tone = random_skin_tone()
|
||||
skin_tone = random_skin_tone()
|
||||
if("bag")
|
||||
backbag = rand(1,3)
|
||||
if("all")
|
||||
@@ -564,7 +564,7 @@ datum/preferences
|
||||
if("s_tone")
|
||||
var/new_s_tone = input(user, "Choose your character's skin-tone:", "Character Preference") as null|anything in skin_tones
|
||||
if(new_s_tone)
|
||||
s_tone = new_s_tone
|
||||
skin_tone = new_s_tone
|
||||
|
||||
if("ooccolor")
|
||||
var/new_ooccolor = input(user, "Choose your OOC colour:", "Game Preference") as color|null
|
||||
@@ -667,7 +667,7 @@ datum/preferences
|
||||
character.h_color = h_color
|
||||
character.f_color = f_color
|
||||
|
||||
character.s_tone = s_tone
|
||||
character.skin_tone = skin_tone
|
||||
character.h_style = h_style
|
||||
character.f_style = f_style
|
||||
character.underwear = underwear
|
||||
|
||||
@@ -163,7 +163,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
S["hair_color"] >> h_color
|
||||
S["facial_hair_color"] >> f_color
|
||||
S["eye_color"] >> eye_color
|
||||
S["skin_tone"] >> s_tone
|
||||
S["skin_tone"] >> skin_tone
|
||||
S["hair_style_name"] >> h_style
|
||||
S["facial_style_name"] >> f_style
|
||||
S["underwear"] >> underwear
|
||||
@@ -203,7 +203,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
h_color = sanitize_hexcolor(h_color, 3, 0)
|
||||
f_color = sanitize_hexcolor(f_color, 3, 0)
|
||||
eye_color = sanitize_hexcolor(eye_color, 3, 0)
|
||||
s_tone = sanitize_inlist(s_tone, skin_tones)
|
||||
skin_tone = sanitize_inlist(skin_tone, skin_tones)
|
||||
backbag = sanitize_integer(backbag, 1, backbaglist.len, initial(backbag))
|
||||
|
||||
userandomjob = sanitize_integer(userandomjob, 0, 1, initial(userandomjob))
|
||||
@@ -236,7 +236,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
S["hair_color"] << h_color
|
||||
S["facial_hair_color"] << f_color
|
||||
S["eye_color"] << eye_color
|
||||
S["skin_tone"] << s_tone
|
||||
S["skin_tone"] << skin_tone
|
||||
S["hair_style_name"] << h_style
|
||||
S["facial_style_name"] << f_style
|
||||
S["underwear"] << underwear
|
||||
|
||||
Reference in New Issue
Block a user