Merge pull request #520 from Chemlight/Sizecode-to-items

Size up and down with a chemical and items.
This commit is contained in:
QuoteFox
2020-09-27 05:29:24 +01:00
committed by GitHub
3 changed files with 5 additions and 0 deletions
@@ -724,6 +724,7 @@ datum/status_effect/stabilized/blue/on_remove()
C.real_name = O.real_name
O.dna.transfer_identity(C)
C.updateappearance(mutcolor_update=1)
C.size_multiplier = O.size_multiplier
return ..()
/datum/status_effect/stabilized/cerulean/tick()
@@ -141,5 +141,6 @@
H.dna.transfer_identity(user, transfer_SE=1)
user.updateappearance(mutcolor_update=1)
user.domutcheck()
user.size_multiplier = H.size_multiplier
user.visible_message("<span class='warning'>[user]'s appearance shifts into [H]'s!</span>", \
"<span class='boldannounce'>[H.p_they(TRUE)] think[H.p_s()] [H.p_theyre()] <i>sooo</i> much better than you. Not anymore, [H.p_they()] won't.</span>")
@@ -81,6 +81,7 @@ IMPORTANT FACTORS TO CONSIDER WHILE BALANCING
SM.real_name = M.real_name
M.dna.transfer_identity(SM)
SM.updateappearance(mutcolor_update=1)
SM.size_multiplier = M.size_multiplier
var/mob/dead/observer/C = pick(candies)
message_admins("Ghost candidate found! [C] key [C.key] is becoming a clone of [M] key: [M.key] (They agreed to respect the character they're becoming, and agreed to not ERP without express permission from the original.)")
SM.key = C.key
@@ -171,6 +172,7 @@ IMPORTANT FACTORS TO CONSIDER WHILE BALANCING
C.real_name = M.real_name
M.dna.transfer_identity(C, transfer_SE=1)
C.updateappearance(mutcolor_update=1)
C.size_multiplier = M.size_multiplier
C.apply_status_effect(/datum/status_effect/chem/SGDF)
var/datum/status_effect/chem/SGDF/S = C.has_status_effect(/datum/status_effect/chem/SGDF)
S.original = M
@@ -231,6 +233,7 @@ IMPORTANT FACTORS TO CONSIDER WHILE BALANCING
SM.real_name = M.real_name
M.dna.transfer_identity(SM)
SM.updateappearance(mutcolor_update=1)
SM.size_multiplier = M.size_multiplier
M.mind.transfer_to(SM)
M.visible_message("<span class='warning'>[M]'s body shudders, the growth factor rapidly splitting into a new clone of [M].</span>")