mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
Add support for non-genetic markings (#3643)
Adds support for non-genetic markings which are not embedded into DNA.
This commit is contained in:
@@ -475,11 +475,13 @@ var/global/list/valid_bloodtypes = list("A+", "A-", "B+", "B-", "AB+", "AB-", "O
|
||||
|
||||
else if(href_list["marking_style"])
|
||||
var/list/usable_markings = pref.body_markings ^ body_marking_styles_list
|
||||
var/datum/species/species = global.all_species[pref.species]
|
||||
var/btype = species.get_bodytype()
|
||||
for(var/M in usable_markings)
|
||||
var/datum/sprite_accessory/S = usable_markings[M]
|
||||
if(!S.species_allowed.len)
|
||||
continue
|
||||
else if(!(pref.species in S.species_allowed))
|
||||
else if(!(btype in S.species_allowed))
|
||||
usable_markings -= M
|
||||
|
||||
if (!usable_markings.len)
|
||||
|
||||
Reference in New Issue
Block a user