mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-21 19:16:22 +01:00
human: move organ generation into a species proc
New proc: /datum/species/create_organs Called in set_species when no organs exist or it's forced. Also shuffled set_species around a bit, adding a var to human/new to specify a species to start as. Should fix the adminspawn vox organ runtime. Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
else new_mob = new /mob/living/carbon/alien/larva(M.loc)
|
||||
new_mob.universal_speak = 1
|
||||
if("human")
|
||||
new_mob = new /mob/living/carbon/human(M.loc)
|
||||
new_mob = new /mob/living/carbon/human(M.loc, pick(all_species))
|
||||
if(M.gender == MALE)
|
||||
new_mob.gender = MALE
|
||||
new_mob.name = pick(first_names_male)
|
||||
@@ -73,10 +73,6 @@
|
||||
|
||||
var/datum/preferences/A = new() //Randomize appearance for the human
|
||||
A.randomize_appearance_for(new_mob)
|
||||
|
||||
var/mob/living/carbon/human/H = new_mob
|
||||
var/newspecies = pick(all_species)
|
||||
H.set_species(newspecies)
|
||||
else
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user