/tg/ Station 13 - Modules - Types

modular_nova/modules/liquids/code/reagents/chemistry/reagents.dm

/datum/liquid_reagent_lookWhat liquids read off one reagent type, from get_liquid_reagent_look().
/proc/get_liquid_reagent_lookReturns what liquids read off a reagent type, worked out once per type.
/proc/get_lone_liquid_colorReturns the colour of a pool holding only one reagent type, at any volume above 0, worked out once per type.
/proc/get_liquid_surfaceReturns the surface a pool of these reagents draws.
/proc/scale_liquid_colorReturns a mixed pool colour scaled by its surface class's LIQUID_COLOR_FACTOR_*, as "#rrggbb".
/proc/get_liquid_color_factorReturns the LIQUID_COLOR_FACTOR_* that a pool of this LIQUID_SURFACE_* class scales its mix colour by.
/proc/mix_opacity_from_reagent_listReturns the volume-weighted liquid_opacity of a reagent type to volume list, from 0 (clear) to 1 (opaque).
/proc/mix_liquid_colorReturns the volume-weighted RGB mean of a reagent type to volume list, as "#rrggbb".
/proc/mix_colors_by_volumeReturns the volume-weighted RGB mean of a colour to volume list, as "#rrggbb" with alpha ignored, or null when it holds no volume.