mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +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> Conflicts: code/game/machinery/cloning.dm code/modules/mob/living/carbon/human/human.dm code/modules/mob/new_player/new_player.dm code/modules/organs/organ.dm
This commit is contained in:
@@ -59,7 +59,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)
|
||||
@@ -71,10 +71,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