We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create an import/export system for game data. MAPI has some sample JSON maps that can be used as testing input.
Should take a json file that follows this format:
{ "map": { "1": { // y coordinate "2": { // x coordinate (contains room) "x": 2, "y": 1, "description": "room description (Minus items)", "items": [ // references for items in room "[itemID]", "[itemID]", "[itemID]" ], "entities": [ // references for entities in room "[entityID]","[entityID]","[entityID]" ], "doors": { // openings into adjacent rooms "n": false, "s": true, "e": false, "w": false } }, }, "items": { "1":{ "name": "Item Name", "id": "Item ID", "appearance": "Item appearance", "visibility": "Item visibility", "description": "Item Description", "sprite": "Sprite Reference", "volume": 1.1, "weight": 7.5, "visibility": 1.0, "max_quantity": 4 } }, "entities": { } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Create an import/export system for game data.
MAPI has some sample JSON maps that can be used as testing input.
Should take a json file that follows this format:
The text was updated successfully, but these errors were encountered: