DayZ 1.24
Loading...
Searching...
No Matches
ItemBook.c
Go to the documentation of this file.
2{
3 override event bool OnUseFromInventory(Man owner)
4 {
5 return false;
6 }
7
8 //================================================================
9 // IGNITION ACTION
10 //================================================================
11 override bool HasFlammableMaterial()
12 {
13 return true;
14 }
15
17 {
18 if (GetHierarchyParent()) return false;
19
20 return true;
21 }
22
24 {
25 return false;
26 }
27
29 {
30 }
31
33 {
34 Fireplace.IgniteEntityAsFireplace(this, fire_source);
35 }
36
38 {
39 return Fireplace.CanIgniteEntityAsFireplace(this);
40 }
41}
override void OnIgnitedThis(EntityAI fire_source)
Definition ItemBook.c:32
override bool CanIgniteItem(EntityAI ignite_target=NULL)
Definition ItemBook.c:23
override bool HasFlammableMaterial()
Definition ItemBook.c:11
override bool IsThisIgnitionSuccessful(EntityAI item_source=NULL)
Definition ItemBook.c:37
override void OnIgnitedTarget(EntityAI ignited_item)
Definition ItemBook.c:28
override bool CanBeIgnitedBy(EntityAI igniter=NULL)
Definition ItemBook.c:16
override event bool OnUseFromInventory(Man owner)
Definition ItemBook.c:3