[
  {
    "id": "$fence_real00",
    "type": "fence",
    "frames": [
      {"x": 40,"y": 352,"w": 16,"h": 16,"count": 2,"handle y":8},
      {"x": 884,"y": 334,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 901,"y": 334,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 919,"y": 334,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 937,"y": 334,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024}
    ],
    "price": 100
  },
  {
    "id": "$fence_real01",
    "type": "fence",
    "frames": [
      {"x": 768,"y": 944,"w": 16,"h": 16,"count": 2,"handle y":8},
      {"x": 954,"y": 332,"w": 17,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 971,"y": 332,"w": 18,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 989,"y": 332,"w": 18,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 1007,"y": 332,"w": 17,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024}
    ],
    "price": 100
  },
  {
    "id": "$fence_real02",
    "type": "fence",
    "frames": [
      {"x": 800,"y": 944,"w": 16,"h": 16,"count": 2,"handle y":8},
      {"x": 954,"y": 355,"w": 17,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 971,"y": 355,"w": 18,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 989,"y": 355,"w": 18,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 1007,"y": 355,"w": 17,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024}
    ],
    "price": 100
  },
  {
    "id": "$fence_real03",
    "type": "fence",
    "frames": [
      {"x": 768,"y": 960,"w": 16,"h": 16,"count": 2,"handle y":8},
      {"x": 884,"y": 334,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 901,"y": 334,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 919,"y": 334,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 937,"y": 334,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024}
    ],
    "price": 100
  },
  {
    "id": "$fence_real04",
    "type": "fence",
    "frames": [
      {"x": 800,"y": 960,"w": 16,"h": 16,"count": 2,"handle y":8},
      {"x": 884,"y": 358,"w": 17,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 901,"y": 358,"w": 18,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 919,"y": 358,"w": 18,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024},
      {"x": 937,"y": 358,"w": 17,"h": 23, "handle y": 15,"offset x": 2048,"offset y": 1024}
    ],
    "price": 100
  },
  {
    "id": "$fence_real05",
    "type": "fence",
    "frames": [
      {"x": 768,"y": 976,"w": 16,"h": 16,"count": 2,"handle y":8},
      {"x": 814,"y": 334,"w": 17,"h": 22, "handle y": 14,"offset x": 2048,"offset y": 1024},
      {"x": 831,"y": 334,"w": 18,"h": 22, "handle y": 14,"offset x": 2048,"offset y": 1024},
      {"x": 849,"y": 334,"w": 18,"h": 22, "handle y": 14,"offset x": 2048,"offset y": 1024},
      {"x": 867,"y": 334,"w": 17,"h": 22, "handle y": 14,"offset x": 2048,"offset y": 1024}
    ],
    "price": 100
  },
  {
    "id": "$fence_real06",
    "type": "fence",
    "frames": [
      {"x": 800,"y": 976,"w": 16,"h": 16,"count": 2,"handle y":8},
      {"x": 814,"y": 356,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 831,"y": 356,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 849,"y": 356,"w": 18,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024},
      {"x": 867,"y": 356,"w": 17,"h": 24, "handle y": 16,"offset x": 2048,"offset y": 1024}
    ],
    "price": 100
  },


  {
    "id":"$template_fence00",
    "type":"template",
    "width":1,
    "height":1,
    "draw ground":true,
    "frames":[{"x":0,"y":0,"w":0,"h":0,"copies":15}],
    "frame alignment":true,
    "price":100,
    "category": "$cat_fence00",
    "frame animation indices":[
      [1,2,0,3],[0],[1],[1,0],
      [2],[2,0],[2,1],[2,1,0],
      [3],[3,0],[1,3],[1,3,0],
      [2,3],[2,3,0],[2,1,3],[2,1,3,0]
    ],
    "supports terrain": true},

  {"id":"$anim_fence00_00","type":"animation","frames":[{"x":352,"y":112,"w":16,"h":16,"handle x":0,"handle y":8,"offset y":3072}]},
  {"id":"$anim_fence00_01","type":"animation","frames":[{"x":368,"y":112,"w":16,"h":16,"handle x":-16,"handle y":8,"offset y":3072}]},
  {"id":"$anim_fence00_02","type":"animation","frames":[{"x":384,"y":112,"w":16,"h":16,"handle x":0,"handle y":8,"offset y":3072}]},
  {"id":"$anim_fence00_03","type":"animation","frames":[{"x":400,"y":112,"w":16,"h":16,"handle x":-16,"handle y":8,"offset y":3072}]},
  {
    "id":"$fence00",
    "type":"decoration",
    "template":"$template_fence00",
    "animation":[
      {"id":"$anim_fence00_01"},
      {"id":"$anim_fence00_03"},
      {"id":"$anim_fence00_00"},
      {"id":"$anim_fence00_02"}
    ]
  },

  {"id":"$anim_fence01_00","type":"animation","frames":[{"x":448,"y":112,"w":16,"h":16,"handle x":0,"handle y":8,"offset y":3072}]},
  {"id":"$anim_fence01_01","type":"animation","frames":[{"x":464,"y":112,"w":16,"h":16,"handle x":-16,"handle y":8,"offset y":3072}]},
  {"id":"$anim_fence01_02","type":"animation","frames":[{"x":480,"y":112,"w":16,"h":16,"handle x":0,"handle y":8,"offset y":3072}]},
  {"id":"$anim_fence01_03","type":"animation","frames":[{"x":496,"y":112,"w":16,"h":16,"handle x":-16,"handle y":8,"offset y":3072}]},
  {
    "id":"$fence01",
    "type":"decoration",
    "template":"$template_fence00",
    "animation":[
      {"id":"$anim_fence01_01"},
      {"id":"$anim_fence01_03"},
      {"id":"$anim_fence01_00"},
      {"id":"$anim_fence01_02"}
    ]
  },

  // New fences by Pluc
  {
  "id": "$fence_tallwooden00",
  "type": "fence",
  "frames": [
    {"x": 704, "y": 114, "w": 16, "h": 13, "handle y": 5, "count": 2, "offset x": 1024, "offset y": 2048},
    {"x": 736, "y": 138, "w": 16, "h": 25, "handle x": -1, "handle y": 17, "offset x": 1024, "offset y": 2048},
    {"x": 752, "y": 138, "w": 16, "h": 25, "handle x": -2, "handle y": 17, "offset x": 1024, "offset y": 2048},
    {"x": 768, "y": 138, "w": 16, "h": 25, "handle y": 17, "offset x": 1024, "offset y": 2048},
    {"x": 784, "y": 138, "w": 16, "h": 25, "handle y": 17, "offset x": 1024, "offset y": 2048}
  ],
  "price": 100
},
  {
    "id": "$fence_chainlink00",
    "type": "fence",
    "frames": [
      {"x": 704, "y": 127, "w": 16, "h": 13, "handle y": 5, "count": 2, "offset x": 1024, "offset y": 2048},
      {"x": 736, "y": 163, "w": 16, "h": 24, "handle x": -1, "handle y": 17, "offset x": 1024, "offset y": 2048},
      {"x": 752, "y": 163, "w": 16, "h": 24, "handle x": -2, "handle y": 17, "offset x": 1024, "offset y": 2048},
      {"x": 768, "y": 163, "w": 16, "h": 24, "handle y": 17, "offset x": 1024, "offset y": 2048},
      {"x": 784, "y": 163, "w": 16, "h": 24, "handle y": 17, "offset x": 1024, "offset y": 2048}
    ],
    "price": 100
  },
  {
    "id": "$fence_metalrailing00",
    "type": "fence",
    "frames": [
      {"x": 704, "y": 140, "w": 16, "h": 9, "handle y": 1, "count": 2, "offset x": 1024, "offset y": 2048},
      {"x": 736, "y": 187, "w": 16, "h": 20, "handle x": -1, "handle y": 13, "offset x": 1024, "offset y": 2048},
      {"x": 752, "y": 187, "w": 16, "h": 20, "handle x": -2, "handle y": 13, "offset x": 1024, "offset y": 2048},
      {"x": 768, "y": 187, "w": 16, "h": 20, "handle y": 13, "offset x": 1024, "offset y": 2048},
      {"x": 784, "y": 187, "w": 16, "h": 20, "handle y": 13, "offset x": 1024, "offset y": 2048}
    ],
    "price": 100
  },
  {
    "id": "$fence_guardrail00",
    "type": "fence",
    "frames": [
      {"x": 704, "y": 149, "w": 16, "h": 10, "handle y": 2, "count": 2, "offset x": 1024, "offset y": 2048},
      {"x": 736, "y": 207, "w": 16, "h": 21, "handle x": -1, "handle y": 13, "offset x": 1024, "offset y": 2048},
      {"x": 752, "y": 207, "w": 16, "h": 21, "handle x": -2, "handle y": 13, "offset x": 1024, "offset y": 2048},
      {"x": 768, "y": 207, "w": 16, "h": 21, "handle y": 13, "offset x": 1024, "offset y": 2048},
      {"x": 784, "y": 207, "w": 16, "h": 21, "handle y": 13, "offset x": 1024, "offset y": 2048}
    ],
    "price": 100
  }
]