FindFullQuantity
Returns the total quantity of items found by the last FindType, FindTypeEx, or FindTypesArrayEx call, including the contents of item stacks.
Returns 0 if no objects were found or the character is disconnected.
Unlike FindCount which counts stacks as single items, this method sums up all items within stacks.
Возвращает общее количество найденных предметов после последнего поиска, включая содержимое стеков.
Возвращает 0, если ничего не найдено или персонаж не подключён.
В отличие от FindCount, который считает стеки как отдельные предметы, этот метод суммирует все предметы внутри стеков.
function FindFullQuantity: Integer;
def FindFullQuantity() -> int: ...
begin
FindType($0F7B, Backpack); // Blood Moss
AddToSystemJournal('Total Blood Moss: ' + IntToStr(FindFullQuantity));
end.
FindType(0x0F7B, Backpack())
AddToSystemJournal(f'Total Blood Moss: {FindFullQuantity()}')