s2protocol 3.5.6

A parser for Starcraft II - Replay format, exports to different target formats
Documentation
{
  "@id": "PlanetaryFortress",
  "abilities": {
    "ability": [
      {
        "@id": "BuildInProgress",
        "@index": 129,
        "command": [
          {
            "@id": "Cancel",
            "@index": 0,
            "meta": {
              "@hotkey": "72",
              "@icon": "btn-command-cancel",
              "@index": null,
              "@name": "71",
              "@race": null,
              "@source": null,
              "@tooltip": "73",
              "@type": "command"
            }
          }
        ]
      },
      {
        "@id": "stop",
        "@index": 41,
        "command": [
          {
            "@id": "Stop",
            "@index": 0,
            "meta": {
              "@hotkey": "1236",
              "@icon": "btn-command-stop",
              "@index": null,
              "@name": "1235",
              "@race": null,
              "@source": null,
              "@tooltip": "1237",
              "@type": "command"
            }
          }
        ]
      },
      {
        "@id": "attack",
        "@index": 46,
        "command": [
          {
            "@id": "Execute",
            "@index": 0,
            "meta": {
              "@hotkey": "298",
              "@icon": "btn-command-attack",
              "@index": null,
              "@name": "297",
              "@race": null,
              "@source": null,
              "@tooltip": "299",
              "@type": "command"
            }
          }
        ]
      },
      {
        "@id": "RallyCommand",
        "@index": 106,
        "command": [
          {
            "@id": "Rally1",
            "@index": 0,
            "meta": {
              "@hotkey": "122",
              "@icon": "btn-ability-terran-setrallypoint",
              "@index": null,
              "@name": "121",
              "@race": null,
              "@source": null,
              "@tooltip": "123",
              "@type": "command"
            }
          }
        ]
      },
      {
        "@id": "que5PassiveCancelToSelection",
        "@index": 280,
        "command": [
          {
            "@id": "CancelLast",
            "@index": 0,
            "meta": {
              "@hotkey": "119",
              "@icon": "btn-command-cancel",
              "@index": null,
              "@name": "212",
              "@race": null,
              "@source": null,
              "@tooltip": "213",
              "@type": "command"
            }
          }
        ]
      },
      {
        "@id": "CommandCenterTransport",
        "@index": 146,
        "command": [
          {
            "@id": "Load",
            "@index": 0,
            "meta": {
              "@hotkey": "1239",
              "@icon": "btn-techupgrade-terran-expandedhull",
              "@index": null,
              "@name": "1238",
              "@race": null,
              "@source": null,
              "@tooltip": "1240",
              "@type": "command"
            }
          },
          {
            "@id": "UnloadAll",
            "@index": 1,
            "meta": {
              "@hotkey": "218",
              "@icon": "btn-ability-terran-unloadall",
              "@index": null,
              "@name": "217",
              "@race": null,
              "@source": null,
              "@tooltip": "219",
              "@type": "command"
            }
          },
          {
            "@id": "LoadAll",
            "@index": 4,
            "meta": {
              "@hotkey": "1239",
              "@icon": "btn-techupgrade-terran-expandedhull",
              "@index": null,
              "@name": "1238",
              "@race": null,
              "@source": null,
              "@tooltip": "1240",
              "@type": "command"
            }
          }
        ]
      }
    ]
  },
  "armor": {
    "@max": 4,
    "@start": 2
  },
  "attributes": {
    "attribute": [
      {
        "@type": "Armored"
      },
      {
        "@type": "Mechanical"
      },
      {
        "@type": "Structure"
      }
    ]
  },
  "builds": {
    "unit": []
  },
  "cost": {
    "@cooldown": null,
    "@energy": null,
    "@life": null,
    "@minerals": 150,
    "@supply": null,
    "@time": 50.0,
    "@vespene": 150
  },
  "life": {
    "@max": 1500,
    "@regenRate": null,
    "@start": 1500
  },
  "meta": {
    "@hotkey": "224",
    "@icon": "btn-building-terran-planetaryfortress",
    "@index": 153,
    "@name": "1232",
    "@race": "Terr",
    "@source": "Liberty.SC2Mod",
    "@tooltip": "1233",
    "@type": null
  },
  "misc": {
    "@cargoCapacity": 5,
    "@cargoSize": 0,
    "@count": null,
    "@footprint": "Footprint5x5Contour",
    "@radius": 2.5,
    "@range": null,
    "@sightRadius": 11.0,
    "@speed": null,
    "@supply": 13.0,
    "@targets": null
  },
  "movement": null,
  "producer": {
    "@id": "CommandCenter",
    "@name": "205"
  },
  "requires": {
    "unit": [
      {
        "@id": "EngineeringBay",
        "@name": "226"
      }
    ]
  },
  "researches": null,
  "score": {
    "@build": 700,
    "@kill": 700
  },
  "shieldArmor": {
    "@max": 0,
    "@start": 0
  },
  "shields": null,
  "strengths": {
    "unit": [
      {
        "@id": "Marine",
        "@name": "26"
      },
      {
        "@id": "Zergling",
        "@name": "27"
      },
      {
        "@id": "Zealot",
        "@name": "28"
      }
    ]
  },
  "trains": {
    "unit": [
      {
        "@ability": 157,
        "@id": "SCV",
        "@index": 0,
        "@name": null,
        "cost": {
          "@cooldown": null,
          "@energy": null,
          "@life": null,
          "@minerals": 50,
          "@supply": 1.0,
          "@time": 17.0,
          "@vespene": null
        },
        "meta": {
          "@hotkey": "234",
          "@icon": "btn-unit-terran-scv",
          "@index": null,
          "@name": "233",
          "@race": null,
          "@source": null,
          "@tooltip": "235",
          "@type": "command"
        },
        "requires": {
          "unit": []
        }
      }
    ]
  },
  "upgrades": {
    "upgrade": [
      {
        "@id": "HiSecAutoTracking",
        "level": [
          {
            "@id": "",
            "@index": 0,
            "cost": {
              "@cooldown": null,
              "@energy": null,
              "@life": null,
              "@minerals": 100,
              "@supply": null,
              "@time": 80.0,
              "@vespene": 100
            },
            "meta": {
              "@hotkey": "188",
              "@icon": "BTN-Upgrade-Terran-hisecautotracking",
              "@index": null,
              "@name": "187",
              "@race": null,
              "@source": null,
              "@tooltip": "189",
              "@type": null
            },
            "requires": []
          }
        ]
      },
      {
        "@id": "TerranBuildingArmor",
        "level": [
          {
            "@id": "",
            "@index": 0,
            "cost": {
              "@cooldown": null,
              "@energy": null,
              "@life": null,
              "@minerals": 150,
              "@supply": null,
              "@time": 140.0,
              "@vespene": 150
            },
            "meta": {
              "@hotkey": "75",
              "@icon": "BTN-upgrade-terran-buildingarmor",
              "@index": null,
              "@name": "74",
              "@race": null,
              "@source": null,
              "@tooltip": "76",
              "@type": null
            },
            "requires": []
          }
        ]
      }
    ]
  },
  "weaknesses": {
    "unit": [
      {
        "@id": "SiegeTank",
        "@name": "305"
      },
      {
        "@id": "Mutalisk",
        "@name": "81"
      },
      {
        "@id": "VoidRay",
        "@name": "82"
      }
    ]
  },
  "weapons": {
    "weapon": [
      {
        "@id": "TwinIbiksCannon",
        "@index": 53,
        "meta": {
          "@hotkey": null,
          "@icon": "btn-upgrade-terran-hisecautotracking",
          "@index": null,
          "@name": "1234",
          "@race": null,
          "@source": null,
          "@tooltip": "0",
          "@type": null
        },
        "misc": {
          "@cargoCapacity": null,
          "@cargoSize": null,
          "@count": null,
          "@footprint": null,
          "@radius": null,
          "@range": 6.0,
          "@sightRadius": null,
          "@speed": 2.0,
          "@supply": null,
          "@targets": "ground"
        },
        "score": null
      }
    ]
  }
}