mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Body Randomize button now changes physique and height (#25418)
This commit is contained in:
@@ -630,8 +630,10 @@
|
||||
randomize_eyes_color()
|
||||
if(S.bodyflags & HAS_SKIN_COLOR)
|
||||
randomize_skin_color()
|
||||
backbag = 2
|
||||
backbag = pick(GLOB.backbaglist)
|
||||
age = rand(S.min_age, S.max_age)
|
||||
physique = pick(GLOB.character_physiques)
|
||||
height = pick(GLOB.character_heights)
|
||||
|
||||
|
||||
/datum/character_save/proc/randomize_hair_color(target = "hair")
|
||||
|
||||
@@ -691,12 +691,12 @@
|
||||
|
||||
if("physique")
|
||||
var/new_physique = tgui_input_list(user, "Choose your descriptor for how built your character is on glance.", "Character Preference", GLOB.character_physiques)
|
||||
if(new_physique)
|
||||
if(new_physique in GLOB.character_physiques)
|
||||
active_character.physique = new_physique
|
||||
|
||||
if("height")
|
||||
var/new_height = tgui_input_list(user, "Choose your descriptor for how tall your character is on glance.", "Character Preference", GLOB.character_heights)
|
||||
if(new_height)
|
||||
if(new_height in GLOB.character_heights)
|
||||
active_character.height = new_height
|
||||
|
||||
if("flavor_text")
|
||||
|
||||
Reference in New Issue
Block a user