Instructions/Count Slots

From Desynced Wiki
Revision as of 02:38, 31 July 2025 by Kelno (talk | contribs) (Created page with "{{Infobox}} __NOEDITSECTION__ {{Instruction_Bottom}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Count Slots
     File:Instructions-Count Slots.png
     Returns the number of slots in this unit of the given type
Lua ID count_slots
Category Unit
Icon Count Item.png
Argument One: Type Output
Argument One: Name Result
Argument One: Description Number of slots of this type
Argument Two: Type Input
Argument Two: Name Unit
Argument Two: Description The unit to check for (if not self)
Argument Two: Data Type entity