SS1984 - Modules - Types — Var Details - Proc Details

reagent_containers

Vars

adjust_color_contrastIf we want to the contrast of the reagent overlay if the reagent mix color is very dark.
disease_amountHow much of a disease specified in spawned_disease should this container spawn with
fill_iconThe icon file to take fill icon appearances from
fill_icon_stateThe optional custom name for the reagent fill icon_state prefix If not set, uses the current icon state.
fill_icon_thresholdsThe different thresholds at which the reagent fill overlay will change. See medical/reagent_fillings.dmi.
has_variable_transfer_amountDoes this container allow changing transfer amounts at all, the container can still have only one possible transfer value in possible_transfer_amounts at some point even if this is true
list_reagentsA list of what initial reagents this container should spawn with
pass_open_checkPass open check in empty verb
possible_transfer_amountsThe different possible amounts of reagent to transfer out of the container
spawned_diseaseIf this container should spawn with a disease type inside of it
volumeThe maximum amount of reagents this container can hold

Procs

splash_reagentsAttempts to splash the reagents in the container onto the target.
try_drainTransfering from target to src.
try_refillTransfering from src to target.
try_splashTries to splash the target, called when right-clicking with a reagent container.

Var Details

adjust_color_contrast

If we want to the contrast of the reagent overlay if the reagent mix color is very dark.

disease_amount

How much of a disease specified in spawned_disease should this container spawn with

fill_icon

The icon file to take fill icon appearances from

fill_icon_state

The optional custom name for the reagent fill icon_state prefix If not set, uses the current icon state.

fill_icon_thresholds

The different thresholds at which the reagent fill overlay will change. See medical/reagent_fillings.dmi.

Should be a list of integers which correspond to a reagent unit threshold. If null, no automatic fill overlays are generated.

For example, list(0) will mean it will gain a the overlay with any reagents present. This overlay is "overlayname0". list(0, 10) whill have two overlay options, for 0-10 units ("overlayname0") and 10+ units ("overlayname10").

has_variable_transfer_amount

Does this container allow changing transfer amounts at all, the container can still have only one possible transfer value in possible_transfer_amounts at some point even if this is true

list_reagents

A list of what initial reagents this container should spawn with

pass_open_check

Pass open check in empty verb

possible_transfer_amounts

The different possible amounts of reagent to transfer out of the container

spawned_disease

If this container should spawn with a disease type inside of it

volume

The maximum amount of reagents this container can hold

Proc Details

splash_reagents

Attempts to splash the reagents in the container onto the target.

try_drain

Transfering from target to src.

try_refill

Transfering from src to target.

try_splash

Tries to splash the target, called when right-clicking with a reagent container.