/tg/ Station 13 - Modules - TypesVar Details

complex_smell

Used for smells with more complex behaviors, such as

Vars

categoryCategory of the smell applied, tracked solely for dupe checking
clear_signalsOptional list of signals that immediately clear the effect if received.
fade_intensity_over_timeIf TRUE, the smell intensity will fade over time until it reaches 0, at which point the component will be removed.
intensityIntensity of the smell applied, tracked solely for dupe checking
intensity_loss_cooldownCooldown to handle intensity loss over time.
intensity_loss_periodCalculated period between intensity losses.
intensity_per_periodCalculated intensity loss per second if fading over time is enabled.
radiusRadius of the smell applied, tracked solely for dupe checking
smellSmell applied, tracked solely for dupe checking
smell_basetypeBasetype of the smell to apply, used if smell is passed as a string and a smell singleton needs to be generated. Ignored otherwise.
wash_typesFlags indicating which cleaning types will remove this smell. If NONE, no cleaning type will remove it.

Var Details

category

Category of the smell applied, tracked solely for dupe checking

clear_signals

Optional list of signals that immediately clear the effect if received.

fade_intensity_over_time

If TRUE, the smell intensity will fade over time until it reaches 0, at which point the component will be removed.

intensity

Intensity of the smell applied, tracked solely for dupe checking

intensity_loss_cooldown

Cooldown to handle intensity loss over time.

intensity_loss_period

Calculated period between intensity losses.

intensity_per_period

Calculated intensity loss per second if fading over time is enabled.

radius

Radius of the smell applied, tracked solely for dupe checking

smell

Smell applied, tracked solely for dupe checking

smell_basetype

Basetype of the smell to apply, used if smell is passed as a string and a smell singleton needs to be generated. Ignored otherwise.

wash_types

Flags indicating which cleaning types will remove this smell. If NONE, no cleaning type will remove it.