Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
canistergasoline.c
Go to the documentation of this file.
1 class CanisterGasoline extends Bottle_Base
2 {
3  void CanisterGasoline()
4  {
5  }
6 
7  void ~CanisterGasoline()
8  {
9  }
10 
11  override bool IsContainer()
12  {
13  return true;
14  }
15 
16  override string GetPouringSoundset()
17  {
18  return "emptyVessle_CanisterGasoline_SoundSet";
19  }
20 
21  override string GetEmptyingLoopSoundsetHard()
22  {
23  return "pour_HardGround_GasolineCanister_SoundSet";
24  }
25 
26  override string GetEmptyingLoopSoundsetSoft()
27  {
28  return "pour_SoftGround_GasolineCanister_SoundSet";
29  }
30 
31  override string GetEmptyingLoopSoundsetWater()
32  {
33  return "pour_Water_GasolineCanister_SoundSet";
34  }
35 
36  override string GetEmptyingEndSoundsetHard()
37  {
38  return "pour_End_HardGround_GasolineCanister_SoundSet";
39  }
40 
41  override string GetEmptyingEndSoundsetSoft()
42  {
43  return "pour_End_SoftGround_GasolineCanister_SoundSet";
44  }
45 
46  override string GetEmptyingEndSoundsetWater()
47  {
48  return "pour_End_Water_GasolineCanister_SoundSet";
49  }
50 
51  override float GetLiquidThroughputCoef()
52  {
54  }
55 
56  override bool CanPutInCargo( EntityAI parent )
57  {
58  if( !super.CanPutInCargo(parent) ) {return false;}
59  if ( parent && (parent.IsKindOf("CanisterGasoline"))/* && !(parent.IsKindOf("Container_Base"))*/)
60  {
61  return false;
62  }
63 
64  return true;
65  }
66 
67  override bool IsOpen()
68  {
69  return true;
70  }
71 }
GetEmptyingLoopSoundsetWater
string GetEmptyingLoopSoundsetWater()
IsOpen
override bool IsOpen()
Definition: fireplacebase.c:2395
Bottle_Base
Definition: canistergasoline.c:1
GetLiquidThroughputCoef
override float GetLiquidThroughputCoef()
Definition: carscript.c:486
GetPouringSoundset
string GetPouringSoundset()
CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition: explosivesbase.c:247
GetEmptyingEndSoundsetWater
string GetEmptyingEndSoundsetWater()
GetEmptyingLoopSoundsetHard
string GetEmptyingLoopSoundsetHard()
GetEmptyingEndSoundsetHard
string GetEmptyingEndSoundsetHard()
GetEmptyingEndSoundsetSoft
string GetEmptyingEndSoundsetSoft()
EntityAI
Definition: building.c:5
LIQUID_THROUGHPUT_GASOLINECANISTER
const float LIQUID_THROUGHPUT_GASOLINECANISTER
Definition: constants.c:526
GetEmptyingLoopSoundsetSoft
string GetEmptyingLoopSoundsetSoft()