-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.toml
40 lines (36 loc) · 1.49 KB
/
game.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This is the name of the video game!
title = "The Library"
# This master table contains a map of the entire world
[world]
# This subtable describes a specific stage within the world.
[world.the_antechamber]
# This is the textual description of this stage
description = """Here is an epic, \
multiline description \
of this part of the world!\
"""
# Here is an array of tables, each table describes an edge (a path) that
# branches out from this location.
[[world.the_antechamber.edges]]
# This is the direction the player must walk to take this path. It can be any
# number of directions: UPSTAIRS LADDER, NORTH WINDOW, STRAIGHT AHEAD, LEFT DOOR, TOWARDS THE LIGHT, etc.
direction = "NORTH DOOR"
# A short description of this path. It should fit grammatically with the direction. Ex: The NORTH PASSAGEWAY "is full of cobwebs"
description = "is rusted shut!"
# This is the stage to which the path links
link = "the_lobby"
# Here is a second edge
[[world.the_antechamber.edges]]
direction = "SOUTH DOOR"
description = "seems to be the way outside!"
link = "the_void"
[world.the_lobby]
description = "What a beautiful lobby! Tons of stuff everywhere!"
[[world.the_lobby.edges]]
direction = "SOUTH DOOR"
description = "takes you back to the antechamber."
link = "the_antechamber"
# This table keeps track of items
[items]
# This table tracks NPCs and players
[characters]