DayZ 1.24
Loading...
Searching...
No Matches
Bark_ColorBase.c
Go to the documentation of this file.
1class Bark_ColorBase extends ItemBase
2{
3 //================================================================
4 // IGNITION ACTION
5 //================================================================
6 override bool HasFlammableMaterial()
7 {
8 return true;
9 }
10
12 {
13 if (GetHierarchyParent()) return false;
14
15 return true;
16 }
17
19 {
20 return false;
21 }
22
24 {
25 }
26
28 {
29 Fireplace.IgniteEntityAsFireplace(this, fire_source);
30 }
31
33 {
34 return Fireplace.CanIgniteEntityAsFireplace(this);
35 }
36
37 override void SetActions()
38 {
39 super.SetActions();
40
43 AddAction(ActionAttach);
45 }
46}
void ActionDetach()
void AddAction(typename actionName)
override bool IsThisIgnitionSuccessful(EntityAI item_source=NULL)
override void SetActions()
override bool HasFlammableMaterial()
override void OnIgnitedThis(EntityAI fire_source)
override bool CanBeIgnitedBy(EntityAI igniter=NULL)
override bool CanIgniteItem(EntityAI ignite_target=NULL)
override void OnIgnitedTarget(EntityAI ignited_item)