Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
well.c
Go to the documentation of this file.
1
class
Well
extends
BuildingSuper
2
{
3
override
bool
IsBuilding
()
4
{
5
return
false
;
6
}
7
8
override
bool
IsWell()
9
{
10
return
GetWaterSourceObjectType() ==
EWaterSourceObjectType
.WELL;
11
}
12
13
override
EWaterSourceObjectType
GetWaterSourceObjectType()
14
{
15
return
EWaterSourceObjectType
.WELL;
16
}
17
18
override
float
GetLiquidThroughputCoef
()
19
{
20
return
LIQUID_THROUGHPUT_WELL
;
21
}
22
23
override
void
SetActions
()
24
{
25
super.SetActions();
26
27
AddAction
(
ActionWashHandsWell
);
28
AddAction
(
ActionDrinkWellContinuous
);
29
}
30
}
Well
Definition:
land_misc_well_pump_blue.c:1
BuildingSuper
Definition:
buildingwithfireplace.c:1
LIQUID_THROUGHPUT_WELL
const float LIQUID_THROUGHPUT_WELL
Definition:
constants.c:530
ActionDrinkWellContinuous
ActionEatBigCB ActionDrinkWellContinuous
EWaterSourceObjectType
EWaterSourceObjectType
Definition:
ewatersourceobjecttype.c:1
ActionWashHandsWell
ActionWaterGardenSlotCB ActionWashHandsWell
GetLiquidThroughputCoef
override float GetLiquidThroughputCoef()
Definition:
carscript.c:486
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
SetActions
void SetActions()
Definition:
advancedcommunication.c:79
IsBuilding
protected bool IsBuilding(ActionTarget target)
Definition:
actionbase.c:918
DAYZ
scripts_v1.24.157551
scripts
world
entities
building
well.c
Generated by
1.8.17