Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
crafting.c
Go to the documentation of this file.
1
class
BurlapSack
:
Inventory_Base
2
{
3
override
void
SetActions()
4
{
5
super.SetActions();
6
7
AddAction
(
ActionCoverHeadTarget
);
8
AddAction
(
ActionCoverHeadSelf
);
9
}
10
};
11
class
GorkaHelmetVisor
:
Inventory_Base
12
{
13
override
protected
void
InitGlobalExclusionValues()
14
{
15
super.InitGlobalExclusionValues();
16
17
AddSingleExclusionValueGlobal(EAttExclusions.EXCLUSION_MASK_2);
18
19
AddSingleExclusionValueGlobal(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
20
}
21
};
22
23
class
ChickenFeather
:
Inventory_Base
24
{
25
override
void
SetActions()
26
{
27
super.SetActions();
28
29
AddAction
(
ActionCraftBoltsFeather
);
30
}
31
};
32
33
class
LongWoodenStick
:
Inventory_Base
34
{
35
override
void
SetActions()
36
{
37
super.SetActions();
38
39
AddAction
(
ActionClapBearTrapWithThisItem
);
40
AddAction
(
ActionBreakLongWoodenStick
);
41
AddAction
(
ActionAttachToConstruction
);
42
}
43
};
44
45
class
SharpWoodenStick
:
LongWoodenStick
46
{
47
override
void
SetActions()
48
{
49
super.SetActions();
50
51
AddAction
(
ActionClapBearTrapWithThisItem
);
52
AddAction
(
ActionCookOnStick
);
53
}
54
}
55
56
class
Rope:
Inventory_Base
57
{
58
ref
InventoryLocation
m_TargetLocation
=
new
InventoryLocation
;
59
60
override
void
SetActions
()
61
{
62
super.SetActions();
63
64
AddAction
(
ActionRestrainTarget
);
65
AddAction
(
ActionCraftRopeBelt
);
66
AddAction
(
ActionRestrainSelf
);
67
}
68
69
InventoryLocation
GetTargetLocation
()
70
{
71
return
m_TargetLocation
;
72
}
73
74
void
SetTargetLocation
(
InventoryLocation
targetLocation)
75
{
76
m_TargetLocation
.CopyLocationFrom(targetLocation,
true
);
77
}
78
79
override
bool
CanAssignToQuickbar
()
80
{
81
return
(!GetInventory().IsAttachment());
82
}
83
};
84
85
class
Spear
:
Inventory_Base
86
{
87
override
void
SetActions()
88
{
89
super.SetActions();
90
91
AddAction
(
ActionClapBearTrapWithThisItem
);
92
93
}
94
};
95
96
class
SpearStone
:
Spear
97
{
98
99
};
100
101
class
SpearBone
:
Spear
102
{
103
104
};
105
106
class
Fabric
:
Inventory_Base
107
{
108
override
void
SetActions()
109
{
110
super.SetActions();
111
112
AddAction
(
ActionRepairTentPart
);
113
AddAction
(
ActionAttachToConstruction
);
114
AddAction
(
ActionRepairCarChassis
);
115
}
116
};
SpearBone
Definition:
crafting.c:101
ActionBreakLongWoodenStick
Definition:
actionbreaklongwoodenstick.c:12
SetTargetLocation
void SetTargetLocation(InventoryLocation targetLocation)
Definition:
crafting.c:74
ActionCraftRopeBelt
Definition:
actioncraftropebelt.c:9
ActionAttachToConstruction
Definition:
actionattachtoconstruction.c:1
ActionRepairTentPart
Definition:
actionrepairtentpart.c:19
GetTargetLocation
InventoryLocation GetTargetLocation()
Definition:
crafting.c:69
ActionRestrainTarget
Definition:
actionrestraintarget.c:23
InventoryLocation
InventoryLocation.
Definition:
inventorylocation.c:27
LongWoodenStick
Definition:
crafting.c:33
ActionClapBearTrapWithThisItem
Definition:
actionclapbeartrapwiththisitem.c:1
ChickenFeather
Definition:
crafting.c:23
ActionCoverHeadTarget
Definition:
actioncoverheadtarget.c:9
GorkaHelmetVisor
Definition:
crafting.c:11
SetActions
override void SetActions()
Definition:
crafting.c:60
CanAssignToQuickbar
override bool CanAssignToQuickbar()
Definition:
crafting.c:79
ActionCookOnStick
Definition:
actioncookonstick.c:11
SharpWoodenStick
Definition:
crafting.c:45
ActionCraftBoltsFeather
Definition:
actioncraftboltsfeather.c:11
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
ActionCoverHeadSelf
Definition:
actioncoverheadself.c:9
Fabric
Definition:
crafting.c:106
m_TargetLocation
SharpWoodenStick m_TargetLocation
SpearStone
Definition:
crafting.c:96
ActionRestrainSelf
Definition:
actionrestrainself.c:23
Spear
Definition:
crafting.c:85
Inventory_Base
Definition:
barbedbaseballbat.c:1
ActionRepairCarChassis
Definition:
actionrepaircarchassis.c:19
BurlapSack
Definition:
crafting.c:1
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
gear
crafting
crafting.c
Generated by
1.8.17