Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
drysackbag_colorbase.c
Go to the documentation of this file.
1
class
DrysackBag_ColorBase
:
Backpack_Base
2
{
3
4
override
void
SetActions()
5
{
6
super.SetActions();
7
AddAction
(
ActionDeCraftDrysackBag
);
8
}
9
10
override
bool
IsContainer()
11
{
12
return
true
;
13
}
14
15
override
bool
CanPutInCargo(
EntityAI
parent)
16
{
17
if
(!super.CanPutInCargo(parent))
18
return
false
;
19
20
if
(parent && parent.IsKindOf(
"AmmoBox"
))
21
return
false
;
22
23
return
true
;
24
}
25
26
};
27
class
DrysackBag_Green
:
DrysackBag_ColorBase
{};
28
class
DrysackBag_Orange
:
DrysackBag_ColorBase
{};
29
class
DrysackBag_Yellow
:
DrysackBag_ColorBase
{};
Backpack_Base
Definition:
alicebag_colorbase.c:1
DrysackBag_Green
Definition:
drysackbag_colorbase.c:27
DrysackBag_ColorBase
Definition:
drysackbag_colorbase.c:1
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
ActionDeCraftDrysackBag
ActionDeCraftDrysackBagCB ActionContinuousBaseCB ActionDeCraftDrysackBag()
Definition:
actiondecraftdrysackbag.c:11
DrysackBag_Yellow
Definition:
drysackbag_colorbase.c:29
DrysackBag_Orange
Definition:
drysackbag_colorbase.c:28
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
clothing
drysackbag_colorbase.c
Generated by
1.8.17