From c63aa228f472eb6891659a1c0ab3310c90d872bd Mon Sep 17 00:00:00 2001 From: Tony Bark Date: Fri, 21 Feb 2025 21:21:55 -0500 Subject: [PATCH] Updated ISD spec --- draft/README.md | 12 ++++++------ draft/sample.isd | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/draft/README.md b/draft/README.md index 251a0c2..bb03b3d 100644 --- a/draft/README.md +++ b/draft/README.md @@ -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]] diff --git a/draft/sample.isd b/draft/sample.isd index a86a23d..ab94c4b 100644 --- a/draft/sample.isd +++ b/draft/sample.isd @@ -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]]