DayZ
1.24
Loading...
Searching...
No Matches
RopeBelt.c
Go to the documentation of this file.
1
class
RopeBelt
:
Belt_Base
2
{
3
override
void
SetActions
()
4
{
5
super
.SetActions();
6
7
AddAction
(
ActionDeCraftRopeBelt
);
8
}
9
10
override
bool
CanPutInCargo
(
EntityAI
parent)
11
{
12
if
(!
super
.CanPutInCargo(parent))
13
return
false
;
14
15
return
IsEmpty
();
16
}
17
18
override
bool
CanReceiveAttachment
(
EntityAI
attachment
,
int
slotId
)
19
{
20
if
(!
super
.CanReceiveAttachment(
attachment
,
slotId
))
21
return
false
;
22
23
return
!GetInventory().IsInCargo();
24
}
25
};
ActionDeCraftRopeBelt
ActionDeCraftRopeBeltCB ActionContinuousBaseCB ActionDeCraftRopeBelt()
Definition
ActionDeCraftRopeBelt.c:14
AddAction
void AddAction(typename actionName)
Definition
AdvancedCommunication.c:212
IsEmpty
override bool IsEmpty()
Definition
FireplaceBase.c:2320
Belt_Base
Definition
LeatherBelt_ColorBase.c:2
EntityAI
Definition
Building.c:6
Param3
Definition
EntityAI.c:95
RopeBelt
Definition
RopeBelt.c:2
RopeBelt::CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition
RopeBelt.c:10
RopeBelt::SetActions
override void SetActions()
Definition
RopeBelt.c:3
RopeBelt::CanReceiveAttachment
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Definition
RopeBelt.c:18
scripts
4_World
Entities
ItemBase
Clothing
RopeBelt.c
Generated by
1.10.0