mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 16:38:18 +01:00
Length times Size
This is more so a change to examine text and flavor text revolving around our size code we have in game, ultimately if one were to be 50% sprite size (Which is roughly three feet tall as we're doing 6ft for basic height reference), and sporting a rod that's just the same size in comparison. It should instead be half the amount based off sprite size, ending up being a foot and six inches versus three feet.
This commit is contained in:
@@ -2070,7 +2070,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
to_chat(user,"<span class='danger'>Invalid color. Your color is not bright enough.</span>")
|
||||
|
||||
if("cock_length")
|
||||
var/new_length = input(user, "Penis length in inches:\n([COCK_SIZE_MIN]-[COCK_SIZE_MAX])", "Character Preference") as num|null
|
||||
var/new_length = input(user, "Penis length in inches:\n([COCK_SIZE_MIN]-[COCK_SIZE_MAX]) Your sprite size will effect your length examine text!\n(When 6in, 50%->3in, 200%->12in)", "Character Preference") as num|null
|
||||
if(new_length)
|
||||
features["cock_length"] = max(min( round(text2num(new_length)), COCK_SIZE_MAX),COCK_SIZE_MIN)
|
||||
|
||||
@@ -2232,7 +2232,7 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
//Hyperstation Body Size
|
||||
|
||||
if("bodysize")
|
||||
var/new_bodysize = input(user, "Choose your desired sprite size:\n([MIN_BODYSIZE]-[MAX_BODYSIZE]), Warning: May make your character look distorted!", "Character Preference") as num|null
|
||||
var/new_bodysize = input(user, "Choose your desired sprite size:\n([MIN_BODYSIZE]-[MAX_BODYSIZE]), Warning: May make your character look distorted!\nWill change health pool and speed, while limiting some mechanics (ex: lockers).", "Character Preference") as num|null
|
||||
if (new_bodysize)
|
||||
body_size = max(min( round(text2num(new_bodysize)), MAX_BODYSIZE),MIN_BODYSIZE)
|
||||
|
||||
|
||||
@@ -46,6 +46,10 @@ mob/living/get_effective_size()
|
||||
var/healthchange = healthmod_new - healthmod_old //Get ready to apply the new value, and subtract the old one. (Negative values become positive)
|
||||
src.maxHealth += healthchange
|
||||
src.health += healthchange
|
||||
if(iscarbon(src))
|
||||
var/mob/living/carbon/C = src
|
||||
for(var/obj/item/organ/genital/G in C.internal_organs)
|
||||
G.update_appearance()
|
||||
previous_size = size_multiplier //And, change this now that we are finally done.
|
||||
|
||||
//handle the big steppy, except nice
|
||||
|
||||
@@ -72,7 +72,9 @@
|
||||
/obj/item/organ/genital/penis/update_appearance()
|
||||
var/string
|
||||
var/lowershape = lowertext(shape)
|
||||
desc = "You see [aroused_state ? "an erect" : "a flaccid"] [lowershape] penis. You estimate it's about [round(length, 0.25)] inch[round(length, 0.25) != 1 ? "es" : ""] long and [round(girth, 0.25)] inch[round(girth, 0.25) != 1 ? "es" : ""] in girth."
|
||||
var/length_new = length*owner.size_multiplier
|
||||
var/girth_new = girth*owner.size_multiplier
|
||||
desc = "You see [aroused_state ? "an erect" : "a flaccid"] [lowershape] penis. You estimate it's about [round(length_new, 0.25)] inch[round(length_new, 0.25) != 1 ? "es" : ""] long and [round(girth_new, 0.25)] inch[round(girth_new, 0.25) != 1 ? "es" : ""] in girth."
|
||||
|
||||
if(owner)
|
||||
if(owner.dna.species.use_skintones && owner.dna.features["genitals_use_skintone"])
|
||||
|
||||
Reference in New Issue
Block a user