11 return "emptyVessle_WaterBottle_SoundSet";
16 return "pour_HardGround_WatterBottle_SoundSet";
21 return "pour_SoftGround_WatterBottle_SoundSet";
26 return "pour_Water_WatterBottle_SoundSet";
31 return "pour_End_HardGround_WatterBottle_SoundSet";
36 return "pour_End_SoftGround_WatterBottle_SoundSet";
41 return "pour_End_Water_WatterBottle_SoundSet";
46 if( !super.CanPutInCargo(parent) ) {
return false;}
47 if ( parent && (parent.IsKindOf(
"WatterBottle")))
84 float liquidTemperature =
g_Game.GetMission().GetWorldData().GetLiquidTypeEnviroTemperature(liquid_type);
91 DecreaseHealth(amount * damageVal * temperatureDiffCoef,
false);
100 float temperatureDiff = sourceLiquidTemperature -
GetTemperature();
104 DecreaseHealth(amount * damageVal * temperatureDiffCoef,
false);
111 return GetTemperatureMax();
override string GetEmptyingEndSoundsetSoft()
const float DAMAGE_ENVIRO_TEMPDIFF_MIN
override void OnDebugSpawn()
override float GetItemOverheatThreshold()
disregards liquid boil threshold if filled
const float DAMAGE_ENVIRO_TEMPDIFF_MAX
override string GetEmptyingEndSoundsetHard()
override string GetPouringSoundset()
override bool CanPutInCargo(EntityAI parent)
override void EEOnCECreate()
const float DAMAGE_ENVIRO_LIQUID_COEF_MAX
override string GetEmptyingLoopSoundsetWater()
override string GetEmptyingEndSoundsetWater()
const float DAMAGE_ENVIRO_LIQUID_COEF_MIN
override void AffectLiquidContainerOnTransfer(int liquidType, float amount, float sourceLiquidTemperature)
override void AffectLiquidContainerOnFill(int liquid_type, float amount)
const float DAMAGE_OVERHEAT_PER_S
override string GetEmptyingLoopSoundsetSoft()
override string GetEmptyingLoopSoundsetHard()
Keeps information about currently loaded world, like temperature.
float GetAgentSpawnChance(eAgents agent)
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'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
override void InsertAgent(int agent, float count=1)
override int GetQuantityMax()