Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
ropebelt.c
Go to the documentation of this file.
2{
3 override void SetActions()
4 {
5 super.SetActions();
6
8 }
9
10 override bool CanPutInCargo( EntityAI parent )
11 {
12 if( !super.CanPutInCargo( parent ) )
13 {
14 return false;
15 }
16
17 return IsEmpty();
18 }
19
20 override bool CanReceiveAttachment( EntityAI attachment,int slotId )
21 {
22 if( !super.CanReceiveAttachment( attachment, slotId ) )
23 {
24 return false;
25 }
26
27 return !GetInventory().IsInCargo();
28 }
29};
ActionDeCraftRopeBeltCB ActionContinuousBaseCB ActionDeCraftRopeBelt()
void AddAction(typename actionName)
override bool IsEmpty()