mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-28 03:01:37 +00:00
This would've been multiple commits, but I kept forgetting to ACTUALLY commit things. Changes logged in the PR.
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
/obj/effect/proc_holder/changeling/mimicvoice
|
|
name = "Mimic Voice"
|
|
desc = "We shape our vocal glands to sound like a desired voice."
|
|
helptext = "Will turn your voice into the name that you enter. We must constantly expend chemicals to maintain our form like this."
|
|
chemical_cost = 0 //constant chemical drain hardcoded
|
|
dna_cost = 1
|
|
req_human = 1
|
|
|
|
|
|
// Fake Voice
|
|
/obj/effect/proc_holder/changeling/mimicvoice/sting_action(var/mob/user)
|
|
var/datum/changeling/changeling=user.mind.changeling
|
|
if(changeling.mimicing)
|
|
changeling.mimicing = ""
|
|
changeling.chem_recharge_slowdown -= 0.5
|
|
user << "<span class='notice'>We return our vocal glands to their original position.</span>"
|
|
return
|
|
|
|
var/mimic_voice = stripped_input(user, "Enter a name to mimic.", "Mimic Voice", null, MAX_NAME_LEN)
|
|
if(!mimic_voice)
|
|
return
|
|
|
|
changeling.mimicing = mimic_voice
|
|
changeling.chem_recharge_slowdown += 0.5
|
|
user << "<span class='notice'>We shape our glands to take the voice of <b>[mimic_voice]</b>, this will stop us from regenerating chemicals while active.</span>"
|
|
user << "<span class='notice'>Use this power again to return to our original voice and reproduce chemicals again.</span>"
|
|
|
|
feedback_add_details("changeling_powers","MV")
|