Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
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
{
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
};
ActionDeCraftRopeBelt
ActionDeCraftRopeBeltCB ActionContinuousBaseCB ActionDeCraftRopeBelt()
Definition
actiondecraftropebelt.c:14
AddAction
void AddAction(typename actionName)
Definition
advancedcommunication.c:220
Belt_Base
Definition
leatherbelt_colorbase.c:2
EntityAI
Definition
inventoryitem.c:2
RopeBelt
Definition
ropebelt.c:2
RopeBelt::CanPutInCargo
override bool CanPutInCargo(EntityAI parent)
Definition
ropebelt.c:10
RopeBelt::CanReceiveAttachment
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
Definition
ropebelt.c:20
RopeBelt::SetActions
override void SetActions()
Definition
ropebelt.c:3
IsEmpty
override bool IsEmpty()
Definition
fireplacebase.c:2474
Games
Dayz
scripts
4_world
entities
itembase
clothing
ropebelt.c
Generated by
1.17.0