Changeling Fix

Size and clothesplosion
This commit is contained in:
JaySparrow
2020-10-12 18:04:56 -05:00
parent 92d1fbaf1f
commit e536168d4f
6 changed files with 40 additions and 23 deletions
@@ -91,11 +91,13 @@ GLOBAL_VAR(changeling_team_objective_type) //If this is not null, we hand our th
user.shirt_color =chosen_prof.shirt_color
user.socks = chosen_prof.socks
user.socks_color =chosen_prof.socks_color
user.size_multiplier = chosen_prof.size_multiplier
chosen_dna.transfer_identity(user, 1)
user.updateappearance(mutcolor_update=1)
user.update_body()
user.domutcheck()
user.previous_size = chosen_prof.size_multiplier
//vars hackery. not pretty, but better than the alternative.
for(var/slot in GLOB.slots)
@@ -274,6 +274,7 @@
prof.shirt_color = H.shirt_color
prof.socks = H.socks
prof.socks_color = H.socks_color
prof.size_multiplier = H.size_multiplier
var/list/slots = list("head", "wear_mask", "back", "wear_suit", "w_uniform", "shoes", "belt", "gloves", "glasses", "ears", "wear_id", "s_store")
for(var/slot in slots)
@@ -511,6 +512,7 @@
var/shirt_color
var/socks
var/socks_color
var/size_multiplier
/datum/changelingprofile/Destroy()
qdel(dna)
@@ -530,6 +532,7 @@
newprofile.underwear = underwear
newprofile.undershirt = undershirt
newprofile.socks = socks
newprofile.size_multiplier = size_multiplier
/datum/antagonist/changeling/xenobio
-4
View File
@@ -1252,7 +1252,3 @@
for(var/chem in healing_chems)
reagents.add_reagent(chem, healing_chems[chem])
//retard edits below
/mob/living
var/size_multiplier = 1 //multiplier for the mob's icon size atm
var/previous_size = 1