Added simple scripting for yaml files.
This commit is contained in:
parent
8355dccb33
commit
b332d579e9
6 changed files with 506 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
---
|
||||
openingText: Floor 1 map loaded successfully. Normally, this would describe the environment.
|
||||
playerStart: [5, 26]
|
||||
enterScript: printf "This script ran when you entered the level."
|
||||
layout: |
|
||||
w w w w w w w w w w w w w w w w w w w w w w w w w w w w w w0
|
||||
w w0
|
||||
|
|
|
@ -13,3 +13,5 @@ replies:
|
|||
- opener: I would, but there's still a bunch of foreshadowing and stuff we
|
||||
have to get through first.
|
||||
action: back
|
||||
script: set tellmore += 1;
|
||||
printf "You have seen this text {} times." tellmore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue