Space Station 13 - Modules - TypesVar Details - Proc Details

disease

Vars

affected_mobMob that is suffering from this disease
can_contract_deadIf TRUE, disease can contract dead mobs
can_immunityImmunity can be developed from the disease
can_progress_in_deadIf TRUE, disease can progress in dead mobs
carrierIf TRUE, host not affected by virus, but can spread it (mostly for viruses)
carrier_mobtypesInfectable mob types, that can only be carriers
curableСan the disease be cured
cure_probProbability of cure for a tick
cured_messageMessage when cured
curesList of cures if the disease has curable = TRUE, these are reagent ids
discoveredIf TRUE, this disease will show up on medical HUDs. Automatically set when it reaches mid-stage.
discovery_thresholdThe fraction of stages the disease must at least be at to show up on medical HUDs. Rounded up.
ignore_immunityDoes it skip TRAIT_VIRUSIMMUNE
infectable_mobtypesTypes of infectable mobs
max_stagesCount of stages of disease
mutation_chanceProbability of mutation if the necessary reagents are in the body
mutation_reagentsNecessary reagents
needs_all_curesIf FASLSE, you need one of any cure from the cures list. Otherwise, you need all the cures from the cure list
possible_mutationsList of diseases in which it can mutate
required_organsRequired organs
severityIf NONTHREAT, not marked on HUD
spread_from_dead_probDisease can contract others, if carrier is dead with this chance. Set to 0, if can't. Must be in [0, 100].
stageCurrent stage of disease
stage_probProbability of moving to the next stage for a tick
virus_heal_resistantImmunity to Anti-Bodies Metabolism symptom

Procs

CanContractBasic checks of the possibility of infecting a mob
ContractAttempt to infect a mob Arguments:
has_cureReturns the number of reagents from the cures list that are in the body
mutateTransform a disease into another, if the requirements are met
stage_actMain disease process, that executed every tick

Var Details

affected_mob

Mob that is suffering from this disease

can_contract_dead

If TRUE, disease can contract dead mobs

can_immunity

Immunity can be developed from the disease

can_progress_in_dead

If TRUE, disease can progress in dead mobs

carrier

If TRUE, host not affected by virus, but can spread it (mostly for viruses)

carrier_mobtypes

Infectable mob types, that can only be carriers

curable

Сan the disease be cured

cure_prob

Probability of cure for a tick

cured_message

Message when cured

cures

List of cures if the disease has curable = TRUE, these are reagent ids

discovered

If TRUE, this disease will show up on medical HUDs. Automatically set when it reaches mid-stage.

discovery_threshold

The fraction of stages the disease must at least be at to show up on medical HUDs. Rounded up.

ignore_immunity

Does it skip TRAIT_VIRUSIMMUNE

infectable_mobtypes

Types of infectable mobs

max_stages

Count of stages of disease

mutation_chance

Probability of mutation if the necessary reagents are in the body

mutation_reagents

Necessary reagents

needs_all_cures

If FASLSE, you need one of any cure from the cures list. Otherwise, you need all the cures from the cure list

possible_mutations

List of diseases in which it can mutate

required_organs

Required organs

severity

If NONTHREAT, not marked on HUD

spread_from_dead_prob

Disease can contract others, if carrier is dead with this chance. Set to 0, if can't. Must be in [0, 100].

stage

Current stage of disease

stage_prob

Probability of moving to the next stage for a tick

virus_heal_resistant

Immunity to Anti-Bodies Metabolism symptom

Proc Details

CanContract

Basic checks of the possibility of infecting a mob

Contract

Attempt to infect a mob Arguments:

has_cure

Returns the number of reagents from the cures list that are in the body

mutate

Transform a disease into another, if the requirements are met

Returns:

stage_act

Main disease process, that executed every tick

Returns: