reagent_containers

Vars | |
amount_per_transfer_from_this | The maximum amount of reagents per transfer that will be moved out of this reagent container. |
---|---|
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. |
free_refills | Whether we can restock this in a vendor without it having its starting reagents |
liquifier | Can liquify/grind pills without needing fluid to dissolve. |
list_reagents | List of reagents to add |
possible_transfer_amounts | The different possible amounts of reagent to transfer out of the container |
reagent_flags | Reagent flags, a few examples being if the container is open or not, if its transparent, if you can inject stuff in and out of the container, and so on |
volume | The maximum amount of reagents this container can hold |
Procs | |
change_transfer_amount | Opens a tgui_input_list and changes the transfer_amount of our container based on our selection |
has_initial_reagents | True if this object currently contains at least its starting reagents, false otherwise. Extra reagents are ignored. |
on_reagent_add | Updates the icon of the container when the reagents change. Eats signal args |
record_reagent_consumption | Record what reagents and how much of them were transferred to a mob into their ckey's /datum/personal_statistics |
try_splash | Splashes atom/target with whatever reagents are contained |
Var Details
amount_per_transfer_from_this

The maximum amount of reagents per transfer that will be moved out of this reagent container.
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").
free_refills

Whether we can restock this in a vendor without it having its starting reagents
liquifier

Can liquify/grind pills without needing fluid to dissolve.
list_reagents

List of reagents to add
possible_transfer_amounts

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

Reagent flags, a few examples being if the container is open or not, if its transparent, if you can inject stuff in and out of the container, and so on
volume

The maximum amount of reagents this container can hold
Proc Details
change_transfer_amount
Opens a tgui_input_list and changes the transfer_amount of our container based on our selection
has_initial_reagents
True if this object currently contains at least its starting reagents, false otherwise. Extra reagents are ignored.
on_reagent_add
Updates the icon of the container when the reagents change. Eats signal args
record_reagent_consumption
Record what reagents and how much of them were transferred to a mob into their ckey's /datum/personal_statistics
try_splash
Splashes atom/target with whatever reagents are contained