Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
eyemask_colorbase.c
Go to the documentation of this file.
1
class
EyeMask_ColorBase
:
Glasses_Base
2
{
3
//================================================================
4
// IGNITION ACTION
5
//================================================================
6
override
bool
HasFlammableMaterial()
7
{
8
return
true
;
9
}
10
11
override
bool
CanBeIgnitedBy(
EntityAI
igniter =
null
)
12
{
13
return
!GetHierarchyParent();
14
}
15
16
override
bool
CanIgniteItem(
EntityAI
ignite_target =
null
)
17
{
18
return
false
;
19
}
20
21
override
void
OnIgnitedTarget(
EntityAI
ignited_item) {}
22
23
override
void
OnIgnitedThis(
EntityAI
fire_source)
24
{
25
Fireplace.IgniteEntityAsFireplace(
this
, fire_source);
26
}
27
28
override
bool
IsThisIgnitionSuccessful(
EntityAI
item_source =
null
)
29
{
30
return
Fireplace.CanIgniteEntityAsFireplace(
this
);
31
}
32
//================================================================
33
34
override
void
SetActions()
35
{
36
super.SetActions();
37
38
AddAction
(
ActionCreateIndoorFireplace
);
39
AddAction
(
ActionCreateIndoorOven
);
40
AddAction
(
ActionAttach
);
41
AddAction
(
ActionDetach
);
42
}
43
}
44
45
class
EyeMask_NewYears :
EyeMask_ColorBase
{}
46
class
EyeMask_Christmas :
EyeMask_ColorBase
{}
47
class
EyeMask_Dead :
EyeMask_ColorBase
{}
48
class
EyeMask_Yellow :
EyeMask_ColorBase
{}
49
class
EyeMask_Red :
EyeMask_ColorBase
{}
50
class
EyeMask_Blue :
EyeMask_ColorBase
{}
51
class
EyeMask_Black :
EyeMask_ColorBase
{}
52
class
EyeMask_Valentines :
EyeMask_ColorBase
{}
ActionDetach
void ActionDetach()
Definition:
actiondetach.c:10
Glasses_Base
Definition:
aviatorglasses.c:1
AddAction
void AddAction(typename actionName)
Definition:
advancedcommunication.c:86
ActionCreateIndoorFireplace
Definition:
actioncreateindoorfireplace.c:1
ActionCreateIndoorOven
Definition:
actioncreateindooroven.c:1
ActionAttach
ActionAttachWheels ActionAttach
EyeMask_ColorBase
Definition:
eyemask_colorbase.c:1
EntityAI
Definition:
building.c:5
DAYZ
scripts_v1.24.157551
scripts
world
entities
itembase
eyemask_colorbase.c
Generated by
1.8.17