Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/DNA.dm

DNA_FEATURE_BLOCKSThis number needs to equal the total number of DNA blocks
TR_HASHNAMEhashing names (e.g. monkey(e34f)) (only in monkeyize)
TR_KEEPSEchangelings shouldn't edit the DNA's SE when turning into a monkey
MUTCOLORS_PARTSONLYUsed if we want the mutant colour to be only used by mutant bodyparts. Don't combine this with MUTCOLORS, or it will be useless.
NOCOLORCHANGEIf we want a race to have a standard color (for now this is only polysmorphs)
DIGITIGRADEUses weird leg sprites. Optional for Lizards, required for ashwalkers. Don't give it to other races unless you make sprites for this (see human_parts_greyscale.dmi)
DYNCOLORSUse this if you want to change the race's color without the player being able to pick their own color. AKA special color shifting
NOEYESPRITESDo not draw eyes or eyeless overlay
HAS_FLESHUsed for determining which wounds are applicable to this species. if we have flesh (can suffer slash/piercing/burn wounds, requires they don't have NOBLOOD)
HAS_BONEif we have bones (can suffer bone wounds)
NOHUSKCan't be husked.
NOMOUTHhave no mouth to ingest/eat with
HAS_TAILhas a tail
STANDARD_ORGAN_DECAYdesigned to fail organs when left to decay for ~15 minutes
SPECIES_PERK_ICONA key that designates UI icon displayed on the perk.
SPECIES_PERK_NAMEA key that designates the name of the perk.
SPECIES_PERK_DESCA key that designates the description of the perk.
SPECIES_PERK_TYPEA key that designates what type of perk it is (see below).

Define Details

DIGITIGRADE

Uses weird leg sprites. Optional for Lizards, required for ashwalkers. Don't give it to other races unless you make sprites for this (see human_parts_greyscale.dmi)

DNA_FEATURE_BLOCKS

This number needs to equal the total number of DNA blocks

DYNCOLORS

Use this if you want to change the race's color without the player being able to pick their own color. AKA special color shifting

HAS_BONE

if we have bones (can suffer bone wounds)

HAS_FLESH

Used for determining which wounds are applicable to this species. if we have flesh (can suffer slash/piercing/burn wounds, requires they don't have NOBLOOD)

HAS_TAIL

has a tail

MUTCOLORS_PARTSONLY

Used if we want the mutant colour to be only used by mutant bodyparts. Don't combine this with MUTCOLORS, or it will be useless.

NOCOLORCHANGE

If we want a race to have a standard color (for now this is only polysmorphs)

NOEYESPRITES

Do not draw eyes or eyeless overlay

NOHUSK

Can't be husked.

NOMOUTH

have no mouth to ingest/eat with

SPECIES_PERK_DESC

A key that designates the description of the perk.

SPECIES_PERK_ICON

A key that designates UI icon displayed on the perk.

SPECIES_PERK_NAME

A key that designates the name of the perk.

SPECIES_PERK_TYPE

A key that designates what type of perk it is (see below).

STANDARD_ORGAN_DECAY

designed to fail organs when left to decay for ~15 minutes

TR_HASHNAME

hashing names (e.g. monkey(e34f)) (only in monkeyize)

TR_KEEPSE

changelings shouldn't edit the DNA's SE when turning into a monkey