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

organ_set_bonus

Vars

biotype_addedwhat biotype(s) was added - used to check if we should remove the biotype or not, on organ set loss.
bonus_activeif the bonus is active
bonus_biotypeBonus biotype(s) to add on bonus activation.
bonus_traitsA list of traits added to the mob upon bonus activation, can be of any length.
color_overlay_priorityColor priority for limb limb_texture
limb_textureLimb texture to apply upon activation
organshow many organs the carbon with this has in the set
organs_neededhow many organs in the set you need to enable the bonus
required_biotypeRequired mob bio-type. Also checks DNA validity it's set to MOB_ORGANIC.

Procs

on_species_gainAfter the new species has added its biotypes to the mob, check if they already have or don't have the bonus biotype now.
on_species_lossWe need to recalculate the mob biotypes, so first, remove the added biotypes from the mob before the new species changes the standard biotypes.

Var Details

biotype_added

what biotype(s) was added - used to check if we should remove the biotype or not, on organ set loss.

bonus_active

if the bonus is active

bonus_biotype

Bonus biotype(s) to add on bonus activation.

bonus_traits

A list of traits added to the mob upon bonus activation, can be of any length.

color_overlay_priority

Color priority for limb limb_texture

limb_texture

Limb texture to apply upon activation

organs

how many organs the carbon with this has in the set

organs_needed

how many organs in the set you need to enable the bonus

required_biotype

Required mob bio-type. Also checks DNA validity it's set to MOB_ORGANIC.

Proc Details

on_species_gain

After the new species has added its biotypes to the mob, check if they already have or don't have the bonus biotype now.

on_species_loss

We need to recalculate the mob biotypes, so first, remove the added biotypes from the mob before the new species changes the standard biotypes.