mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
Merge pull request #14161 from Seris02/prometheanchanges
fixes "Revert "promethean fixes and QoLs""
This commit is contained in:
@@ -60,8 +60,8 @@
|
||||
ASSERT(istype(H))
|
||||
var/datum/species/new_copy = new src.type()
|
||||
new_copy.race_key = race_key
|
||||
new_copy.base_species = custom_base
|
||||
if (custom_base)
|
||||
if (selects_bodytype && custom_base)
|
||||
new_copy.base_species = custom_base
|
||||
if(selects_bodytype == SELECTS_BODYTYPE_CUSTOM) //If race selects a bodytype, retrieve the custom_base species and copy needed variables.
|
||||
var/datum/species/S = GLOB.all_species[custom_base]
|
||||
S.copy_variables(new_copy, copy_vars)
|
||||
|
||||
@@ -264,8 +264,8 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
|
||||
var/obj/item/organ/external/head/head = organs_by_name[BP_HEAD]
|
||||
if(head)
|
||||
if(!istype(head, /obj/item/organ/external/stump))
|
||||
if (species.selects_bodytype != SELECTS_BODYTYPE_FALSE && dna.base_species)
|
||||
var/headtype = GLOB.all_species[dna.base_species]?.has_limbs[BP_HEAD]
|
||||
if (species.selects_bodytype != SELECTS_BODYTYPE_FALSE)
|
||||
var/headtype = GLOB.all_species[species.base_species]?.has_limbs[BP_HEAD]
|
||||
var/obj/item/organ/external/head/headtypepath = headtype["path"]
|
||||
if (headtypepath)
|
||||
head.eye_icon = initial(headtypepath.eye_icon)
|
||||
|
||||
Reference in New Issue
Block a user