DayZ
1.24
Loading...
Searching...
No Matches
SpaghettiCan_Opened.c
Go to the documentation of this file.
1
class
SpaghettiCan_Opened
:
Edible_Base
2
{
3
override
bool
CanDecay
()
4
{
5
return
true
;
6
}
7
8
override
bool
CanProcessDecay
()
9
{
10
return
!(
GetAgents
() &
eAgents
.FOOD_POISON);
11
}
12
13
override
void
SetActions
()
14
{
15
super
.SetActions();
16
17
AddAction
(
ActionForceFeedCan
);
18
AddAction
(
ActionEatCan
);
19
}
20
}
AddAction
void AddAction(typename actionName)
Definition
AdvancedCommunication.c:212
eAgents
eAgents
Definition
EAgents.c:3
GetAgents
override int GetAgents()
Definition
ItemBase.c:8554
ActionEatCan
Definition
ActionEatCan.c:11
ActionForceFeedCan
Definition
ActionForceFeedCan.c:2
Edible_Base
Definition
Edible_Base.c:2
Param3
Definition
EntityAI.c:95
SpaghettiCan_Opened
Definition
SpaghettiCan_Opened.c:2
SpaghettiCan_Opened::SetActions
override void SetActions()
Definition
SpaghettiCan_Opened.c:13
SpaghettiCan_Opened::CanDecay
override bool CanDecay()
Definition
SpaghettiCan_Opened.c:3
SpaghettiCan_Opened::CanProcessDecay
override bool CanProcessDecay()
Definition
SpaghettiCan_Opened.c:8
scripts
4_World
Entities
ItemBase
Gear
Food
SpaghettiCan_Opened.c
Generated by
1.10.0