whywouldyouleaveit

This commit is contained in:
Matt
2016-05-28 21:45:21 +02:00
parent babfe22a06
commit 4f49c18cef
2 changed files with 9 additions and 1 deletions
@@ -73,6 +73,12 @@
return 0
return 1
/obj/effect/proc_holder/changeling/proc/transfer_changeling_powers(var/mob/living/carbon/user, var/mob/living/carbon/target)
if(istype(target, /mob/living/carbon)) // so we don't runtime, I don't even know why it's necessary as it needs a grab
var/datum/changeling/c = user.mind.changeling
var/datum/changeling/t = target.mind.changeling
c.purchasedpowers = t.purchasedpowers
//used in /mob/Stat()
/obj/effect/proc_holder/changeling/proc/can_be_used_by(var/mob/user)
if(!ishuman(user))
@@ -50,6 +50,8 @@
user.key = ghost.key
user.Paralyse(2)
user.remove_language("Changeling")
target.add_language("Changeling")
user.remove_language("Changeling")
transfer_changeling_powers(user, target)
to_chat(target, "<span class='warning'>Our genes cry out as we swap our [user] form for [target].</span>")