summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/constants.md5
-rw-r--r--doc/script_commands.txt17
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/constants.md b/doc/constants.md
index 97dffccad..60ba6908d 100644
--- a/doc/constants.md
+++ b/doc/constants.md
@@ -4054,6 +4054,11 @@
- `ITEMUPPER_THIRDBABY`: 32
- `ITEMUPPER_ALL`: 63
+### dressroom modes
+
+- `DRESSROOM_OPEN`: 1
+- `DRESSROOM_CLOSE`: 0
+
### Renewal
- `RENEWAL`: 1
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 37a2ca249..92fb53445 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5622,6 +5622,23 @@ character.
end;
---------------------------------------
+
+*dressroom({<mode>})
+
+This command controls the dressing room for the attached player. If no <mode>
+is passed, DRESSROOM_OPEN is used by default.
+
+Valid <mode> for dressroom() are:
+ DRESSROOM_OPEN opens the dressing room window
+ DRESSROOM_CLOSE closes the dressing room window
+
+Example:
+ mes("Close this window to open the Dress Room window.");
+ close2();
+ dressroom(DRESSROOM_OPEN);
+ end;
+
+---------------------------------------
//=====================================
4.2 - Guild-Related Commands
//=====================================