GUI:Inventory Docks
Inventory docks can be limited to specific asset classes by passing class names in assetclasses.
assetclasses: [ "Key", "WritingImplement" ],
Inventory docks can be limited to specific states, like is.worn, to create an inventory dock that only shows worn items.
is: [ "worn", ],
Inventory docks can be limited to items within other specified items, like only showing the contents of a knapsack.
is_in: [ "knapsack" ],
MyGame.createDock({
class: "Inventory",
id: "MyInventoryDock",
cssclasses: ["custom", "inventory"],
position: "top",
});