Advertisement
Guest User

example.json

a guest
Apr 21st, 2019
1,921
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.79 KB | None | 0 0
  1. {
  2.     "title": "Example Dungeon",
  3.     "startGold": 10000,
  4.     "tileset": "mines",
  5.     "weatherEffectType": "Rain",
  6.     "difficultyFactor": 5,
  7.     "route": [
  8.         [ "A", "9" ],
  9.         [ "B", "8" ],
  10.         [ "C", "7" ],
  11.     ],
  12.     "victoryCondition": "CollectGold",
  13.     "victoryParameters":  {"gold": 20000, "time": 600},
  14.     "field": [
  15.         "11111111111111111111111111111",
  16.         "11100010000112222222222222211",
  17.         "11100010000112222222222222211",
  18.         "11100010000112222222222222211",
  19.         "11100010000112222222222222211",
  20.         "11100010000112222222222222211",
  21.         "11110110000112222222222222211",
  22.         "11110110000111111111111111111",
  23.         "11A002225501WWW10000000013331",
  24.         "11A00000000000000000@@00>3731",
  25.         "11A002225501MMM10000000013331",
  26.         "11111111111111111111000011111",
  27.         "11B000006666000#####0000{1111",
  28.         "11B00000600600000000000011111",
  29.         "11111111611611111111000013811",
  30.         "11C000006006000000000000>3311",
  31.         "11111111611611101111010011111",
  32.         "1111111161166110111101VV13331",
  33.         "11111166611161111111110003931",
  34.         "11111111111111111111111113331",
  35.         "11111111111111111111111111111",
  36.        
  37.     ],
  38.     "movingPlatforms": [
  39.         {
  40.             "row": 16,
  41.             "col": 14,
  42.             "routeH": [0, 0, 1, 1, 0, 0, -1, -1],
  43.             "routeV": [1, 1, 0, 0, -1, -1, 0, 0],
  44.             "isRouteLooped": true,
  45.             "moveSpeed": 0.15,
  46.             "stopTime": 0,
  47.             "terrain": [
  48.                 "1",
  49.             ]
  50.         },
  51.         {
  52.             "row": 15,
  53.             "col": 21,
  54.             "routeH": [0, 0, 0],
  55.             "routeV": [1, 1, 1],
  56.             "isRouteLooped": false,
  57.             "moveSpeed": 0.3,
  58.             "stopTime": 3,
  59.             "initialMoveDelay": 5,
  60.             "terrain": [
  61.                 "10",
  62.                 "10"
  63.             ]
  64.         }
  65.     ],
  66.     "rails": [
  67.         { "startRow": 2, "startCol": 6, "endRow": 2, "endCol": 12, "interval": 3.5 },
  68.         { "type": "Bison", "startRow": 3, "startCol": 15, "endRow": 3, "endCol": 20, "interval": 0.3, "duration": 5 },
  69.     ],
  70.     "decorations": [
  71.         { "type": "Torch", "row": 6, "col": 8, "rotation": 270 },
  72.        
  73.         { "type": "Boulder", "row": 12, "col": 23, "rotation": 0 },
  74.  
  75.         { "type": "Totem", "row": 7, "col": 4, "rotation": 0, "totemType": "Haste" },
  76.  
  77.         { "type": "Treasure", "row": 9, "col": 21, "rotation": 0 },
  78.  
  79.         { "type": "Orb", "row": 6, "col": 21, "rotation": 0 },
  80.  
  81.         { "type": "DemonSquad", "row": 5, "col": 5, "count": 3 },
  82.  
  83.         { "type": "Vault", "row": 18, "col": 8 },
  84.  
  85.         { "type": "Tomb", "row": 15, "col": 8,
  86.         "spawnerUnitType": "Warrior",
  87.         "spawnerRouteIndex": 0,
  88.         "spawnerInterval": 0.1,
  89.         "spawnerUnitCount": 50
  90.         },
  91.  
  92.         { "type": "Spawner", "row": 16, "col": 4, "rotation": 0, "spawnerUnitType": "Warrior", "spawnerRouteIndex": 0, "spawnerInterval": 3 },
  93.         { "type": "Spawner", "row": 18, "col": 4, "rotation": 0, "spawnerUnitType": "Digger", "spawnerRouteIndex": 1, "spawnerInterval": 5 },
  94.     ],
  95.     "prebuiltTraps": [
  96.         { "row": 0, "col": 0, "fieldIndex": 1, "type": "Dart", "tier": 0, "direction": "Right" },
  97.         { "row": 0, "col": 1, "fieldIndex": 2, "type": "Spike", "tier": 0, "direction": "Down" },
  98.         { "row": 6, "col": 6, "fieldIndex": 0, "type": "Harpoon", "tier": 0, "direction": "Up" },
  99.     ],
  100.     "allowedUnitTypes": [
  101.         "Peasant",
  102.         "King",
  103.         "Adventurer",
  104.         "Warrior",
  105.         "Knight",
  106.         "Priest",
  107.         "Thief",
  108.         "Wizard",
  109.         "Golem",
  110.         "Copter",
  111.         "Dwarf",
  112.         "Marksman",
  113.         "Warrior_Veteran",
  114.         "Horseman",
  115.         "Druid",
  116.         "Journeyman",
  117.         "Brute",
  118.         "Drummer",
  119.         "Bloon",
  120.         "Midasman",
  121.         "Digger",
  122.         "BridgeSquad",
  123.         "JungleWarrior",
  124.         "Berserker",
  125.         "Bandit",
  126.         "MasterThief",
  127.         "BlackKnight",
  128.         "Vanguard",
  129.         "HeavyArmor"
  130.     ],
  131.     "waves": [
  132.         {
  133.             "wave": 1,
  134.             "replaceGeneratedWave": false,
  135.             "appendToGeneratedWave": true,
  136.             "spawn": [
  137.                 { "interval": 0.2, "types": [ "Dwarf" ], "typeInterval": 0.1, "count": 3, "routes": [ 0 ] },
  138.                 { "interval": 2.0, "types": [ "Warrior", "Peasant" ], "typeInterval": 1.0, "count": 3, "routes": [ 0, 1 ] }
  139.             ]
  140.         },
  141.         {
  142.             "wave": 2,
  143.             "replaceGeneratedWave": true,
  144.             "appendToGeneratedWave": false,
  145.             "spawn": [
  146.                 { "interval": 1, "types": [ "Vanguard" ], "typeInterval": 0.1, "count": 3, "routes": [ 0 ] }
  147.             ]
  148.         }
  149.     ]
  150. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement