[
  {
    "id":"$anim_roadconnectionoverlay00",
    "type":"animation",
    "frames":[{"x":640,"y":32,"w":32,"h":32,"count":4,"handle y":24}]
  },


  {
    "id": "$pedestrian_road00",
    "type": "road",
    "level": -1,
    "frames": [{"x": 512,"y": 96,"w": 32,"h": 16,"count": 16, "offset x": 1024,"offset y": 3072}],
    "sidewalk size": 0.2,
    "sidewalk offset": 0.45,
    "connectable":false,
    "draw ground":true,
    "flag normal": false,
    "pedestrians": true,
    "devoted": false,
    "auto join": false,
    "price":15,
    "monthly price":1,
    "requirement":{"requirements":[{"type":"RANK", "data":{"lvl":1}}]}
  },

  // Dirt track
  {
    "id": "$dirt_track_00",
    "type": "road",
    "frames": [
      {"x": 768, "y": 412, "w": 32, "h": 16, "count": 4, "offset x": 1024, "offset y": 2048},
      {"x": 768, "y": 428, "w": 32, "h": 16, "count": 4, "offset x": 1024, "offset y": 2048},
      {"x": 768, "y": 444, "w": 32, "h": 16, "count": 4, "offset x": 1024, "offset y": 2048},
      {"x": 768, "y": 460, "w": 32, "h": 16, "count": 4, "offset x": 1024, "offset y": 2048}
    ],
    "level": -2,
    "speed": 0.8,
    "price": 10,
    "monthly price": 2,
    "connectable": false,
    "draw ground": true
  },

  // Dirt road
  {
    "id": "$template_road00",
    "type": "template",
    "level":0,
    "speed":1.0,
    "price":20,
    "monthly price":2,
    "connectable":false,
    "slope frames":[
      {"x":240,"y":271,"w":32,"h":32,"count":4,"offset x":2048,"offset y":1024}
    ],
    "draw ground":true
  },
  {
    "hidden":true,
    "id":"$diagonalroad_road00",
    "type":"road",
    "template": "$template_road00",
    "title id": "draft_road00_title",
    "text id": "draft_road00_text",
    "frames":[{"x": 512,"y": 64,"w":32, "h": 16,"count":16,"offset x": 1024, "offset y": 3072}],
    "allow diagonal":true
  },
  {
    "id":"$road00",
    "type":"road",
    "template": "$template_road00",
    "diagonal road":"$diagonalroad_road00",
    "frames":[{"x":512,"y":0,"w":32,"h":16,"count":16}],
    "bridge frames":[
      {"x":0,"y":912,"w":32,"h":48,"count":12,"offset x": 2048,"offset y": 1024},
      {"x":896,"y":214,"w":32,"h":26,"count":4}
    ],
    "unused frames":[{"x":384,"y":912,"w":32,"h":48,"count":4,"offset x": 2048,"offset y": 1024}],
    "frames per bridge":16,
    "deco": {
      "draft": "$streetlights00",
      "step": 4
    }
  },



  // Country road
  {
    "id": "$template_road01",
    "type": "template",
    "level":1,
    "traffic lights":[{"x":512,"y":32,"w":32,"h":32,"count":4}],
    "slope frames":[
      {"x":120,"y":311,"w":32,"h":32,"count":4,"offset x":2048,"offset y":1024}
    ],
    "green phase":3000,
    "yellow phase":500,
    "speed":2.0,
    "price":150,
    "bridge price":2000,
    "monthly price":5,
    "draw ground":true,
    "requirement":{"requirements":[{"type":"RANK", "data":{"lvl":1}}]}
  },
  {
    "hidden":true,
    "connectable":false,
    "id":"$diagonalroad_road01",
    "type":"road",
    "template": "$template_road01",
    "title id": "draft_road01_title",
    "text id": "draft_road01_text",
    "frames":[{"x": 512,"y": 80,"w":32, "h": 16,"count":16,"offset x": 1024, "offset y": 3072}],
    "allow diagonal":true
  },
  {
    "id":"$road01",
    "type":"road",
    "template": "$template_road01",
    "diagonal road":"$diagonalroad_road01",
    "frames":[{"x":512,"y":16,"w":32,"h":16,"count":16}],
    "bridge frames":[
      {"x":512,"y":96,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":96,"w":32,"h":48,"count":4},
      {"x":768,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":144,"w":32,"h":48,"count":4},
      {"x":768,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":192,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4}
    ],
    "frames per bridge":16,
    "tunnel frames":[
      {"x":896,"y":192,"w":16,"h":19,"handle y":7},
      {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":928,"y":192,"w":16,"h":19,"handle y":7},
      {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":640,"y":301,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024},
      {"x":640,"y":326,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024}
    ],
    "bridge height":12,
    "deco": {
      "draft": "$streetlights01",
      "step": 3
    }
  },

  // One-way
  {
    "id":"$road03",
    "type":"road",
    "level":1,
    "frames":[
      {"x":512,"y":1536,"w":32,"h":16,"count":16},
      {"x":512,"y":1552,"w":32,"h":16,"count":16},
      {"x":512,"y":1568,"w":32,"h":16,"count":16},
      {"x":512,"y":1584,"w":32,"h":16,"count":16}
    ],
    "bridge frames":[
      {"x":512,"y":96,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":96,"w":32,"h":48,"count":4},
      {"x":768,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":144,"w":32,"h":48,"count":4},
      {"x":768,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":192,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4}
    ],
    "tunnel frames":[
      {"x":896,"y":192,"w":16,"h":19,"handle y":7},
      {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":928,"y":192,"w":16,"h":19,"handle y":7},
      {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7}
    ],
    "frames per bridge":16,
    "bridge height":12,
    "speed":2.5,

    "price":300,
    "monthly price":6,
    "bridge price":3000,

    "one way":true,
    "requirement":{"requirements":[{"type":"RANK", "data":{"lvl":2}}]},

    "deco": {
      "draft": "$streetlights04",
      "step": 3
    }
  },

  // Alley
  {
    "id":"$road04",
    "type":"road",
    "level":2,
    "frames":[
      {"silent frames":[
        {"x":512,"y":16,"w":32,"h":16,"count":16},
        {"x":512,"y":640,"w":32,"h":16,"count":4,"offset y":1024}
      ]},

      {"ref":0,"count":5,"silent":true},
      {"ref":16,"silent":true},
      {"ref":6,"count":10,"silent":true},

      {"ref":0,"count":10,"silent":true},
      {"ref":17,"silent":true},
      {"ref":11,"count":5,"silent":true},

      {"ref":0,"count":5,"silent":true},
      {"ref":18,"silent":true},
      {"ref":6,"count":10,"silent":true},

      {"ref":0,"count":10,"silent":true},
      {"ref":19,"silent":true},
      {"ref":11,"count":5,"silent":true}
    ],
    "bridge frames":[
      {"x":512,"y":96,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":96,"w":32,"h":48,"count":4},
      {"x":768,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":144,"w":32,"h":48,"count":4},
      {"x":768,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":192,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4}
    ],
    "tunnel frames":[
      {"x":896,"y":192,"w":16,"h":19,"handle y":7},
      {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":928,"y":192,"w":16,"h":19,"handle y":7},
      {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7}
    ],
    "draw ground": true,
    "frames per bridge":16,
    "bridge height":12,
    "traffic lights":[{"x":512,"y":32,"w":32,"h":32,"count":4}],
    "green phase":6000,
    "yellow phase":1000,
    "speed":2.5,
    "price":600,
    "bridge price":4000,
    "monthly price":10,
    "one way":true,
    "width":3,
    "decoration buildings":["$decoroad00"],
    "deco": {"draft": "$streetlights02_one"},
    "requirement":{"requirements":[{"type":"RANK", "data":{"lvl":3}}]}
  },

  // Fast
  {
  "id":"$road02",
  "type":"road",
  "level":2,
  "frames":[{"x":512,"y":1600,"w":32,"h":32,"count":16}],
    "bridge frames":[
      {"x":512,"y":1632,"w":32,"h":32,"count":12},
      {"x":608,"y":741,"w":32,"h":26,"count":4,"offset y":1024}
    ],
    "frames per bridge":16,
    "tunnel frames":[
      {"x":896,"y":192,"w":16,"h":19,"handle y":7},
      {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":928,"y":192,"w":16,"h":19,"handle y":7},
      {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7}
    ],
    "bridge height":12,
    "speed":4.0,
    "price":1500,
    "bridge price":8000,
    "monthly price":20,
    "allow bus stop":false,
    "allow transfer":true,
    "deco": {"draft": "$streetlights03"},
    "requirement":{"requirements":[{"type":"RANK", "data":{"lvl":5}}]},
    "flag tractor":false
  },



  // Highway
  {
    "id": "$template_road05",
    "type": "template",
    "tunnel frames": [
      {"x": 512, "y": 957, "w": 16, "h": 19, "handle y": 7, "offset x": 3072, "offset y": 1024},
      {"x": 528, "y": 957, "w": 16, "h": 19, "handle x": -16, "handle y": 7, "offset x": 3072, "offset y": 1024},
      {"x": 544, "y": 957, "w": 16, "h": 19, "handle y": 7, "offset x": 3072, "offset y": 1024},
      {"x": 560, "y": 957, "w": 16, "h": 19, "handle x": -16, "handle y": 7, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 911, "w": 32, "h": 27, "count": 8, "offset x": 3072, "offset y": 1024}
    ],
    "frames per bridge": 12,
    "max level": 5,
    "pile distant": 0,
    "level": 3,
    "speed": 5.0,
    "price": 3000,
    "bridge price": 8000,
    "monthly price": 40,
    "allow bus stop": false,
    "allow transfer": true,
    "one way": true,
    "allow crossing": false,
    "auto join": false,
    "flag tractor": false,
    "requirement": {
      "requirements": [
        {"type": "RANK", "data": {"lvl": 7}}
      ]
    }
  },
  {
    "id": "$road05",
    "type": "road",
    "template": "$template_road05",
    "frames": [
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024}
    ],
    "bridge frames": [
      {"x": 704, "y": 946, "w": 32, "h": 30, "count": 4, "offset x": 3072, "offset y": 1024},
      {"x": 768, "y": 911, "w": 32, "h": 31, "count": 8, "offset x": 3072, "offset y": 1024},

      {"x": 704, "y": 946, "w": 32, "h": 30, "count": 4, "offset x": 3072, "offset y": 1024},
      {"x": 768, "y": 911, "w": 32, "h": 31, "count": 4, "offset x": 3072, "offset y": 1024},
      {"x":896,"y":880,"w":32,"h":30,"count":4,"offset x":3072,"offset y":1024}
    ],
    "width": 2,
    "deco": [
      {"id": "$streetlights01_one_reverse", "stride": 0, "dirs":  5, "step x": 2, "step y": 1},
      {"id": "$streetlights01_one_reverse", "stride": 0, "dirs": 10, "step x": 1, "step y": 2}
    ]

  },

  // Highway ramp raod
  {
    "id": "$road05_ramp_diagonal00",
    "hidden": true,
    "type": "road",
    "template": "$template_road05",
    "title id": "draft_road05_ramp00_title",
    "text id": "draft_road05_ramp00_text",
    "frames": [
      {"x": 512, "y": 976, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 976, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 976, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 976, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024}
    ],
    "draw ground": true,
    "allow crossing": true,
    "allow diagonal": true
  },
  {
    "id": "$road05_ramp00",
    "type": "road",
    "template": "$template_road05",
    "frames": [
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024}
    ],
    "bridge frames": [
      {"x": 576, "y": 946, "w": 32, "h": 30, "count": 4, "offset x": 3072, "offset y": 1024},
      {"x": 768, "y": 911, "w": 32, "h": 31, "count": 8, "offset x": 3072, "offset y": 1024}
    ],
    "diagonal road": "$road05_ramp_diagonal00",
    "draw ground": true,
    "allow crossing": true
  },


  // National country road
  {
    "id":"$devroad00",
    "dev":true,
    "type":"road",
    "pickable": false,
    "level":1,
    "frames":[{"x":512,"y":16,"w":32,"h":16,"count":16}],
    "bridge frames":[
      {"x":512,"y":144,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":96,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":192,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4}
    ],
    "frames per bridge":16,
    "tunnel frames":[
      {"x":896,"y":192,"w":16,"h":19,"handle y":7},
      {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":928,"y":192,"w":16,"h":19,"handle y":7},
      {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":640,"y":301,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024},
      {"x":640,"y":326,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024}
    ],
    "slope frames":[
      {"x":120,"y":311,"w":32,"h":32,"count":4,"offset x":2048,"offset y":1024}
    ],
    "bridge height":12,
    "traffic lights":[{"x":512,"y":32,"w":32,"h":32,"count":4}],
    "green phase":6000,
    "yellow phase":1000,
    "speed":2.0,
    "price":1000,
    "draw ground": true,
    "deco": {"draft": "$streetlights01"}
  },

  // National fast road
  {
    "id":"$devroad01",
    "dev":true,
    "type":"road",
    "pickable": false,
    "level":1,
    "frames": [
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 992, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024}
    ],
    "bridge frames":[
      {"x":512,"y":96,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":96,"w":32,"h":48,"count":4},
      {"x":768,"y":96,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":144,"w":32,"h":48,"count":4},
      {"x":768,"y":144,"w":32,"h":48,"count":4},
      {"x":896,"y":214,"w":32,"h":26,"count":4},

      {"x":512,"y":192,"w":32,"h":48,"count":12},
      {"x":896,"y":214,"w":32,"h":26,"count":4}
    ],
    "frames per bridge":16,
    "tunnel frames":[
      {"x":896,"y":192,"w":16,"h":19,"handle y":7},
      {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":928,"y":192,"w":16,"h":19,"handle y":7},
      {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":640,"y":301,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024},
      {"x":640,"y":326,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024}
    ],
    "bridge height":12,
    "draw ground": true,
    "speed":2.5,
    "one way":true,
    "price":1000,
    "deco": {"draft": "$streetlights03"}
  },

  // National highway
  {
    "id":"$devroad02",
    "dev":true,
    "type":"road",
    "pickable": false,
    "level":3,
    "frames": [
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024},
      {"x": 512, "y": 1008, "w": 32, "h": 16, "count": 16, "offset x": 3072, "offset y": 1024}
    ],
    "bridge frames": [
      {"x": 704, "y": 946, "w": 32, "h": 30, "count": 4, "offset x": 3072, "offset y": 1024},
      {"x": 768, "y": 911, "w": 32, "h": 31, "count": 8, "offset x": 3072, "offset y": 1024},

      {"x": 704, "y": 946, "w": 32, "h": 30, "count": 4, "offset x": 3072, "offset y": 1024},
      {"x": 768, "y": 911, "w": 32, "h": 31, "count": 4, "offset x": 3072, "offset y": 1024},
      {"x":896,"y":880,"w":32,"h":30,"count":4,"offset x":3072,"offset y":1024}
    ],
    "frames per bridge":12,
    "tunnel frames":[
      {"x":896,"y":192,"w":16,"h":19,"handle y":7},
      {"x":912,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":928,"y":192,"w":16,"h":19,"handle y":7},
      {"x":944,"y":192,"w":16,"h":19,"handle x":-16,"handle y":7},
      {"x":640,"y":301,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024},
      {"x":640,"y":326,"w":32,"h":25,"count":4,"offset x":2048,"offset y":1024}
    ],
    "bridge height":12,
    "pile distant":0,
    "speed":5.0,
    "allow bus stop":false,
    "allow transfer":true,
    "one way":true,
    "allow crossing":false,
    "width":2,
    "price":1000,
    "auto join":false,
    "flag tractor":false,
    "max level": 5,
    "deco": [
      {"id": "$streetlights01_one_reverse", "stride": 0, "dirs":  5, "step x": 2, "step y": 1},
      {"id": "$streetlights01_one_reverse", "stride": 0, "dirs": 10, "step x": 1, "step y": 2}
    ]
  }
]