DayZ 1.24
Loading...
Searching...
No Matches
Cannabis.c
Go to the documentation of this file.
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);
29 }
30}
void AddAction(typename actionName)
override bool CanDecay()
Definition Cannabis.c:18
override bool CanBeCookedOnStick()
Definition Cannabis.c:8
override bool IsFruit()
Definition Cannabis.c:13
override void SetActions()
Definition Cannabis.c:23
override bool CanBeCooked()
Definition Cannabis.c:3