human
![code/datums/mutations/_mutations.dm 5](git.png)
Vars | |
alias | 'Mutation #49', decided every round to get some form of distinction between undiscovered mutations |
---|---|
blocks | Amount of those big blocks with gene sequences |
can_chromosome | can we take chromosomes? 0: CHROMOSOME_NEVER never 1: CHROMOSOME_NONE yeah 2: CHROMOSOME_USED no, already have one |
chromosome_name | Name of the chromosome |
class | The class of mutation (MUT_NORMAL, MUT_EXTRA, MUT_OTHER) |
conflicts | any mutations that might conflict. put mutation typepath defines in here. make sure to enter it both ways (so that A conflicts with B, and B with A) |
desc | Description of the mutation |
difficulty | Amount of missing sequences. Sometimes it removes an entire pair for 2 points |
dna | The owner of this mutation's DNA |
energy_coeff | Lowers mutation cooldown |
health_req | Minimum health required to acquire the mutation |
instability | Instability the holder gets when the mutation is not native |
layer_used | Which mutation layer to use |
limb_req | Required limbs to acquire this mutation |
locked | Is this mutation currently locked? |
modified | Has the chromosome been modified |
owner | Owner of this mutation |
power_coeff | Boosts mutation strength |
power_path | The path of action we grant to our user on mutation gain |
quality | Quality of the mutation |
ryetalyn_proof | Is this mutation ryetalyn proof |
scrambled | Whether we can read it if it's active. To avoid cheesing with mutagen |
species_allowed | To restrict mutation to only certain species |
stabilizer_coeff | genetic stability coeff |
synchronizer_coeff | Makes the mutation hurt the user less |
text_gain_indication | Message given to the user upon gaining this mutation |
text_lose_indication | Message given to the user upon losing this mutation |
timeout | Time between mutation creation and removal. If this exists, we have a timer |
valid_chrom_list | List of strings of valid chromosomes this mutation can accept. |
visual_indicators | Visual indicators upon the character of the owner of this mutation |
Procs | |
modify | Called when a chromosome is applied so we can properly update some stats without having to remove and reapply the mutation from someone |
Var Details
alias
![code/datums/mutations/_mutations.dm 42](git.png)
'Mutation #49', decided every round to get some form of distinction between undiscovered mutations
blocks
![code/datums/mutations/_mutations.dm 36](git.png)
Amount of those big blocks with gene sequences
can_chromosome
![code/datums/mutations/_mutations.dm 60](git.png)
can we take chromosomes? 0: CHROMOSOME_NEVER never 1: CHROMOSOME_NONE yeah 2: CHROMOSOME_USED no, already have one
chromosome_name
![code/datums/mutations/_mutations.dm 62](git.png)
Name of the chromosome
class
![code/datums/mutations/_mutations.dm 46](git.png)
The class of mutation (MUT_NORMAL, MUT_EXTRA, MUT_OTHER)
conflicts
![code/datums/mutations/_mutations.dm 52](git.png)
any mutations that might conflict. put mutation typepath defines in here. make sure to enter it both ways (so that A conflicts with B, and B with A)
desc
![code/datums/mutations/_mutations.dm 8](git.png)
Description of the mutation
difficulty
![code/datums/mutations/_mutations.dm 38](git.png)
Amount of missing sequences. Sometimes it removes an entire pair for 2 points
dna
![code/datums/mutations/_mutations.dm 30](git.png)
The owner of this mutation's DNA
energy_coeff
![code/datums/mutations/_mutations.dm 76](git.png)
Lowers mutation cooldown
health_req
![code/datums/mutations/_mutations.dm 26](git.png)
Minimum health required to acquire the mutation
instability
![code/datums/mutations/_mutations.dm 34](git.png)
Instability the holder gets when the mutation is not native
layer_used
![code/datums/mutations/_mutations.dm 22](git.png)
Which mutation layer to use
limb_req
![code/datums/mutations/_mutations.dm 28](git.png)
Required limbs to acquire this mutation
locked
![code/datums/mutations/_mutations.dm 10](git.png)
Is this mutation currently locked?
modified
![code/datums/mutations/_mutations.dm 64](git.png)
Has the chromosome been modified
owner
![code/datums/mutations/_mutations.dm 32](git.png)
Owner of this mutation
power_coeff
![code/datums/mutations/_mutations.dm 74](git.png)
Boosts mutation strength
power_path
![code/datums/mutations/_mutations.dm 20](git.png)
The path of action we grant to our user on mutation gain
quality
![code/datums/mutations/_mutations.dm 12](git.png)
Quality of the mutation
ryetalyn_proof
![code/datums/mutations/_mutations.dm 66](git.png)
Is this mutation ryetalyn proof
scrambled
![code/datums/mutations/_mutations.dm 44](git.png)
Whether we can read it if it's active. To avoid cheesing with mutagen
species_allowed
![code/datums/mutations/_mutations.dm 24](git.png)
To restrict mutation to only certain species
stabilizer_coeff
![code/datums/mutations/_mutations.dm 70](git.png)
genetic stability coeff
synchronizer_coeff
![code/datums/mutations/_mutations.dm 72](git.png)
Makes the mutation hurt the user less
text_gain_indication
![code/datums/mutations/_mutations.dm 14](git.png)
Message given to the user upon gaining this mutation
text_lose_indication
![code/datums/mutations/_mutations.dm 16](git.png)
Message given to the user upon losing this mutation
timeout
![code/datums/mutations/_mutations.dm 40](git.png)
Time between mutation creation and removal. If this exists, we have a timer
valid_chrom_list
![code/datums/mutations/_mutations.dm 78](git.png)
List of strings of valid chromosomes this mutation can accept.
visual_indicators
![code/datums/mutations/_mutations.dm 18](git.png)
Visual indicators upon the character of the owner of this mutation
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