Skip to content

five-on-it / apps/client/src/gui/item-blocks / stripBlock

Function: stripBlock() ​

stripBlock(inventory, t, select): ButtonsSpec

Defined in: apps/client/src/gui/item-blocks.ts:37

The strip of the player's slots, in two rows at most (sixteen slots: eight and eight, no taller than eight were), each with its item's name and, under it, its count (a weapon's rounds left, its ammunition kept in the pouch the strip never shows): a click selects one.

Parameters ​

inventory ​

InventoryView

t ​

Translate

select ​

(slot) => void

Returns ​

ButtonsSpec