Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
en5c_waterproofbag_colorbase.c
Go to the documentation of this file.
1
class
WaterproofBag_ColorBase
:
Container_Base
2
{
3
override
bool
CanPutInCargo(
EntityAI
parent)
4
{
5
if
(!super.CanPutInCargo(parent))
6
return
false
;
7
8
if
(parent && (parent.IsKindOf(
"AmmoBox"
) || parent.IsKindOf(
"WaterproofBag_ColorBase"
)))
9
return
false
;
10
11
return
true
;
12
}
13
}
14
15
class
WaterproofBag_Yellow :
WaterproofBag_ColorBase
{};
16
class
WaterproofBag_Green
:
WaterproofBag_ColorBase
{};
17
class
WaterproofBag_Orange
:
WaterproofBag_ColorBase
{};
WaterproofBag_Orange
Definition:
en5c_waterproofbag_colorbase.c:17
WaterproofBag_ColorBase
Definition:
en5c_waterproofbag_colorbase.c:1
WaterproofBag_Green
Definition:
en5c_waterproofbag_colorbase.c:16
Container_Base
Definition:
anniversarybox.c:1
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
container_base
en5c_waterproofbag_colorbase.c
Generated by
1.8.17