{
  "$schema": "./level.schema.json",
  "version": 2,
  "fluidDamagePerSecond": 40,
  "materials": [
    {"id": "wall", "builtin": "steel"},
    {"id": "tank", "builtin": "teal"},
    {"id": "gate", "builtin": "hazard"},
    {"id": "plinth", "builtin": "concrete"}
  ],
  "botMaterials": {"constructor": {"robot_joint": "wall"}, "runner": {"robot_joint": "wall"}},
  "player": {"position": [0, 4.55, -11], "yaw": 0},
  "sun": {"direction": [0.4, 0.72, 0.6], "radiance": [5.5, 4.7, 3.9], "ambient": 2},
  "render": {"exposure": 1.15, "contrast": 0.05, "saturation": 0.12, "bloom_strength": 0.65, "fog_density": 0.003},
  "lights": [
    {"position": [-11, 6.5, 0], "radius": 8, "radiance": [20, 4, 0.5]},
    {"position": [11, 6.5, 9], "radius": 8, "radiance": [1, 6, 20]},
    {"position": [8, 7.4, 0], "radius": 5, "radiance": [0.6, 9, 6]}
  ],
  "pickups": [
    {"kind": "ammo", "position": [0, 4.55, -10]},
    {"kind": "grenade", "position": [2, 4.55, -8]}
  ],
  "brushes": [
    {"op": "add", "shape": "box", "center": [0, 6, 3], "size": [13, 4, 1.5], "material": "wall"},
    {"op": "subtract", "shape": "box", "center": [0, 5.5, 3], "size": [3, 3.5, 3]},
    {"op": "add", "shape": "cylinder", "center": [8, 5.5, 0], "radius": 2.8, "height": 3, "material": "tank"},
    {"op": "subtract", "shape": "cylinder", "center": [8, 6.1, 0], "radius": 2.3, "height": 3.2},
    {"op": "add", "shape": "box", "center": [-12, 6.5, 0], "size": [1, 5, 8], "material": "gate"},
    {"op": "subtract", "shape": "box", "center": [-12, 5.8, 0], "size": [2, 4, 5]},
    {"op": "add", "shape": "box", "center": [12, 6.5, 9], "size": [1, 5, 8], "material": "gate"},
    {"op": "subtract", "shape": "box", "center": [12, 5.8, 9], "size": [2, 4, 5]},
    {"op": "add", "shape": "box", "center": [-5, 4.8, -4], "size": [3, 1.6, 1.4], "yaw": 25, "material": "plinth"}
  ],
  "fluids": [
    {"shape": "cylinder", "bottom": [8, 4.6, 0], "radius": 2, "height": 2}
  ],
  "gates": [
    {"id": "west", "floor": [-12, 4, 0], "size": [4, 4, 4], "yaw": 90},
    {"id": "east", "floor": [12, 4, 9], "size": [4, 4, 4], "yaw": -90}
  ],
  "waves": [
    {"delayTicks": 120, "groups": [
      {"gate": "west", "enemy": "constructor", "count": 3, "intervalTicks": 60},
      {"gate": "east", "enemy": "constructor", "count": 3, "intervalTicks": 60}
    ]},
    {"afterDefeats": 4, "delayTicks": 180, "groups": [
      {"gate": "west", "enemy": "runner", "count": 2, "intervalTicks": 90}
    ]}
  ]
}
