Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
farminghoe.c
Go to the documentation of this file.
1
class
FarmingHoe
:
ItemBase
2
{
3
override
bool
CanMakeGardenplot()
4
{
5
return
true
;
6
}
7
8
override
void
SetActions()
9
{
10
super.SetActions();
11
12
AddAction
(
ActionClapBearTrapWithThisItem
);
13
AddAction
(
ActionTogglePlaceObjectDigging
);
14
AddAction
(
ActionDigGardenPlot
);
15
AddAction
(
ActionDismantleGardenPlot
);
16
AddAction
(
ActionDismantlePart
);
17
AddAction
(
ActionBuildPart
);
18
AddAction
(
ActionBuryBody
);
19
AddAction
(
ActionBuryAshes
);
20
AddAction
(
ActionDigOutStash
);
21
AddAction
(
ActionDigInStash
);
22
AddAction
(
ActionFillObject
);
23
AddAction
(
ActionDigWorms
);
24
AddAction
(
ActionCreateGreenhouseGardenPlot
);
25
}
26
27
override
void
SetActionAnimOverrides()
28
{
29
OverrideActionAnimation(
ActionDigWorms
,
DayZPlayerConstants
.CMD_ACTIONFB_DIGGIN_WORMS,
DayZPlayerConstants
.STANCEMASK_ERECT);
30
}
31
32
override
int
GetOnDigWormsAmount()
33
{
34
return
3;
35
}
36
};
ActionBuryAshes
ActionBuryAshesCB ActionContinuousBaseCB ActionBuryAshes()
Definition
actionburyashes.c:11
ActionDigOutStash
ActionDigOutStashCB ActionContinuousBaseCB ActionDigOutStash()
Definition
actiondigoutstash.c:11
AddAction
void AddAction(typename actionName)
Definition
advancedcommunication.c:220
ActionBuildPart
Definition
actionbuildpart.c:26
ActionBuryBody
Definition
actionburybody.c:10
ActionClapBearTrapWithThisItem
Definition
actionclapbeartrapwiththisitem.c:2
ActionCreateGreenhouseGardenPlot
Definition
actioncreategreenhousegardenplot.c:10
ActionDigGardenPlot
Definition
actiondiggardenplot.c:10
ActionDigInStash
Definition
actiondiginstash.c:10
ActionDigWorms
Definition
actiondigworms.c:18
ActionDismantleGardenPlot
Definition
actiondismantlegardenplot.c:10
ActionDismantlePart
Definition
actiondismantlepart.c:27
ActionFillObject
Definition
actionfillobject.c:10
ActionTogglePlaceObjectDigging
Definition
actiontoggleplaceobjectdigging.c:3
FarmingHoe
Definition
farminghoe.c:2
ItemBase
Definition
inventoryitem.c:731
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition
dayzplayer.c:602
Daten
4_world
entities
itembase
gear
tools
farminghoe.c
Generated by
1.12.0