DayZ 1.24
Loading...
Searching...
No Matches
GiftWrapPaper.c
Go to the documentation of this file.
1class GiftWrapPaper 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 {
40 super.SetActions();
41
44 AddAction(ActionAttach);
46 }
47}
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)