Couple of fixes. (#5206)

-fixes changeling rejecting their own organs after transformation
-fixes eating having the wrong sound
This commit is contained in:
Alberyk
2018-09-01 20:54:57 +03:00
committed by Erki
parent b47df48153
commit 58e12bbaf6
2 changed files with 7 additions and 6 deletions
@@ -293,11 +293,12 @@ var/global/list/possible_changeling_IDs = list("Alpha","Beta","Gamma","Delta","E
var/newSpecies = chosen_dna.speciesName
H.set_species(newSpecies,1)
src.dna = chosen_dna.dna
src.real_name = chosen_dna.name
src.flavor_text = ""
domutcheck(src, null)
src.UpdateAppearance()
H.dna = chosen_dna.dna
H.real_name = chosen_dna.name
H.sync_organ_dna()
H.flavor_text = ""
domutcheck(H, null)
H.UpdateAppearance()
//Transform into a monkey.
@@ -15,7 +15,7 @@
center_of_mass = list("x"=16, "y"=6)
volume = 50
/obj/item/weapon/reagent_containers/food/feed_sound(var/mob/user)
/obj/item/weapon/reagent_containers/food/condiment/feed_sound(var/mob/user)
playsound(user.loc, 'sound/items/drink.ogg', rand(10, 50), 1)
/obj/item/weapon/reagent_containers/food/condiment/self_feed_message(var/mob/user)