YAML file recognition for Inform 7, an interactive fiction design language.

The team account https://github.com/i7 has several active Inform 7 projects.
This commit is contained in:
Andrew Plotkin
2014-01-19 01:19:24 -05:00
parent b91738721b
commit df342798b0
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
Version 1 of Trivial Extension by Andrew Plotkin begins here.
A cow is a kind of animal. A cow can be purple.
Trivial Extension ends here.

12
samples/Inform 7/story.ni Normal file
View File

@@ -0,0 +1,12 @@
"Test Case" by Andrew Plotkin.
Include Trivial Extension by Andrew Plotkin.
The Kitchen is a room.
[This kitchen is modelled after the one in Zork, although it lacks the detail to establish this to the player.]
A purple cow called Gelett is in the Kitchen.
Instead of examining Gelett:
say "You'd rather see than be one."