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

symptom

Vars

base_message_chanceBase chance of sending warning messages, so it can be modified
descBasic symptom description
idThe hash tag for our diseases, we will add it up with our other symptoms to get a unique id! ID MUST BE UNIQUE!!!
illnessPotential illness name caused by the symptom
levelThe type level of the symptom. Higher is harder to generate.
naturally_occuringIf this symptom can appear from /datum/disease/advance/GenerateSymptoms()
neuteredA neutered symptom has no effect, and only affects statistics.
next_activationTicks between each activation
powerCan be used to multiply virus effects
required_organIf the symptom requires an organ for the effects to function, robotic organs are immune to disease unless inorganic biology symptom is present
resistanceHow the symptom affects the disease's resistance stat, positive values make it harder to cure
severityThe severity level of the symptom. Higher is more dangerous.
stage_speedHow the symptom affects the disease's stage speed stat, positive values cause faster stage progression
stealthHow the symptom affects the disease's stealth stat, positive values make it less noticeable
suppress_warningIf the early warnings are suppressed or not
threshold_descsDescriptions of threshold effects
transmittableHow the symptom affects the disease's transmissibility

Procs

EndCalled when the advance disease is going to be deleted or when the advance disease stops processing.
OnAddOverload when a symptom needs to be active before processing, like changing biotypes.
OnRemoveOverload for running after processing.
StartCalled when processing of the advance disease that holds this symptom infects a host and upon each Refresh() of that advance disease.
can_generate_randomlyCheck if we can generate randomly
get_symptom_dataReturns a list for all of the traits of this symptom.

Var Details

base_message_chance

Base chance of sending warning messages, so it can be modified

desc

Basic symptom description

id

The hash tag for our diseases, we will add it up with our other symptoms to get a unique id! ID MUST BE UNIQUE!!!

illness

Potential illness name caused by the symptom

level

The type level of the symptom. Higher is harder to generate.

naturally_occuring

If this symptom can appear from /datum/disease/advance/GenerateSymptoms()

neutered

A neutered symptom has no effect, and only affects statistics.

next_activation

Ticks between each activation

power

Can be used to multiply virus effects

required_organ

If the symptom requires an organ for the effects to function, robotic organs are immune to disease unless inorganic biology symptom is present

resistance

How the symptom affects the disease's resistance stat, positive values make it harder to cure

severity

The severity level of the symptom. Higher is more dangerous.

stage_speed

How the symptom affects the disease's stage speed stat, positive values cause faster stage progression

stealth

How the symptom affects the disease's stealth stat, positive values make it less noticeable

suppress_warning

If the early warnings are suppressed or not

threshold_descs

Descriptions of threshold effects

transmittable

How the symptom affects the disease's transmissibility

Proc Details

End

Called when the advance disease is going to be deleted or when the advance disease stops processing.

OnAdd

Overload when a symptom needs to be active before processing, like changing biotypes.

OnRemove

Overload for running after processing.

Start

Called when processing of the advance disease that holds this symptom infects a host and upon each Refresh() of that advance disease.

can_generate_randomly

Check if we can generate randomly

get_symptom_data

Returns a list for all of the traits of this symptom.

@returns {list} symptom - The desired symptoms as a list.