Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
canistergasoline.c
Go to the documentation of this file.
1
class
CanisterGasoline
:
Bottle_Base
2
{
3
override
string
GetPouringSoundset
()
4
{
5
return
"emptyVessle_CanisterGasoline_SoundSet"
;
6
}
7
8
override
string
GetEmptyingLoopSoundsetHard
()
9
{
10
return
"pour_HardGround_GasolineCanister_SoundSet"
;
11
}
12
13
override
string
GetEmptyingLoopSoundsetSoft
()
14
{
15
return
"pour_SoftGround_GasolineCanister_SoundSet"
;
16
}
17
18
override
string
GetEmptyingLoopSoundsetWater
()
19
{
20
return
"pour_Water_GasolineCanister_SoundSet"
;
21
}
22
23
override
string
GetEmptyingEndSoundsetHard
()
24
{
25
return
"pour_End_HardGround_GasolineCanister_SoundSet"
;
26
}
27
28
override
string
GetEmptyingEndSoundsetSoft
()
29
{
30
return
"pour_End_SoftGround_GasolineCanister_SoundSet"
;
31
}
32
33
override
string
GetEmptyingEndSoundsetWater
()
34
{
35
return
"pour_End_Water_GasolineCanister_SoundSet"
;
36
}
37
38
override
float
GetLiquidThroughputCoef
()
39
{
40
return
LIQUID_THROUGHPUT_GASOLINECANISTER
;
41
}
42
43
override
bool
CanPutInCargo
(
EntityAI
parent )
44
{
45
if
(!super.CanPutInCargo(parent))
46
return
false
;
47
48
if
(parent && (parent.IsKindOf(
"CanisterGasoline"
)))
49
return
false
;
50
51
return
true
;
52
}
53
54
override
bool
IsOpen
()
55
{
56
return
true
;
57
}
58
59
override
float
GetQuantityNormalizedScripted
()
60
{
61
return
1.0;
62
}
63
}
Bottle_Base
Definition
canteen.c:2
CanisterGasoline
Definition
canistergasoline.c:2
CanisterGasoline::GetEmptyingEndSoundsetSoft
override string GetEmptyingEndSoundsetSoft()
Definition
canistergasoline.c:28
CanisterGasoline::IsOpen
override bool IsOpen()
Definition
canistergasoline.c:54
CanisterGasoline::GetEmptyingEndSoundsetHard
override string GetEmptyingEndSoundsetHard()
Definition
canistergasoline.c:23
CanisterGasoline::GetPouringSoundset
override string GetPouringSoundset()
Definition
canistergasoline.c:3
CanisterGasoline::CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition
canistergasoline.c:43
CanisterGasoline::GetEmptyingLoopSoundsetWater
override string GetEmptyingLoopSoundsetWater()
Definition
canistergasoline.c:18
CanisterGasoline::GetEmptyingEndSoundsetWater
override string GetEmptyingEndSoundsetWater()
Definition
canistergasoline.c:33
CanisterGasoline::GetEmptyingLoopSoundsetSoft
override string GetEmptyingLoopSoundsetSoft()
Definition
canistergasoline.c:13
CanisterGasoline::GetLiquidThroughputCoef
override float GetLiquidThroughputCoef()
Definition
canistergasoline.c:38
CanisterGasoline::GetEmptyingLoopSoundsetHard
override string GetEmptyingLoopSoundsetHard()
Definition
canistergasoline.c:8
CanisterGasoline::GetQuantityNormalizedScripted
override float GetQuantityNormalizedScripted()
Definition
canistergasoline.c:59
EntityAI
Definition
inventoryitem.c:2
LIQUID_THROUGHPUT_GASOLINECANISTER
const float LIQUID_THROUGHPUT_GASOLINECANISTER
Definition
constants.c:574
Games
Dayz
scripts
4_world
entities
itembase
edible_base
bottle_base
canistergasoline.c
Generated by
1.17.0