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