DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
CanisterGasoline.c
Go to the documentation of this file.
1class CanisterGasoline extends Bottle_Base
2{
4 {
5 }
6
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
22 {
23 return "pour_HardGround_GasolineCanister_SoundSet";
24 }
25
27 {
28 return "pour_SoftGround_GasolineCanister_SoundSet";
29 }
30
32 {
33 return "pour_Water_GasolineCanister_SoundSet";
34 }
35
37 {
38 return "pour_End_HardGround_GasolineCanister_SoundSet";
39 }
40
42 {
43 return "pour_End_SoftGround_GasolineCanister_SoundSet";
44 }
45
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}
override string GetEmptyingEndSoundsetSoft()
override bool IsOpen()
override string GetEmptyingEndSoundsetHard()
void CanisterGasoline()
override string GetPouringSoundset()
override bool CanPutInCargo(EntityAI parent)
void ~CanisterGasoline()
override string GetEmptyingLoopSoundsetWater()
override string GetEmptyingEndSoundsetWater()
override bool IsContainer()
override string GetEmptyingLoopSoundsetSoft()
override float GetLiquidThroughputCoef()
override string GetEmptyingLoopSoundsetHard()
const float LIQUID_THROUGHPUT_GASOLINECANISTER
Definition constants.c:510