f90ee4aa8c
- Fixed bugs with monkeyize/humanize: 7803 (humanized monkey nobloodtype) - Fixes 9298 monkeyed ling have troubles humanizing themself (already fixed?) - Fixes despawning clothes when monkeyizing. 11855 - Replaced check_dna_integrity proc by simpler has_dna proc when required. - created set_species() proc - fixed space retrovirus not transfering SE (despite having a domutcheck()). Still need to check if it needs a name = real_name. - I renamed mecha/var/dna to dna_lock to avoid confusion - I renamed an armor var in a species proc to armor_block to avoid confusion with species/var/armor. - I removed many if(dna) checks in lots of files. - I removed duplicate defense procs between human/proc/X and dna.species/proc/X since dna is now always set. - Anatomic panacea from changeling removes alien embryo correctly. 6247 - Fixes runtime when trying to put dna-less brain mmi into a dnalocked mech. - Removed carbon/var/list/features, we now only have dna.features and prefs.features - Remove hulk mutation from lizards and other species (Fixed 6413); only real humans can acquire hulk. (less work on sprites for each ones, fixes lizard tail not in hulk color) - Fixes cloning not setting up correctly dna UE and dna.real_name - I fixed the issue with sucked+cloned ling being unable to absorb - I fixed issue with changeling proc checking if they have the dna already not working. - Fixed 4095, low health hulk with DAA getting stuck in loop of acquiring/losing hulk. - I added a second layer for mutations to differientate mutations that go below and above the body layer (Fixes 7858) - Fixes 10048, the transform to initial appearence button was fucking up the dna. - Fixes cloning not setting up correctly dna UE and dna.real_name - Fixed the issue with sucked+cloned ling being unable to absorb - Fixed issue with changeling proc checking if they have the dna already not working. - Fixed 4095, low health hulk with DAA getting stuck in loop of acquiring/losing hulk. - Added a second layer for mutations to differientate mutations that go below and above the body layer (Fixes 7858) - Fixes 10048, the transform to initial appearence button was fucking up the dna.
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
/obj/effect/proc_holder/changeling/humanform
|
|
name = "Human form"
|
|
desc = "We change into a human."
|
|
chemical_cost = 5
|
|
genetic_damage = 3
|
|
req_dna = 1
|
|
max_genetic_damage = 3
|
|
|
|
|
|
//Transform into a human.
|
|
/obj/effect/proc_holder/changeling/humanform/sting_action(mob/living/carbon/user)
|
|
var/datum/changeling/changeling = user.mind.changeling
|
|
var/list/names = list()
|
|
for(var/datum/changelingprofile/prof in changeling.stored_profiles)
|
|
names += "[prof.name]"
|
|
|
|
var/chosen_name = input("Select the target DNA: ", "Target DNA", null) as null|anything in names
|
|
if(!chosen_name)
|
|
return
|
|
|
|
var/datum/changelingprofile/chosen_prof = changeling.get_dna(chosen_name)
|
|
if(!chosen_prof)
|
|
return
|
|
if(!user || user.notransform)
|
|
return 0
|
|
user << "<span class='notice'>We transform our appearance.</span>"
|
|
|
|
changeling.purchasedpowers -= src
|
|
|
|
var/newmob = user.humanize(TR_KEEPITEMS | TR_KEEPIMPLANTS | TR_KEEPORGANS | TR_KEEPDAMAGE | TR_KEEPVIRUS)
|
|
|
|
changeling_transform(newmob, chosen_prof)
|
|
feedback_add_details("changeling_powers","LFT")
|
|
return 1
|