DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
GetCatchDeathSoundset()
override
string
GetQualityForYieldItem::GetCatchDeathSoundset
(
)
См. определение в файле
YieldsFishingJunk.c
строка
74
75
:
FishYieldItemBase
76
{
77
void
YieldItemJunk
(
int
baseWeight,
string
type)
78
{
79
m_Type
= type;
80
}
81
82
override
void
Init
()
83
{
84
super.
Init
();
85
86
m_EnviroMask
=
AnimalCatchingConstants
.
MASK_ENVIRO_WATER_ALL
;
87
m_MethodMask
=
AnimalCatchingConstants
.
MASK_METHOD_ROD
;
88
}
89
90
override
float
GetChanceForYieldItem
(
CatchingContextBase
ctx)
91
{
92
return
0.20;
//not affected by equipment or time, just some flat number
93
}
94
95
override
float
GetCycleTimeForYieldItem
(
CatchingContextFishingRodAction
ctx)
96
{
97
return
UAFishingConstants
.
CYCLE_LENGTH_MAX
;
98
}
99
100
override
void
OnEntityYieldSpawned
(
EntityAI
spawn)
101
{
102
super.OnEntityYieldSpawned(spawn);
103
104
spawn.SetHealthLevel(
GameConstants
.
STATE_BADLY_DAMAGED
,
""
);
105
}
106
107
override
string
GetCatchDeathSoundset
()
108
{
109
return
""
;
110
}
111
}
112
113
class
YieldItemJunkEmpty :
YieldItemJunk
114
{
115
//empty liquid containers
116
override
float
GetQualityForYieldItem
(
CatchingContextBase
ctx)
117
{
118
return
0;
119
}
120
}
m_Type
eBleedingSourceType m_Type
Определения
BleedingSource.c:25
m_MethodMask
int m_MethodMask
Определения
CatchingContextBase.c:18
CatchingContextBase
void CatchingContextBase(Param par)
Определения
CatchingContextBase.c:29
m_EnviroMask
int m_EnviroMask
Определения
CatchingContextBase.c:19
GetCycleTimeForYieldItem
override float GetCycleTimeForYieldItem(CatchingContextFishingRodAction ctx)
Определения
YieldsFishingJunk.c:62
OnEntityYieldSpawned
override void OnEntityYieldSpawned(EntityAI spawn)
Определения
YieldsFishingJunk.c:67
GetCatchDeathSoundset
override string GetCatchDeathSoundset()
Определения
YieldsFishingJunk.c:74
GetChanceForYieldItem
override float GetChanceForYieldItem(CatchingContextBase ctx)
Определения
YieldsFishingJunk.c:57
YieldItemJunk
void YieldItemJunk(int baseWeight, string type)
Определения
YieldsFishingJunk.c:44
Init
override void Init()
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside o...
Определения
YieldsFishingJunk.c:49
AnimalCatchingConstants::MASK_METHOD_ROD
static const int MASK_METHOD_ROD
Определения
CatchingConstants.c:19
AnimalCatchingConstants::MASK_ENVIRO_WATER_ALL
static const int MASK_ENVIRO_WATER_ALL
Определения
CatchingConstants.c:15
AnimalCatchingConstants
Определения
CatchingConstants.c:2
CatchingContextFishingRodAction
Определения
CatchingContextFishingRodAction.c:2
EntityAI
Определения
Building.c:6
FishYieldItemBase::Init
override void Init()
Определения
YieldsFish.c:6
FishYieldItemBase
Определения
YieldsFish.c:2
GameConstants
Определения
constants.c:659
UAFishingConstants::CYCLE_LENGTH_MAX
const float CYCLE_LENGTH_MAX
Определения
ActionConstants.c:182
UAFishingConstants
Определения
ActionConstants.c:179
YieldItemBase::GetQualityForYieldItem
float GetQualityForYieldItem(CatchingContextBase ctx)
Определения
CatchYieldItemBase.c:58
YieldItemJunk
Определения
YieldsFishingJunk.c:3
GameConstants::STATE_BADLY_DAMAGED
const int STATE_BADLY_DAMAGED
Определения
constants.c:847
Ishodniki
scripts
4_World
Systems
AnimalCatchingSystem
YieldItems
YieldsFishingJunk.c
Создано системой
1.13.2