Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
en5c_waterproofbag_colorbase.c
Go to the documentation of this file.
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 {};
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