Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
drysackbag_colorbase.c
Go to the documentation of this file.
2 {
3 
4  override void SetActions()
5  {
6  super.SetActions();
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 };
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