DayZ
1.24
Loading...
Searching...
No Matches
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
AddAction
void AddAction(typename actionName)
Definition
AdvancedCommunication.c:212
ActionCreateIndoorFireplace
Definition
ActionCreateIndoorFireplace.c:2
ActionCreateIndoorOven
Definition
ActionCreateIndoorOven.c:2
EntityAI
Definition
Building.c:6
EyeMask_ColorBase
Definition
EyeMask_Colorbase.c:2
EyeMask_ColorBase::IsThisIgnitionSuccessful
override bool IsThisIgnitionSuccessful(EntityAI item_source=null)
Definition
EyeMask_Colorbase.c:28
EyeMask_ColorBase::OnIgnitedTarget
override void OnIgnitedTarget(EntityAI ignited_item)
Definition
EyeMask_Colorbase.c:21
EyeMask_ColorBase::CanIgniteItem
override bool CanIgniteItem(EntityAI ignite_target=null)
Definition
EyeMask_Colorbase.c:16
EyeMask_ColorBase::OnIgnitedThis
override void OnIgnitedThis(EntityAI fire_source)
Definition
EyeMask_Colorbase.c:23
EyeMask_ColorBase::SetActions
override void SetActions()
Definition
EyeMask_Colorbase.c:34
EyeMask_ColorBase::CanBeIgnitedBy
override bool CanBeIgnitedBy(EntityAI igniter=null)
Definition
EyeMask_Colorbase.c:11
EyeMask_ColorBase::HasFlammableMaterial
override bool HasFlammableMaterial()
Definition
EyeMask_Colorbase.c:6
Glasses_Base
Definition
AviatorGlasses.c:2
Param3
Definition
EntityAI.c:95
scripts
4_World
Entities
ItemBase
EyeMask_Colorbase.c
Generated by
1.10.0