/tg/ Station 13 - Modules - TypesVar Details - Proc Details

dna

DNA DATUM

Vars

default_mutation_genesList of the default genes from this mutation to allow DNA Scanner highlighting
featuresAssoc list of feature keys to their value Note if you set these manually, and do not update [unique_features] afterwards, it will likely be reset.
mutation_indexList of which mutations this carbon has and its assigned block
mutationsAll mutations are from now on here
previousFor temporary name/ui/ue/blood_type modifications
real_nameStores the real name of the person who originally got this dna datum. Used primarely for changelings,
scrambledDid we take something like mutagen? In that case we cant get our genes scanned to instantly cheese all the powers.
speciesThe type of mutant race the player is if applicable (i.e. potato-man)
temporary_mutationsTemporary changes to the UE
unique_enzymesAn md5 hash of the dna holder's real name
unique_featuresStores the hashed values of the person's non-human features
unique_identityStores the hashed values of traits such as skin tones, hair style, and gender

Procs

initialize_dnaSets up DNA codes and initializes some features.
is_same_asChecks if two DNAs are practically the same by comparing their most defining features
mutation_in_sequenceDNA HELPER-PROCS
set_uni_feature_blockSetter macro used to modify unique features blocks.
set_uni_identity_blockSetter macro used to modify unique identity blocks.
update_dna_identityUpdates the UI, UE, and UF of the DNA according to the features, appearance, name, etc. of the DNA / holder.

Var Details

default_mutation_genes

List of the default genes from this mutation to allow DNA Scanner highlighting

features

Assoc list of feature keys to their value Note if you set these manually, and do not update [unique_features] afterwards, it will likely be reset.

mutation_index

List of which mutations this carbon has and its assigned block

mutations

All mutations are from now on here

previous

For temporary name/ui/ue/blood_type modifications

real_name

Stores the real name of the person who originally got this dna datum. Used primarely for changelings,

scrambled

Did we take something like mutagen? In that case we cant get our genes scanned to instantly cheese all the powers.

species

The type of mutant race the player is if applicable (i.e. potato-man)

temporary_mutations

Temporary changes to the UE

unique_enzymes

An md5 hash of the dna holder's real name

unique_features

Stores the hashed values of the person's non-human features

unique_identity

Stores the hashed values of traits such as skin tones, hair style, and gender

Proc Details

initialize_dna

Sets up DNA codes and initializes some features.

is_same_as

Checks if two DNAs are practically the same by comparing their most defining features

Arguments:

mutation_in_sequence

DNA HELPER-PROCS

set_uni_feature_block

Setter macro used to modify unique features blocks.

set_uni_identity_block

Setter macro used to modify unique identity blocks.

update_dna_identity

Updates the UI, UE, and UF of the DNA according to the features, appearance, name, etc. of the DNA / holder.