From d2ced676205d9c07e348b6e1218453a3f1f88938 Mon Sep 17 00:00:00 2001 From: Tony Bark Date: Fri, 21 Feb 2025 13:42:25 -0500 Subject: [PATCH] Added drop down to ISD spec --- draft/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/draft/README.md b/draft/README.md index 3d0cee5..1a0ddd0 100644 --- a/draft/README.md +++ b/draft/README.md @@ -38,12 +38,18 @@ The Interactive Story Draft (ISD) format is a intermediate language designed for - **Syntax:** `(else:)[Text if false]` - **Description:** Follows an `(if:)` statement to handle the false condition. -7. **Random Number Generation:** +7. **Drop down:** + + - **Syntax:** ``(dropdown: $variableName to "Option 1", "Option 2")`` + + - **Description:** + +8. **Random Number Generation:** - **Syntax:** `(set: $variableName to (random: min, max))` - **Description:** Sets a variable to a random number between `min` and `max`. -8. **Text Styling:** +9. **Text Styling:** - **Syntax:** `''italic''`, `'''bold'''`, `^^superscript^^`, `~~subscript~~` - **Description:** Applies basic text formatting.