> For the complete documentation index, see [llms.txt](https://dawnshade.gitbook.io/dawnshade-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dawnshade.gitbook.io/dawnshade-docs/docs/dawn-cosmetics/summary/wardrobe.md).

# Wardrobe

Wardrobe is the preview room.

It lets players test cosmetics before they lock in a look.

## What It Does

* teleports the player to a view spot
* spawns the preview NPC
* lets the player test cosmetics
* applies valid choices when the player leaves by sneaking

## Player Flow

1. run `/wardrobe` or `/cosmetics wardrobe [id]`
2. preview cosmetics
3. sneak to leave
4. owned choices get applied

## Setup Commands

1. `/wardrobe create <id>`
2. `/wardrobe setview <id>`
3. `/wardrobe setleave <id>`
4. `/wardrobe setnpc <id>`

Optional

* `/wardrobe send <player> [id]`

## `config.json` Fields

Under `wardrobe`

* `npc.turn_speed`
* `npc.hologram.enabled`
* `npc.hologram.lines`
* `npc.hologram.y_offset`
* `default_offsets.balloon`
* `wardrobes[]`

Each wardrobe can have

* `id`
* `view_location`
* `leave_location`
* `npc_location`
* `offsets.balloon`

## Best First Setup

Build one working wardrobe called `default`.

Once that feels good, copy the idea for more rooms.

## If It Gets Stuck

Run `/cosmetics cleanup` and test again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dawnshade.gitbook.io/dawnshade-docs/docs/dawn-cosmetics/summary/wardrobe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
