Toggle search
Search
Toggle menu
Toggle personal menu
Editing
Data:Instruction:Count Items
From Desynced Wiki
Read
Edit source
View history
Data
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
#REDIRECT [[Count Items]] [[Category:Data:Storage:instruction]] {{DISPLAYTITLE:Count Items}}<noinclude> {{DataInstruction |name = Count Items |luaId = count_item |description = Counts the number of the passed item contained in the unit's inventory |category = Unit |icon = Count Item.png |explaination = Counts how many of a specific item are stored in a unit's inventory. You can request how many items are <hl>Remaining</> in the unit or how many are <hl>Reserved</> |argsType1 = Input |argsName1 = Item |argsDescription1 = Item to count |argsDataType1 = item |argsType2 = Output |argsName2 = Result |argsDescription2 = Number of this item in inventory or empty if none exist |argsDataType2 = |argsType3 = Input |argsName3 = Unit |argsDescription3 = The unit to check for (if not self) |argsDataType3 = entity |argsType4 = |argsName4 = |argsDescription4 = |argsDataType4 = |argsType5 = |argsName5 = |argsDescription5 = |argsDataType5 = |argsType6 = |argsName6 = |argsDescription6 = |argsDataType6 = |argsType7 = |argsName7 = |argsDescription7 = |argsDataType7 = |argsType8 = |argsName8 = |argsDescription8 = |argsDataType8 = |argsType9 = |argsName9 = |argsDescription9 = |argsDataType9 = |argsType10 = |argsName10 = |argsDescription10 = |argsDataType10 = |argsType11 = |argsName11 = |argsDescription11 = |argsDataType11 = }}{{DataTableIndex |storedTable=instruction |name=Count Items }}</noinclude>
Summary:
Please note that all contributions to Desynced Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Desynced Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:DataInstruction
(
edit
)
Template:DataTableIndex
(
edit
)