thegame/data.json

224 lines
13 KiB
JSON

{
"version": 1,
"maps": [
{
"default": true,
"map_required": true,
"starting_location": [3, 6],
"name": "Mystic Forest",
"description": "A mystical forest filled with ancient trees and hidden secrets.",
"id": "mystic_forest",
"width": 10,
"height": 10,
"events": [
{
"evt_type": "npc",
"command_id": "oak",
"name": "Elder Oak",
"location": [2, 3],
"dialogue": [
"You meet the Elder Oak, a towering tree with a face carved into its bark.",
"<i>Welcome to the Mystic Forest, young traveler.</i>",
"<i>Many secrets lie within these woods.</i>",
"<i>Seek the hidden glades and you may find treasures untold.</i>"
]
},
{
"evt_type": "item",
"command_id": "scroll",
"name": "Ancient Scroll",
"description": "A scroll containing secrets of the forest.",
"location": [7, 8]
},
{
"evt_type": "location",
"command_id": "mystic_cottage",
"name": "Mystic Cottage",
"description": "A small cottage made of enchanted wood, home to a wise hermit.",
"location": [2, 6]
}
],
"tilemap": [
["water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border"],
["water_border", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "water", "house", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "grass", "water_border"],
["water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border", "water_border"]
],
"tiles": {
"house": {
"name": "Mystic Cottage",
"icon": {
"char": "H",
"color": [139, 69, 19]
},
"walkable": true,
"description": "A small cottage made of enchanted wood, home to a wise hermit.",
"bitmap": [
["H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H"],
["H", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "H"],
["H", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "H"],
["H", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "H"],
["H", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "H"],
["H", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "H"],
["H", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "H"],
["H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H", "H"]
]
},
"water_border": {
"name": "Water Border",
"icon": {
"char": "~",
"color": [0, 0, 255]
},
"walkable": false,
"description": "A border of water surrounding the Mystic Forest.",
"bitmap": [
["~", "~", "~", "~", "~", "~", "~", "~", "~", "~"],
["~", " ", " ", " ", " ", " ", " ", " ", " ", "~"],
["~", " ", " ", " ", " ", " ", " ", " ", " ", "~"],
["~", " ", " ", " ", " ", " ", " ", " ", " ", "~"],
["~", " ", " ", " ", " ", " ", " ", " ", " ", "~"],
["~", " ", " ", " ", " ", " ", " ", " ", " ", "~"],
["~", " ", " ", " ", " ", " ", " ", " ", " ", "~"],
["~", "~", "~", "~", "~", "~", "~", "~", "~", "~"]
]
},
"water": {
"name": "Water",
"icon": {
"char": "~",
"color": [0, 128, 255]
},
"walkable": true,
"description": "A serene body of water, perfect for fishing or swimming.",
"bitmap": [
["~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~"],
[" ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " "],
[" ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " "],
["~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~"],
[" ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " "],
[" ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " "],
["~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~"],
[" ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " ", "~", " ", " "]
]
},
"grass": {
"name": "Grass",
"icon": {
"char": "#",
"color": [0, 255, 0]
},
"walkable": true,
"description": "Lush green grass, perfect for a picnic or a stroll.",
"bitmap": [
["#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " "],
[" ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#"],
["#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " "],
[" ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#"],
["#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " "],
[" ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#"],
["#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " "],
[" ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#", " ", "#"]
]
}
}
}, {
"default": false,
"map_required": false,
"starting_location": [2, 4],
"name": "Mystic Cottage",
"description": "A small cottage made of enchanted wood, home to a wise hermit.",
"id": "mystic_cottage",
"width": 5,
"height": 5,
"events": [
{
"evt_type": "item",
"command_id": "map",
"name": "Mystic Forest Map",
"description": "A map of the Mystic Forest.",
"location": [7, 8]
},
{
"evt_type": "location",
"command_id": "mystic_forest",
"name": "Door",
"description": "A small wooden door leading to the outside.",
"location": [2, 4]
}
],
"tilemap": [
["wall", "wall", "wall", "wall", "wall"],
["wall", "floor", "floor", "floor", "wall"],
["wall", "floor", "floor", "floor", "wall"],
["wall", "floor", "floor", "floor", "wall"],
["wall", "wall", "door", "wall", "wall"]
],
"tiles": {
"wall": {
"name": "Wall",
"icon": {
"char": "#",
"color": [0, 0, 255]
},
"walkable": false,
"description": "A sturdy wall made of enchanted wood, protecting the cottage.",
"bitmap": [
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"],
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"],
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"],
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"],
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"],
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"],
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"],
["#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#", "#"]
]
},
"floor": {
"name": "Floor",
"icon": {
"char": "+",
"color": [237, 207, 147]
},
"walkable": true,
"description": "A cozy wooden floor, warm and inviting.",
"bitmap": [
["+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " "],
[" ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+"],
["+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " "],
[" ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+"],
["+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " "],
[" ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+"],
["+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " "],
[" ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+", " ", "+"]
]
},
"door": {
"name": "Door",
"icon": {
"char": "@",
"color": [128, 0, 0]
},
"walkable": true,
"description": "A small wooden door leading to the outside.",
"bitmap": [
["@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@"],
["@", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "@"],
["@", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "@"],
["@", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "+", "-", "-", "@"],
["@", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "|", " ", " ", "@"],
["@", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "@"],
["@", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "@"],
["@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@", "@"]
]
}
}
}
]
}