mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
whywouldyouleaveit
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user