mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 01:57:01 +00:00
* TG UPDATE REAL * fix checks probably * TGU, minus hardsuit stuff. * oops * haha this isnt even needed * re-adds batform * Pepsi's Fulp ERT MODsuits (#21) * makes beef cyto the parent type of a now existent parent * Removes ERTs Guns (#23) * fix checks * F OFF * Update Solitairestation.dmm * Update Solitairestation.dmm * tg update again, removes maidborgs * FU (fulp update) * FUCK YOU SOLITAIRE * Update README.md * Update species.dm * not my fault you prick (#24) * digi fix * tgu Co-authored-by: Pepsilawn <reisenrui@gmail.com>
19 lines
1014 B
Plaintext
19 lines
1014 B
Plaintext
//////////////////////////////////////////////////////////
|
|
//A bunch of helpers to make genetics less of a headache//
|
|
//////////////////////////////////////////////////////////
|
|
|
|
#define GET_INITIALIZED_MUTATION(A) GLOB.all_mutations[A]
|
|
#define GET_GENE_STRING(A, B) (B.mutation_index[A])
|
|
#define GET_SEQUENCE(A) (GLOB.full_sequences[A])
|
|
#define GET_MUTATION_TYPE_FROM_ALIAS(A) (GLOB.alias_mutations[A])
|
|
|
|
#define GET_MUTATION_STABILIZER(A) ((A.stabilizer_coeff < 0) ? 1 : A.stabilizer_coeff)
|
|
#define GET_MUTATION_SYNCHRONIZER(A) ((A.synchronizer_coeff < 0) ? 1 : A.synchronizer_coeff)
|
|
#define GET_MUTATION_POWER(A) ((A.power_coeff < 0) ? 1 : A.power_coeff)
|
|
#define GET_MUTATION_ENERGY(A) ((A.energy_coeff < 0) ? 1 : A.energy_coeff)
|
|
|
|
///Getter macro used to get the length of a identity block
|
|
#define GET_UI_BLOCK_LEN(blocknum) (GLOB.identity_block_lengths["[blocknum]"] || DNA_BLOCK_SIZE)
|
|
///Ditto, but for a feature.
|
|
#define GET_UF_BLOCK_LEN(blocknum) (GLOB.features_block_lengths["[blocknum]"] || DNA_BLOCK_SIZE)
|