Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/reagents

Vars

can_be_heatedcan be heated by external sources
defer_reactionsSet internally to prevent reactions inside reactions.
inertDo not react. At all. Do not pass go, do not collect $200. Halt. Stop right there, son.
postfoamattempt at killing infinite foam

Procs

del_reagent
get_average_colorreturns the average color of the reagents taking into account concentration and transparency reagent_exception_ids argument is a list of reagents to excluded from the calculation
get_descriptionreturns text description of reagent(s) plus exact text of reagents if using correct equipment
get_prevalent_tastesgive a list of the n tastes that are most present in this mixture takes argument of how many tastes
get_state_descriptionreturns whether reagents are solid, liquid, gas, or mixture
get_taste_stringGets a string of what something tastes like (as shown to the drinker/eater/whatever)
is_fullli'l tiny helper thing vOv
metabolizemultiplier is used to handle realtime metabolizations over byond time
reactionparamslist thingy can override the can_burn oh god im sorry. paramslist only used for mobs for now, feeel free to paste in for turfs objs
reagents_changedredirect my_atom.on_reagent_change() through this function. var/add will be 1 if reagents were just added
temperature_reactCalls the temperature reaction procs without changing the temp.
temperature_reagentsThis is what you use to change the temp of a reagent holder. Do not manually change the reagent unless you know what youre doing.
trans_toindex = which reagent to transfer (0 = all)

Var Details

can_be_heated

can be heated by external sources

defer_reactions

Set internally to prevent reactions inside reactions.

inert

Do not react. At all. Do not pass go, do not collect $200. Halt. Stop right there, son.

postfoam

attempt at killing infinite foam

Proc Details

del_reagent

get_average_color

returns the average color of the reagents taking into account concentration and transparency reagent_exception_ids argument is a list of reagents to excluded from the calculation

get_description

returns text description of reagent(s) plus exact text of reagents if using correct equipment

get_prevalent_tastes

give a list of the n tastes that are most present in this mixture takes argument of how many tastes

get_state_description

returns whether reagents are solid, liquid, gas, or mixture

get_taste_string

Gets a string of what something tastes like (as shown to the drinker/eater/whatever)

is_full

li'l tiny helper thing vOv

metabolize

multiplier is used to handle realtime metabolizations over byond time

reaction

paramslist thingy can override the can_burn oh god im sorry. paramslist only used for mobs for now, feeel free to paste in for turfs objs

reagents_changed

redirect my_atom.on_reagent_change() through this function. var/add will be 1 if reagents were just added

temperature_react

Calls the temperature reaction procs without changing the temp.

temperature_reagents

This is what you use to change the temp of a reagent holder. Do not manually change the reagent unless you know what youre doing.

trans_to

index = which reagent to transfer (0 = all)