DayZ
1.24
Loading...
Searching...
No Matches
Orange.c
Go to the documentation of this file.
1
class
Orange
:
Edible_Base
2
{
3
override
bool
CanBeCooked
()
4
{
5
return
false
;
6
}
7
8
override
bool
CanBeCookedOnStick
()
9
{
10
return
false
;
11
}
12
13
override
bool
IsFruit
()
14
{
15
return
true
;
16
}
17
18
override
bool
CanDecay
()
19
{
20
return
true
;
21
}
22
23
override
void
SetActions
()
24
{
25
super
.SetActions();
26
27
AddAction
(ActionForceFeed);
28
AddAction
(
ActionEatFruit
);
29
AddAction
(
ActionCreateIndoorFireplace
);
30
AddAction
(
ActionCreateIndoorOven
);
31
}
32
}
AddAction
void AddAction(typename actionName)
Definition
AdvancedCommunication.c:212
ActionCreateIndoorFireplace
Definition
ActionCreateIndoorFireplace.c:2
ActionCreateIndoorOven
Definition
ActionCreateIndoorOven.c:2
ActionEatFruit
Definition
ActionEatFruit.c:10
Edible_Base
Definition
Edible_Base.c:2
Orange
Definition
Orange.c:2
Orange::CanBeCookedOnStick
override bool CanBeCookedOnStick()
Definition
Orange.c:8
Orange::SetActions
override void SetActions()
Definition
Orange.c:23
Orange::CanBeCooked
override bool CanBeCooked()
Definition
Orange.c:3
Orange::CanDecay
override bool CanDecay()
Definition
Orange.c:18
Orange::IsFruit
override bool IsFruit()
Definition
Orange.c:13
Param3
Definition
EntityAI.c:95
scripts
4_World
Entities
ItemBase
Edible_Base
Orange.c
Generated by
1.10.0