Mat
2012-04-12 14:14:51
That aren't in a stack I know there GetItem does this work with single items?
Mat
Mat
2012-04-12 14:14:51
2012-04-12 14:18:42
(*
CountItemsIn
~~~~~~~~~~~~
.. code-block:: pascal
function CountItemsIn(Area, ItemType: string; Item: Integer; Tol: TIntegerArray): Integer;
Counts the number of items found within the Area (does not count stacks).
Parameters are exactly the same as ItemCoordinates.
.. note::
Author: masquerader
Last Modified: Unknown by ZephyrsFury
Example:
.. code-block:: pascal
var
itemsFound: integer;
begin
itemsFound := CountItemsIn('inv', 'dtm', dtm_Ore, []);
writeln('Ore found: ' + toStr(itemsFound));
end;
*)
2012-04-12 14:21:35