Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
cannabis.c
Go to the documentation of this file.
1
class
Cannabis
:
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
(
ActionEat
);
29
}
30
}
ActionEat
Definition:
actioneat.c:64
Cannabis
Definition:
cannabis.c:1
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
ActionForceFeed
ActionForceFeedSmallCB ActionForceFeed
Definition:
actionforcefeed.c:11
Edible_Base
Definition:
bearsteakmeat.c:1
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
edible_base
cannabis.c
Generated by
1.8.17