Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
pickaxe.c
Go to the documentation of this file.
1class Pickaxe extends ItemBase
2{
3 override bool CanMakeGardenplot()
4 {
5 return true;
6 }
7
8 override void SetActions()
9 {
10 super.SetActions();
11
12 AddAction(ActionTogglePlaceObjectDigging);
13 AddAction(ActionDigGardenPlot);
14 AddAction(ActionDismantleGardenPlot);
15 AddAction(ActionUnrestrainTarget);
16 AddAction(ActionMineRock);
17 AddAction(ActionDismantlePart);
19 AddAction(ActionBuryBody);
21 AddAction(ActionDigWorms);
24 AddAction(ActionDigInStash);
25 AddAction(ActionCreateGreenhouseGardenPlot);
26 }
27
28 override void SetActionAnimOverrides()
29 {
30 OverrideActionAnimation(ActionDigWorms, DayZPlayerConstants.CMD_ACTIONFB_DIGGIN_WORMS, DayZPlayerConstants.STANCEMASK_ERECT);
31 }
32
33 override int GetOnDigWormsAmount()
34 {
35 return 3;
36 }
37}
void ActionBuildPart()
ActionBuryAshesCB ActionContinuousBaseCB ActionBuryAshes()
ActionDigOutStashCB ActionContinuousBaseCB ActionDigOutStash()
ActionSkinningCB ActionContinuousBaseCB ActionSkinning()
void AddAction(typename actionName)
override void SetActions()
Definition barbedwire.c:402
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602