Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
candle.c
Go to the documentation of this file.
1 class Candle extends Inventory_Base
2 {
3  override bool CanPutInCargo( EntityAI parent )
4  {
5  if( !super.CanPutInCargo(parent) ) {return false;}
6  if (parent && !parent.HasSelection("flame"))
7  {
8  return true;
9  }
10  return false;
11  }
12 }
CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition: explosivesbase.c:247
Inventory_Base
Definition: barbedbaseballbat.c:1
EntityAI
Definition: building.c:5