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.
30 lines
862 B
Plaintext
30 lines
862 B
Plaintext
/datum/round_event_control/wizard/race //Lizard Wizard? Lizard Wizard.
|
|
name = "Race Swap"
|
|
weight = 2
|
|
typepath = /datum/round_event/wizard/race/
|
|
max_occurrences = 5
|
|
earliest_start = 0
|
|
|
|
/datum/round_event/wizard/race/start()
|
|
|
|
var/all_the_same = 0
|
|
var/all_species = list()
|
|
|
|
for(var/speciestype in typesof(/datum/species) - /datum/species)
|
|
var/datum/species/S = new speciestype()
|
|
if(!S.dangerous_existence)
|
|
all_species += speciestype
|
|
|
|
var/datum/species/new_species = pick(all_species)
|
|
|
|
if(prob(50))
|
|
all_the_same = 1
|
|
|
|
for(var/mob/living/carbon/human/H in mob_list) //yes, even the dead
|
|
H.set_species(new_species)
|
|
H.real_name = new_species.random_name(H.gender,1)
|
|
H.dna.unique_enzymes = H.dna.generate_unique_enzymes()
|
|
H << "<span class='notice'>You feel somehow... different?</span>"
|
|
if(!all_the_same)
|
|
new_species = pick(all_species)
|