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

◆ ProduceFertilizer()

void Barrel_ColorBase::ProduceFertilizer ( ItemBase guts,
ItemBase plant,
PlayerBase player )
inlineprotected

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

252 {
253 float lime_quantity = plant.GetQuantity()*GameConstants.BAREL_LIME_PER_PLANT;
254
255 guts.Delete();
256 plant.Delete();
257
258 ItemBase lime = ItemBase.Cast( GetInventory().CreateInInventory("GardenLime") );
259
260 lime.SetQuantity(lime_quantity);
261 Lock(50);
262 }
class GP5GasMask extends MaskBase ItemBase
void Lock(float actiontime)
Определения Barrel_ColorBase.c:165
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Определения PileOfWoodenPlanks.c:88

Перекрестные ссылки GameConstants::BAREL_LIME_PER_PLANT, Lock() и ItemBase::SetQuantity().

Используется в DetermineAction().