add item quantity[related to varQuantity... config entry], destroy_config = true > if the quantity reaches varQuantityMin or lower and the item config contains the varQuantityDestroyOnMin = true entry, the item gets destroyed. destroy_forced = true means item gets destroyed when quantity reaches varQuantityMin or lower regardless of config setting, returns true if the item gets deleted
См. определение в файле ItemBase.c строка 3389
Перекрестные ссылки GetQuantity() и SetQuantity().
Используется в CombineItems(), Edible_Base::Consume(), OnAction(), ItemBase::OnIgnitedTarget(), ItemBase::OnIgnitedTargetFailed(), ItemBase::RemoveBricks(), ItemBase::RemovePlanks(), SplitIntoStackMax(), SplitIntoStackMaxCargo(), SplitIntoStackMaxEx(), SplitIntoStackMaxHands(), SplitIntoStackMaxToInventoryLocationEx(), SplitItem() и SplitItemToInventoryLocation().