12 return liquid.GetLiquidClassname();
71 PluginTransmissionAgents
m_mta = PluginTransmissionAgents.Cast(
GetPlugin(PluginTransmissionAgents));
131 PluginTransmissionAgents
plugin = PluginTransmissionAgents.Cast(
GetPlugin(PluginTransmissionAgents));
class OptionSelectorMultistate extends OptionSelector class_name
PluginBase GetPlugin(typename plugin_type)
static float GetNutritionalIndex(int liquid_type)
static bool InitAllLiquids()
static float GetToxicity(int liquid_type)
static void Transfer(ItemBase source_ent, ItemBase target_ent, float quantity=-1)
static NutritionalProfile GetNutritionalProfileByType(int liquid_type)
static float GetFlammability(int liquid_type)
static float GetFullness(int liquid_type)
static void FillContainerEnviro(ItemBase container, int liquid_type, float amount, bool inject_agents=false)
static float GetWaterContent(int liquid_type)
static NutritionalProfile SetUpNutritionalProfile(int liquid_type, string liquid_class_name)
static int GetAgents(int liquid_type)
static void FillContainer(ItemBase container, int liquid_type, float amount)
static string GetLiquidConfigProperty(int liquid_type, string property_name, bool is_nutrition_property=false)
static ref map< string, ref NutritionalProfile > m_AllLiquidsByName
static float GetEnergy(int liquid_type)
static bool CanFillContainer(ItemBase container, int liquid_type, bool ignore_fullness_check=false)
static string GetName(int liquid_type)
static ref map< int, ref NutritionalProfile > m_AllLiquidsByType
static NutritionalProfile GetNutritionalProfileByName(string class_name)
static bool CanTransfer(ItemBase source_ent, ItemBase target_ent)
static float GetDigestibility(int liquid_type)
static string GetLiquidClassname(int liquid_type)
proto native CGame GetGame()
const int AGT_TRANSFER_COPY
static proto float Min(float x, float y)
Returns smaller of two given values.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.