DayZ 1.24
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 return false;
14
15 return IsEmpty();
16 }
17
19 {
20 if (!super.CanReceiveAttachment(attachment, slotId))
21 return false;
22
23 return !GetInventory().IsInCargo();
24 }
25};
ActionDeCraftRopeBeltCB ActionContinuousBaseCB ActionDeCraftRopeBelt()
void AddAction(typename actionName)
override bool IsEmpty()
override bool CanPutInCargo(EntityAI parent)
Definition RopeBelt.c:10
override void SetActions()
Definition RopeBelt.c:3
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Definition RopeBelt.c:18