Body size cloner fix!

When cloning, they will now apply your body size. No more forced resize on cloning!
This commit is contained in:
QuoteFox
2020-07-05 13:37:14 +01:00
parent 7c08e0b890
commit 93461d7118
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2142,9 +2142,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
//Hyperstation Body Size
if("bodysize")
var/new_bodysize = input(user, "Choose your desired sprite size:\n(85%-110%), 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!", "Character Preference") as num|null
if (new_bodysize)
body_size = max(min( round(text2num(new_bodysize)), 110),85)
body_size = max(min( round(text2num(new_bodysize)), MAX_BODYSIZE),MIN_BODYSIZE)
@@ -578,12 +578,9 @@
mind.transfer_to(H) //won't transfer key since the mind is not active
H.name = real_name
//h13 assign your characters custom height.
if (H.custom_body_size > 0)
H.size_multiplier = (H.custom_body_size * 0.01)
//h13 assign your characters custom height.
if (H.custom_body_size) //Do they have it set?
H.size_multiplier = (max(min( round((H.custom_body_size)), MAX_BODYSIZE),MIN_BODYSIZE)* 0.01)
//h13 give your starting impregchance (30%)
if (H.breedable == TRUE)
H.impregchance = 30