shitchell

tworld.config.json

Oct 10th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.59 KB | None | 0 0
  1. {
  2.     "items": [
  3.         {
  4.             "name": "gold coin",
  5.             "id": 30,
  6.             "char": "o",
  7.             "size": 1,
  8.             "description": "ancient aztec golden coin"
  9.         },
  10.         {
  11.             "name": "chest",
  12.             "id": 50,
  13.             "char": "x",
  14.             "size": 10,
  15.             "capacity": 8,
  16.             "description": "a dusty chest with floral golden inlays"
  17.         },
  18.         {
  19.             "name": "backpack",
  20.             "id": 55,
  21.             "char": "x",
  22.             "size": 8,
  23.             "capacity": 6,
  24.             "description": "a small leather rucksack"
  25.         },
  26.         {
  27.             "name": "table",
  28.             "id": 70,
  29.             "description": "an old table with rotting wood"
  30.         }
  31.     ],
  32.     "item_groups": [
  33.         {
  34.             "name": "table",
  35.             "id": 80,
  36.             "description": "an old chest sitting atop a rickety table"
  37.         }
  38.     ],
  39.     "paths": [
  40.         {
  41.             "name": "dirt path",
  42.             "id": 0,
  43.             "char": "."
  44.         }
  45.     ],
  46.     "structures": [
  47.         {
  48.             "name": "wall",
  49.             "id": 1,
  50.             "char": "#",
  51.             "description": "rock wall made of limestone"
  52.         },
  53.         {
  54.             "name": "door",
  55.             "id": 2,
  56.             "char": "^",
  57.             "impasse": false,
  58.             "description": "an arched door cutout in the limestone"
  59.         },
  60.         {
  61.             "name": "waterfall",
  62.             "id": 3,
  63.             "char": "|",
  64.             "description": "a tall waterfall originating from some unseen point"
  65.         }
  66.     ],
  67.     "characters": [
  68.         {
  69.             "name": "monster",
  70.             "id": 90,
  71.             "char": "@",
  72.             "description": "a hideous beast with mangled fangs",
  73.             "health": 20,
  74.             "attack": 20
  75.         }
  76.     ],
  77.     "map": [
  78.         [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
  79.         [  1,  1,  1,  0,  1,  1,  1,  1,  1,  1,  1],
  80.         [  1,  1,  1,  2,  1,  1,  1,  1,  1,  1,  1],
  81.         [  1,  1,  1,  0,  0,  0,  1,  1,  1,  1,  1],
  82.         [  1,  1,  1,  1,  1,  0,  1,  1,  1,  1,  1],
  83.         [  1,  1,  1,  1,  1,  2,  1,  1,  1,  1,  1],
  84.         [  1,  1,  1,  1,  1,"_",  1,  1,  1,  1,  1],
  85.         [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
  86.         [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
  87.         [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1],
  88.         [  1,  1,  1,  1,  1,  1,  1,  1,  1,  1,  1]
  89.     ],
  90.     "settings": {
  91.         "welcome": "Welcome to the game!",
  92.         "spawn_char": "_"
  93.     }
  94. }
Add Comment
Please, Sign In to add comment