Instructions/Get space for item

From Desynced Wiki
Revision as of 19:51, 11 September 2023 by Johan (talk | contribs) (Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Get space for item
     
     Returns how many of the input item can fit in the inventory
Lua ID getfreespace
Category Math
Icon Count Free Space.png
Argument One: Type Input
Argument One: Name Item
Argument One: Description Item to check can fit
Argument One: Data Type item
Argument Two: Type Output
Argument Two: Name Result
Argument Two: Description Number of a specific item that can fit on a unit
Argument Three: Type Input
Argument Three: Name Unit
Argument Three: Description The unit to check (if not self)
Argument Three: Data Type entity



Description

Uses

Similar Instructions