DayZ 1.24
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 return false;
61
62 return true;
63 }
64
65 override bool IsOpen()
66 {
67 return true;
68 }
69}
override string GetEmptyingEndSoundsetWater()
override string GetEmptyingLoopSoundsetWater()
override string GetEmptyingLoopSoundsetHard()
override string GetEmptyingEndSoundsetSoft()
override bool CanPutInCargo(EntityAI parent)
void CanisterGasoline()
void ~CanisterGasoline()
override string GetEmptyingLoopSoundsetSoft()
override float GetLiquidThroughputCoef()
override bool IsContainer()
override string GetEmptyingEndSoundsetHard()
override string GetPouringSoundset()
override bool IsOpen()
const float LIQUID_THROUGHPUT_GASOLINECANISTER
Definition constants.c:525