Pre-release
AdventureJS Docs Downloads Bundler Devlog
Score: 0 Moves: 0
Tutorial explaining how to create custom inventory docks for AdventureJS. tutorial, custom, inventory dock

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",
});