mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 11:11:52 +00:00
Fixes taking DNA from monkeys, not being able to leave lesser form, and being able to use all stings in lesser form.
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
/obj/effect/proc_holder/changeling/lesserform
|
|
name = "Lesser form"
|
|
desc = "We debase ourselves and become lesser. We become a monkey."
|
|
chemical_cost = 5
|
|
dna_cost = 1
|
|
genetic_damage = 3
|
|
req_human = 1
|
|
|
|
//Transform into a monkey.
|
|
/obj/effect/proc_holder/changeling/lesserform/sting_action(var/mob/living/carbon/human/user)
|
|
var/datum/changeling/changeling = user.mind.changeling
|
|
if(!user)
|
|
return 0
|
|
if(user.has_brain_worms())
|
|
user << "<span class='warning'>We cannot perform this ability at the present time!</span>"
|
|
return
|
|
|
|
var/mob/living/carbon/human/H = user
|
|
|
|
if(!istype(H) || !H.species.primitive_form)
|
|
src << "<span class='warning'>We cannot perform this ability in this form!</span>"
|
|
return
|
|
|
|
H.visible_message("<span class='warning'>[H] transforms!</span>")
|
|
changeling.geneticdamage = 30
|
|
H << "<span class='warning'>Our genes cry out!</span>"
|
|
var/list/implants = list() //Try to preserve implants.
|
|
for(var/obj/item/weapon/implant/W in H)
|
|
implants += W
|
|
H.monkeyize()
|
|
changeling.purchasedpowers += new /obj/effect/proc_holder/changeling/humanform(null)
|
|
feedback_add_details("changeling_powers","LF")
|
|
return 1 |