DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
GetBaitTypeSensitivity()
override
float
YieldItemDeadRabbit::GetBaitTypeSensitivity
(
ECatchingBaitCategories
type
)
inline
private
См. определение в файле
YieldsLandAnimals.c
строка
28
29
{
30
switch
(type)
31
{
32
case
ECatchingBaitCategories.BAIT_TYPE_EMPTY:
33
case
ECatchingBaitCategories.BAIT_TYPE_PLANT:
34
return
1.0;
35
36
/*
37
//We can define 'offputing' baits the animal would actually AVOID
38
case ECatchingBaitCategories.BAIT_TYPE_MEAT_SMALL:
39
case ECatchingBaitCategories.BAIT_TYPE_MEAT_LARGE:
40
return -1;
41
*/
42
}
43
44
return
0.0;
45
}
YieldItemDeadRabbit
Создано системой
1.13.2