{
  "camera_zoom_max": 0,
  "fog_end": 500,
  "spawn": {
    "position_y": 14
  },
  "paths": [
    {
      "id": "left",
      "end": "warp",
      "speed": 2,
      "points": [
        {
          "position_x": -500
        },
        {
          "event_todo": [
            {
              "stat": "position_z",
              "random_max": 360,
              "set": true,
              "value": -400
            }
          ],
          "position_x": 500
        }
      ]
    },
    {
      "id": "right",
      "end": "warp",
      "speed": 2,
      "points": [
        {
          "position_x": -500
        },
        {
          "event_todo": [
            {
              "stat": "position_z",
              "random_max": 360,
              "set": true,
              "value": 40
            }
          ],
          "position_x": 500
        }
      ]
    }
  ],
  "characters": [
    {
      "id": "train",
      "base": true,
      "spawn": false,
      "entities": [
        {
          "id": "ground",
          "collision": false,
          "texture": "lavaleaf.png,.0666",
          "texture_x": 2,
          "vertex_colors": [0, 0.5, 0, 1],
          "vertices": [
            500, 0, -400,
            -500, 0, -400,
            -500, 0, 400,
            500, 0, 400
          ]
        },
        {
          "id": "wall_0",
          "attach_x": -30,
          "attach_y": 20,
          "attach_z": -10,
          "collision": false,
          "rotate_x": 90,
          "vertex_colors": [0.25, 0.25, 0.25, 1],
          "vertices": [
            20, 0, -10,
            -20, 0, -10,
            -20, 0, 10,
            20, 0, 10
          ]
        },
        {
          "id": "wall_1",
          "attach_x": 30,
          "attach_y": 20,
          "attach_z": -10,
          "collision": false,
          "rotate_x": 90,
          "vertex_colors": [0.25, 0.25, 0.25, 1],
          "vertices": [
            20, 0, -10,
            -20, 0, -10,
            -20, 0, 10,
            20, 0, 10
          ]
        },
        {
          "id": "wall_2",
          "attach_x": -30,
          "attach_y": 20,
          "attach_z": 10,
          "collision": false,
          "rotate_x": 270,
          "vertex_colors": [0.25, 0.25, 0.25, 1],
          "vertices": [
            20, 0, -10,
            -20, 0, -10,
            -20, 0, 10,
            20, 0, 10
          ]
        },
        {
          "id": "wall_3",
          "attach_x": 30,
          "attach_y": 20,
          "attach_z": 10,
          "collision": false,
          "rotate_x": 270,
          "vertex_colors": [0.25, 0.25, 0.25, 1],
          "vertices": [
            20, 0, -10,
            -20, 0, -10,
            -20, 0, 10,
            20, 0, 10
          ]
        }
      ]
    }
  ],
  "prefabs": [
    {
      "type": "webgl_primitive_stars",
      "properties": {
        "prefix": "stars",
        "groups": ["skybox"],
        "height_limit": 0.49,
        "stars": 1000
      }
    },
    {
      "type": "webgl_primitive_ellipsoid",
      "properties": {
        "prefix": "skybox",
        "color_bottom0": [0, 0, 0, 0],
        "color_bottom1": [0, 0, 0.1, 0.9],
        "color_top0": [0, 0, 0, 1],
        "color_top1": [0, 0, 0, 1],
        "groups": ["skybox"],
        "position_y": 5,
        "radius_x": -99,
        "radius_y": -99,
        "radius_z": -99,
        "slices_latitude": 9,
        "slices_longitude": 2
      }
    },
    {
      "type": "webgl_primitive_cuboid",
      "properties": {
        "prefix": "train",
        "all": {
          "vertex_colors": [0.2, 0.2, 0.2, 1]
        },
        "back": {
          "draw": false
        },
        "front": {
          "draw": false
        },
        "position_y": 20,
        "size_x": -100,
        "size_y": -20,
        "size_z": -20
      }
    },
    {
      "type": "webgl_prefab_repeat",
      "properties": {
        "prefix": "tree_left",
        "characters": {
          "level": 0,
          "path_id": "left",
          "path_point": 1
        },
        "count": 50,
        "properties": {
          "billboard": true,
          "height": 20,
          "height_range": 35,
          "width_base": 10,
          "width_leaf": 25
        },
        "type": "prefabs_webgl_tree_2d",
        "x_max": 497,
        "x_min": -497,
        "z_max": -40,
        "z_min": -400
      }
    },
    {
      "type": "webgl_prefab_repeat",
      "properties": {
        "prefix": "tree_right",
        "characters": {
          "level": 0,
          "path_id": "right",
          "path_point": 1
        },
        "count": 50,
        "properties": {
          "billboard": true,
          "height": 20,
          "height_range": 35,
          "width_base": 10,
          "width_leaf": 25
        },
        "type": "prefabs_webgl_tree_2d",
        "x_max": 497,
        "x_min": -497,
        "z_max": 400,
        "z_min": 40
      }
    }
  ]
}
