Yogstation 13 - Modules - TypesVar Details - Proc Details

mutation

Vars

allow_cloningBoolean on whether the mutation can be downloaded onto a DNA console and cloned.
allow_transferBoolean on whether the mutation can be transferred through cloning
lockedWhether the mutation is locked, and therefore will not show up in people's genes randomly.
power_pathThe path of action we grant to our user on mutation gain

Procs

modifyCalled when a chromosome is applied so we can properly update some stats without having to remove and reapply the mutation from someone

Var Details

allow_cloning

Boolean on whether the mutation can be downloaded onto a DNA console and cloned.

allow_transfer

Boolean on whether the mutation can be transferred through cloning

locked

Whether the mutation is locked, and therefore will not show up in people's genes randomly.

power_path

The path of action we grant to our user on mutation gain

Proc Details

modify

Called when a chromosome is applied so we can properly update some stats without having to remove and reapply the mutation from someone

Returns null if no modification was done, and returns an instance of a power if modification was complete