Last active
November 6, 2015 00:00
-
-
Save frankhale/b88b80359dd080cac546 to your computer and use it in GitHub Desktop.
A hypothetical data file for an interactive fiction engine capable of playing a Cloak of Darkness clone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rooms | |
1 Opera House Foyer | |
1 You are in the Foyer of the Opera House. This room has doors to the south and | |
1 west, also an unusable exit to the north. The room is quiet and you don't see | |
1 anyone around. | |
2 Cloak Room | |
2 You are in the cloak room. The room resembles a large walk in closet. You see | |
2 a brass hook on the wall. | |
3 The Bar | |
3 You are in the bar and it is extremely dark, you cannot see anything right | |
3 now. You can't even see if there is a light switch. | |
actions | |
2 1 hang 1 | |
2 1 hang, place, put, throw | |
2 1 1 You take off your cloak and hang it up on the hook. | |
3 2 read 2 | |
3 2 read, look, ponder, interpret | |
3 2 1 The message on the floor reads, YOU WON! | |
3 2 2 Because you disturbed the room while moving around in the dark you made | |
3 2 2 the message written on the floor impossible to read. I'm sorry but you | |
3 2 2 have lost. | |
3 2 3 You cannot see anything in the room because it's too dark. | |
triggers | |
3 entry | |
3 1 The room is lit vibrantly and you notice a message is scratched in sawdust | |
3 1 on the floor. | |
3 2 You can see the room now and there is nothing special about it. You do | |
3 2 notice that there is a mess on the floor but you cannot discern why it's | |
3 2 there. | |
3 movement | |
3 1 Your movement has disturbed things within the room and the room is no longer | |
3 1 as it was when you first entered. | |
objects | |
0 1 cloak | |
0 1 1 A eerily dark velvet cloak | |
0 1 2 This garment is made of a light absorbing material causing it to cancels | |
0 1 2 available light shedding darkness on objects around you. | |
0 1 3 cloak, dark cloak, velvet cloak | |
0 1 4 true | |
0 1 5 true | |
3 2 message | |
3 2 5 false | |
exits | |
1 0 3 0 2 | |
2 0 0 1 0 | |
3 1 0 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Round #3. This is unfinished. I want a much cleaner format that is less error prone to parse.