Updated ISD spec

This commit is contained in:
Tony Bark 2025-02-21 21:21:55 -05:00
parent f2887a3431
commit c63aa228f4
2 changed files with 10 additions and 10 deletions

View file

@ -1,4 +1,4 @@
# Interactive Story Draft
# Interactive Story Draft v0.5
- **File Format:** `.isd`
@ -10,7 +10,7 @@ The Interactive Story Draft (ISD) format is a story format language designed for
1. **Passages:**
- **Syntax:** `:: PassageName`
- **Syntax:** `# PassageName`
- **Description:** Defines a new passage or section in the story.
2. **Links:**
@ -61,13 +61,13 @@ The Interactive Story Draft (ISD) format is a story format language designed for
## Example
```
:: Introduction
# Introduction
Welcome to your adventure! You find yourself at a crossroads.
[[Take the left path -> LeftPath]]
[[Take the right path -> RightPath]]
:: LeftPath
:#LeftPath
You walk down the left path and encounter a mysterious stranger.
(set: $hasKey to true)
@ -75,7 +75,7 @@ The stranger gives you a key.
[[Continue -> Crossroads]]
:: RightPath
##ightPath
You walk down the right path and find a locked door.
(if: $hasKey)[
@ -87,7 +87,7 @@ You walk down the right path and find a locked door.
[[Return to the crossroads -> Crossroads]]
:: Crossroads
:: #ossroads
You're back at the crossroads.
[[Take the left path -> LeftPath]]

View file

@ -1,10 +1,10 @@
:: Introduction
# Introduction
Welcome to your adventure! You find yourself at a crossroads.
[[Take the left path -> LeftPath]]
[[Take the right path -> RightPath]]
:: LeftPath
# LeftPath
You walk down the left path and encounter a mysterious stranger.
(set: $hasKey to true)
@ -12,7 +12,7 @@ The stranger gives you a key.
[[Continue -> Crossroads]]
:: RightPath
# RightPath
You walk down the right path and find a locked door.
(if: $hasKey)[
@ -24,7 +24,7 @@ You walk down the right path and find a locked door.
[[Return to the crossroads -> Crossroads]]
:: Crossroads
# Crossroads
You're back at the crossroads.
[[Take the left path -> LeftPath]]