The Lone Traveller Data Dictionary
| Name | Data Type | Data Format | Description | Example |
| health | Integer | Health of the player in the game | 60 | |
| hunger | StringVar() | Variable that can be set to different levels of hunger | Hungry | |
| showinfo | Integer | N | ||
| active1 | Integer | N | Used as either a 1 or a 2 in the inventory buttons to state whether the inventory items should be shown or not. | if active == 1: Don’t show inventory Items |
| story | StringVar() | story.set(room3_description) | ||
| room3entered | Integer | N | room3entered to room11entered are variables used to determine if a room has been entered or not, when the player enters the room these are set to 1 in order to show different information as it’s not the first time they have entered the room | room3entered = 1 |
| room15chair = 0 | integer | N | Item value for room15chair, if it equals 0 then the player doesn’t have it, but if it equals 1 then the player has it so when inventory is called, the item shows up. There is one of these for each item in the game | room15chair = 1 |
| room3_description | text | There are many different descriptions and text strings for different rooms and aspects of the game. Values like this hold text which can be set to the story variable at any time during the game. | – Chapter 1 – Where am I? |
A link to the pdf copy is below
https://drive.google.com/file/d/0B6RjkjiTsmvLcm1HR01OaVUtNzA/view?usp=sharing