|
inlineprivate |
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 строка 3292
Перекрестные ссылки GetQuantity() и ItemBase::SetQuantity().