Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
FilteringBottle Class Reference
Inheritance diagram for FilteringBottle:
Bottle_Base

Protected Member Functions

override void AffectLiquidContainerOnFill (int liquid_type, float amount)
override void AffectLiquidContainerOnTransfer (int liquidType, float amount, float sourceLiquidTemperature)
void DamageBottleConsume (float amount, PlayerBase consumer)
override float GetItemOverheatThreshold ()
 disregards liquid boil threshold if filled

Private Member Functions

override bool CanPutInCargo (EntityAI parent)
override int FilterAgents (int agentsIn)
override string GetEmptyingEndSoundsetHard ()
override string GetEmptyingEndSoundsetSoft ()
override string GetEmptyingEndSoundsetWater ()
override string GetEmptyingLoopSoundsetHard ()
override string GetEmptyingLoopSoundsetSoft ()
override string GetEmptyingLoopSoundsetWater ()
override string GetPouringSoundset ()
override bool IsOpen ()
override void OnConsume (float amount, PlayerBase consumer)

Private Attributes

const float DAMAGE_CONSUME_PER_ML = 0.01
const float DAMAGE_ENVIRO_LIQUID_COEF_MAX = 1.5
const float DAMAGE_ENVIRO_LIQUID_COEF_MIN = 1
const float DAMAGE_ENVIRO_TEMPDIFF_MAX = 10
const float DAMAGE_ENVIRO_TEMPDIFF_MIN = 80
const float DAMAGE_OVERHEAT_PER_S = 1

Detailed Description

Definition at line 1 of file filteringbottle.c.

Member Function Documentation

◆ AffectLiquidContainerOnFill()

override void AffectLiquidContainerOnFill ( int liquid_type,
float amount )
inlineprotected

◆ AffectLiquidContainerOnTransfer()

override void AffectLiquidContainerOnTransfer ( int liquidType,
float amount,
float sourceLiquidTemperature )
inlineprotected

◆ CanPutInCargo()

override bool CanPutInCargo ( EntityAI parent)
inlineprivate

Definition at line 45 of file filteringbottle.c.

◆ DamageBottleConsume()

void DamageBottleConsume ( float amount,
PlayerBase consumer )
inlineprotected

Definition at line 75 of file filteringbottle.c.

References DAMAGE_CONSUME_PER_ML.

Referenced by OnConsume().

◆ FilterAgents()

override int FilterAgents ( int agentsIn)
inlineprivate

Definition at line 61 of file filteringbottle.c.

◆ GetEmptyingEndSoundsetHard()

override string GetEmptyingEndSoundsetHard ( )
inlineprivate

Definition at line 30 of file filteringbottle.c.

◆ GetEmptyingEndSoundsetSoft()

override string GetEmptyingEndSoundsetSoft ( )
inlineprivate

Definition at line 35 of file filteringbottle.c.

◆ GetEmptyingEndSoundsetWater()

override string GetEmptyingEndSoundsetWater ( )
inlineprivate

Definition at line 40 of file filteringbottle.c.

◆ GetEmptyingLoopSoundsetHard()

override string GetEmptyingLoopSoundsetHard ( )
inlineprivate

Definition at line 15 of file filteringbottle.c.

◆ GetEmptyingLoopSoundsetSoft()

override string GetEmptyingLoopSoundsetSoft ( )
inlineprivate

Definition at line 20 of file filteringbottle.c.

◆ GetEmptyingLoopSoundsetWater()

override string GetEmptyingLoopSoundsetWater ( )
inlineprivate

Definition at line 25 of file filteringbottle.c.

◆ GetItemOverheatThreshold()

override float GetItemOverheatThreshold ( )
inlineprotected

disregards liquid boil threshold if filled

Definition at line 107 of file filteringbottle.c.

Referenced by AffectLiquidContainerOnTransfer().

◆ GetPouringSoundset()

override string GetPouringSoundset ( )
inlineprivate

Definition at line 10 of file filteringbottle.c.

◆ IsOpen()

override bool IsOpen ( )
inlineprivate

Definition at line 56 of file filteringbottle.c.

◆ OnConsume()

override void OnConsume ( float amount,
PlayerBase consumer )
inlineprivate

Definition at line 68 of file filteringbottle.c.

References DamageBottleConsume().

Field Documentation

◆ DAMAGE_CONSUME_PER_ML

const float DAMAGE_CONSUME_PER_ML = 0.01
private

Definition at line 3 of file filteringbottle.c.

Referenced by DamageBottleConsume().

◆ DAMAGE_ENVIRO_LIQUID_COEF_MAX

const float DAMAGE_ENVIRO_LIQUID_COEF_MAX = 1.5
private

◆ DAMAGE_ENVIRO_LIQUID_COEF_MIN

const float DAMAGE_ENVIRO_LIQUID_COEF_MIN = 1
private

◆ DAMAGE_ENVIRO_TEMPDIFF_MAX

const float DAMAGE_ENVIRO_TEMPDIFF_MAX = 10
private

◆ DAMAGE_ENVIRO_TEMPDIFF_MIN

const float DAMAGE_ENVIRO_TEMPDIFF_MIN = 80
private

◆ DAMAGE_OVERHEAT_PER_S

const float DAMAGE_OVERHEAT_PER_S = 1
private

Definition at line 4 of file filteringbottle.c.


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/edible_base/bottle_base/filteringbottle.c