Instructions/Count Slots

From Desynced Wiki
Revision as of 09:41, 1 August 2025 by Kelno (talk | contribs)
(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