DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SoakItemInsideParentContainingLiquidAboveThreshold()

static void SoakItemInsideParentContainingLiquidAboveThreshold ( notnull ItemBase item,
notnull ItemBase parent,
float liquidQuantityThresholdPercentage = 0.05 )
staticprotected

См. определение в файле MiscGameplayFunctions.c строка 2024

2025 {
2026 if (g_Game.IsServer())
2027 {
2028 if (parent.GetLiquidType() != 0 && parent.GetQuantityNormalized() > liquidQuantityThresholdPercentage && !parent.GetIsFrozen())
2029 item.SetWetMax();
2030 }
2031 }
DayZGame g_Game
Определения DayZGame.c:4074

Перекрестные ссылки g_Game.