Last active
March 21, 2017 14:44
-
-
Save frankhale/5121e8d7fd123f418ef362eb770cace6 to your computer and use it in GitHub Desktop.
IF NOTES
This file contains 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
***The 'properties' property is for anything that is game specific*** | |
-IF SCHEMA BELOW- | |
Player | |
- current room | |
- moves | |
- score | |
- items | |
- properties (eg. health, gold, etc...) | |
NPC | |
- text (an object with various blocks of text, eg. description will be one of these) | |
- dialog | |
- actions | |
- killable | |
- properties | |
- items | |
- location | |
Rooms | |
- text (an object with various blocks of text, eg. description will be one of these) | |
- items | |
- scenery | |
- npcs | |
- triggers | |
- actions | |
- exits | |
Exits | |
- room | |
- synonyms | |
- properties (for instance: hidden if the exit is hidden) | |
Items | |
- text (an object with various blocks of text, eg. description will be one of these) | |
- items (eg. an item an be a container with other items) | |
- type (eg. food, drink, tool, weapon, etc... Any type of item) | |
- anchored (if true, cannot be taken, otherwise it can be taken by the player) | |
- actions | |
- properties (eg. if weapon, can have weapon traits like damage, weapon level, weapon quality) | |
- triggers (eg. on pickup, on drop, etc...) | |
Scenery (similar to items except larger, cannot be taken, eg. A tree in the yard is scenery) | |
- text | |
- type | |
- items (eg. a table which is scenery can have items on it) | |
- properties (eg. a fireplace can be *hot* and cause damage if a player touches it) | |
- actions | |
- triggers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment