mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Adds Characther Descriptors (Height and Build) (#22417)
* char descriptors * ok well it works somewhat * I LOVE FIXING SHIT OORAH * fixes * Update code/modules/mob/living/carbon/human/human_examine.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/human_examine.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/human_examine.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/modules/client/preference/character.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/human_defines.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/modules/mob/living/carbon/human/human_examine.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> * Update code/modules/client/preference/link_processing.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * ok we love our fixes * Update SQL/updates/51-52.sql Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * reverts and sql change to fix * yeppers * Update SQL/paradise_schema.sql Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * aa's review * grammar * Update code/modules/client/preference/link_processing.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * improves grammar * Create 52-32.sql * lmao please dont look at the change for this * glob list * Update code/modules/mob/living/carbon/human/human_examine.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * y * mhmhmh * autodoc * grgrgrggrg contra review --------- Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
co-authored by
DGamerL
Henri215
AffectedArc07
Luc
parent
d898519286
commit
6f0a93c672
@@ -79,6 +79,10 @@
|
||||
|
||||
var/nanotrasen_relation = "Neutral"
|
||||
|
||||
var/physique = "average"
|
||||
|
||||
var/height = "average height"
|
||||
|
||||
// OOC Metadata:
|
||||
var/metadata = ""
|
||||
|
||||
@@ -176,6 +180,8 @@
|
||||
organ_data=:organlist,
|
||||
rlimb_data=:rlimblist,
|
||||
nanotrasen_relation=:nanotrasen_relation,
|
||||
physique=:physique,
|
||||
height=:height,
|
||||
speciesprefs=:speciesprefs,
|
||||
socks=:socks,
|
||||
body_accessory=:body_accessory,
|
||||
@@ -233,6 +239,8 @@
|
||||
"organlist" = (organlist ? organlist : ""),
|
||||
"rlimblist" = (rlimblist ? rlimblist : ""),
|
||||
"nanotrasen_relation" = nanotrasen_relation,
|
||||
"physique" = physique,
|
||||
"height" = height,
|
||||
"speciesprefs" = speciesprefs,
|
||||
"socks" = socks,
|
||||
"body_accessory" = (body_accessory ? body_accessory : ""),
|
||||
@@ -281,7 +289,7 @@
|
||||
sec_record,
|
||||
gen_record,
|
||||
player_alt_titles,
|
||||
disabilities, organ_data, rlimb_data, nanotrasen_relation, speciesprefs,
|
||||
disabilities, organ_data, rlimb_data, nanotrasen_relation, physique, height, speciesprefs,
|
||||
socks, body_accessory, gear, autohiss,
|
||||
hair_gradient, hair_gradient_offset, hair_gradient_colour, hair_gradient_alpha, custom_emotes)
|
||||
VALUES
|
||||
@@ -308,7 +316,7 @@
|
||||
:sec_record,
|
||||
:gen_record,
|
||||
:playertitlelist,
|
||||
:disabilities, :organlist, :rlimblist, :nanotrasen_relation, :speciesprefs,
|
||||
:disabilities, :organlist, :rlimblist, :nanotrasen_relation, :physique, :height, :speciesprefs,
|
||||
:socks, :body_accessory, :gearlist, :autohiss_mode,
|
||||
:h_grad_style, :h_grad_offset, :h_grad_colour, :h_grad_alpha, :custom_emotes)
|
||||
"}, list(
|
||||
@@ -359,6 +367,8 @@
|
||||
"organlist" = (organlist ? organlist : ""),
|
||||
"rlimblist" = (rlimblist ? rlimblist : ""),
|
||||
"nanotrasen_relation" = nanotrasen_relation,
|
||||
"physique" = physique,
|
||||
"height" = height,
|
||||
"speciesprefs" = speciesprefs,
|
||||
"socks" = socks,
|
||||
"body_accessory" = (body_accessory ? body_accessory : ""),
|
||||
@@ -454,6 +464,8 @@
|
||||
h_grad_colour = query.item[53]
|
||||
h_grad_alpha = query.item[54]
|
||||
var/custom_emotes_tmp = query.item[55]
|
||||
physique = query.item[56]
|
||||
height = query.item[57]
|
||||
|
||||
//Sanitize
|
||||
var/datum/species/SP = GLOB.all_species[species]
|
||||
@@ -474,6 +486,12 @@
|
||||
if(isnull(nanotrasen_relation))
|
||||
nanotrasen_relation = initial(nanotrasen_relation)
|
||||
|
||||
if(isnull(physique))
|
||||
physique = initial(physique)
|
||||
|
||||
if(isnull(height))
|
||||
height = initial(height)
|
||||
|
||||
if(isnull(speciesprefs))
|
||||
speciesprefs = initial(speciesprefs)
|
||||
|
||||
@@ -1778,6 +1796,8 @@
|
||||
character.dna.real_name = real_name
|
||||
character.name = character.real_name
|
||||
|
||||
character.physique = physique
|
||||
character.height = height
|
||||
character.flavor_text = flavor_text
|
||||
character.med_record = med_record
|
||||
character.sec_record = sec_record
|
||||
|
||||
@@ -700,6 +700,16 @@
|
||||
if(new_relation)
|
||||
active_character.nanotrasen_relation = new_relation
|
||||
|
||||
if("physique")
|
||||
var/new_physique = input(user, "Choose your descriptor for how built your character is on glance.", "Character Preference") as null|anything in GLOB.character_physiques
|
||||
if(new_physique)
|
||||
active_character.physique = new_physique
|
||||
|
||||
if("height")
|
||||
var/new_height = input(user, "Choose your descriptor for how tall your character is on glance.", "Character Preference") as null|anything in GLOB.character_heights
|
||||
if(new_height)
|
||||
active_character.height = new_height
|
||||
|
||||
if("flavor_text")
|
||||
var/msg = input(usr,"Set the flavor text in your 'examine' verb. The flavor text should be a physical descriptor of your character at a glance. SFW Drawn Art of your character is acceptable.","Flavor Text",html_decode(active_character.flavor_text)) as message
|
||||
|
||||
|
||||
@@ -223,6 +223,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
|
||||
dat += "<b>Skin Tone:</b> <a href='?_src_=prefs;preference=s_tone;task=input'>[S.bodyflags & HAS_ICON_SKIN_TONE ? "[active_character.s_tone]" : "[-active_character.s_tone + 35]/220"]</a><br>"
|
||||
dat += "<b>Disabilities:</b> <a href='?_src_=prefs;preference=disabilities'>\[Set\]</a><br>"
|
||||
dat += "<b>Nanotrasen Relation:</b> <a href ='?_src_=prefs;preference=nt_relation;task=input'>[active_character.nanotrasen_relation]</a><br>"
|
||||
dat += "<b>Physique:</b> <a href='?_src_=prefs;preference=physique;task=input'>[active_character.physique]</a><br>"
|
||||
dat += "<b>Height:</b> <a href ='?_src_=prefs;preference=height;task=input'>[active_character.height]</a><br>"
|
||||
dat += "<a href='byond://?_src_=prefs;preference=flavor_text;task=input'>Set Flavor Text</a><br>"
|
||||
if(length(active_character.flavor_text) <= 40)
|
||||
if(!length(active_character.flavor_text))
|
||||
|
||||
Reference in New Issue
Block a user