Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
bakedbeanscan_opened.c
Go to the documentation of this file.
1
class
BakedBeansCan_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
}
BakedBeansCan_Opened
Definition:
bakedbeanscan_opened.c:1
eAgents
eAgents
Definition:
eagents.c:2
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
ActionEatCan
Definition:
actioneatcan.c:10
ActionForceFeedCan
Definition:
actionforcefeedcan.c:1
GetAgents
override int GetAgents()
Definition:
itembase.c:3875
Edible_Base
Definition:
bearsteakmeat.c:1
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
gear
food
bakedbeanscan_opened.c
Generated by
1.8.17