Pre-release
AdventureJS Docs Downloads Bundler Devlog Score: 0 Moves: 0
Tutorial explaining how to work with clothing in AdventureJS. tutorial, clothing

Working With...Clothing

The chief distinction of the Clothing class is its is.worn property. Assets that are worn occupy a special place in inventory. They're listed separately from other inventory assets, and they're excluded from drop all.

MyGame.createAsset({
  class: "Clothing",
  name: "jacket",
  place: { on: "Explorer" },
  is: { worn: true },
});
> inventory
You're carrying a white paper. You're wearing a jacket.
> drop all
You drop the white paper.
> take shirt
(from the coatrack)
You take the shirt from the coatrack.
> wear shirt
You wear the shirt.
> inventory
Your hands are empty. You're wearing a jacket and a shirt.

Further Reference