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

temporary_transformation

Transforms a carbon mob into a new DNA for a set amount of time, then turns them back to how they were before transformation.

Vars

copy_dna_flagsFlags used to determine what all we're copying over
new_dnaA reference to a COPY of the DNA that the mob will be transformed into.
old_dnaA reference to a COPY of the DNA of the mob prior to transformation.

Procs

apply_dnaApplies the DNA to the mob
init_dnaCalled when initializing the DNA that the mob is transforming into
save_dnaCalled when saving the mob's DNA before transformation

Var Details

copy_dna_flags

Flags used to determine what all we're copying over

new_dna

A reference to a COPY of the DNA that the mob will be transformed into.

old_dna

A reference to a COPY of the DNA of the mob prior to transformation.

Proc Details

apply_dna

Applies the DNA to the mob

init_dna

Called when initializing the DNA that the mob is transforming into

save_dna

Called when saving the mob's DNA before transformation