{
  "mapObjects": [
    {
      "id": "01JGFJK3W80FJCB5TZTJ49J3BT",
      "ref": "adamantine-vein",
      "name": "Adamantine Vein",
      "description": "An impenetrable adamantine deposit with razor edged crystalline facets",
      "type": "resource_node",
      "sub_kind": "adamantine_ore",
      "img": "/assets/mapdb/metal/adamantine/adamantine_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 8500,
      "harvest_yield": 6,
      "max_amount": 150,
      "initial_amount": 150,
      "spawn_weight": 0.05,
      "spawn_count": 4,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Adamantine Vein"
    },
    {
      "id": "01KPTS5CHAZTHAZEJ7FG7ZHMCJ",
      "ref": "barracks",
      "name": "Barracks",
      "description": "A fortified hall with timber-framed upper story, tiled roof, and a heraldic insignia over the door. Recruits soldiers, crafts arrows, heals the wounded.",
      "type": "building",
      "sub_kind": "barracks",
      "interactable": true,
      "destructible": true,
      "max_health": 400,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 40,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 3
        },
        {
          "resource_type": "stone-block",
          "amount": 3
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "healing",
          "priority": 2,
          "capacity": 0
        },
        {
          "kind": "sleep",
          "priority": 0,
          "capacity": 5
        },
        {
          "kind": "food",
          "priority": 1,
          "capacity": 0
        }
      ],
      "recipes": [
        {
          "inputs": [
            {
              "item_ref": "wood-log",
              "amount": 1
            },
            {
              "item_ref": "cacti-needle",
              "amount": 1
            },
            {
              "item_ref": "stone",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "arrow",
              "amount": 10
            }
          ],
          "cycle_secs": 18,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "arrow",
          "floor": 20
        }
      ],
      "population_spawn": {
        "spawn_entity_ref": "soldier",
        "cadence_turns": 3,
        "cost_per_spawn": {
          "item_ref": "coin",
          "amount": 10
        },
        "storage_cap": 50
      },
      "upgrade_chain": {
        "tiers": [
          {
            "next_def_ref": "keep",
            "costs": [
              {
                "item_ref": "timber",
                "amount": 6
              },
              {
                "item_ref": "stone-block",
                "amount": 12
              }
            ]
          },
          {
            "next_def_ref": "castle",
            "costs": [
              {
                "item_ref": "timber",
                "amount": 10
              },
              {
                "item_ref": "stone-block",
                "amount": 24
              },
              {
                "item_ref": "gold-bar",
                "amount": 20
              }
            ]
          }
        ]
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Barracks"
    },
    {
      "id": "01KVV0AF8RDMV29GQY5CKT18FP",
      "ref": "campfire",
      "name": "Campfire",
      "description": "A placed campfire — blocks its tile, warms the ring around it, and burns anything forced onto the embers.",
      "type": "prop",
      "sub_kind": "campfire",
      "img": "/assets/arcade/arpg/environment/hazards/campfire/campfire-Sheet.png",
      "interactable": false,
      "destructible": false,
      "blocks_movement": true,
      "credits": "Campfire sprite by Rodwan - https://rodwan.itch.io/isometric-asset-campfire\n",
      "drafted": false,
      "placed_effects": [
        {
          "status": "regen",
          "magnitude": 3,
          "period_ticks": 20,
          "range": 2
        },
        {
          "status": "burning",
          "magnitude": 8,
          "period_ticks": 20,
          "range": 0
        }
      ],
      "pixels_per_unit": 16,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Campfire"
    },
    {
      "id": "01KW1TG5WKB7VXY9F7X1NHA5TP",
      "ref": "candelabrum",
      "name": "Candelabrum Stand",
      "description": "A placed floor candelabrum — blocks its tile and steadies the mana of anyone in its candlelight ring.",
      "type": "prop",
      "sub_kind": "candelabrum",
      "img": "/assets/arcade/arpg/environment/lightsources/candelabrum-stand/Anim_Infernus_Lightsources_1.png",
      "interactable": false,
      "destructible": false,
      "blocks_movement": true,
      "credits": "Candelabrum Stand artwork by Infernus PVGames\n",
      "drafted": false,
      "placed_effects": [
        {
          "status": "mana_regen",
          "magnitude": 2,
          "period_ticks": 20,
          "range": 2
        }
      ],
      "pixels_per_unit": 16,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Candelabrum Stand"
    },
    {
      "id": "01KPTS5CHATHAX6Z8XFNC5X88J",
      "ref": "capital",
      "name": "Capital",
      "description": "The seat of the empire — a 7-hex flower of walls, banners, and the king's hall. Bootstraps an entire civilization from a single scroll.",
      "type": "building",
      "sub_kind": "capital",
      "interactable": true,
      "destructible": true,
      "max_health": 600,
      "footprint_width": 3,
      "footprint_height": 3,
      "blocks_placement": true,
      "construction_time_secs": 0,
      "build_costs": [
        {
          "resource_type": "capital-land-grant",
          "amount": 1
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": true,
      "requires_in_territory": false,
      "footprint_shape": "hex_flower",
      "cost_source": "owner_inventory",
      "services": [
        {
          "kind": "food",
          "priority": 3,
          "capacity": 0
        },
        {
          "kind": "sleep",
          "priority": 0,
          "capacity": 255
        }
      ],
      "territory": {
        "radius": 4
      },
      "recipes": [
        {
          "inputs": [
            {
              "item_ref": "wood-log",
              "amount": 1
            },
            {
              "item_ref": "cacti-needle",
              "amount": 1
            },
            {
              "item_ref": "stone",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "arrow",
              "amount": 10
            }
          ],
          "cycle_secs": 18,
          "pulls_from_treasury": false
        },
        {
          "inputs": [
            {
              "item_ref": "leaves",
              "amount": 2
            },
            {
              "item_ref": "branches",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "compost",
              "amount": 1
            }
          ],
          "cycle_secs": 2,
          "pulls_from_treasury": false
        }
      ],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Capital"
    },
    {
      "id": "01KPY32HFZ3RA1QZH2SXYYZ5J2",
      "ref": "castle",
      "name": "Castle",
      "description": "Wide curtain wall, twin flanking towers, multi-tier central keep with watchtower, four torches, and a grand banner — Barracks tier 2, capital of war.",
      "type": "building",
      "sub_kind": "castle",
      "interactable": true,
      "destructible": true,
      "max_health": 900,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 0,
      "build_costs": [],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "healing",
          "priority": 4,
          "capacity": 0
        },
        {
          "kind": "sleep",
          "priority": 0,
          "capacity": 20
        },
        {
          "kind": "food",
          "priority": 3,
          "capacity": 0
        }
      ],
      "recipes": [
        {
          "inputs": [
            {
              "item_ref": "wood-log",
              "amount": 1
            },
            {
              "item_ref": "cacti-needle",
              "amount": 1
            },
            {
              "item_ref": "stone",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "arrow",
              "amount": 20
            }
          ],
          "cycle_secs": 14,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "arrow",
          "floor": 50
        }
      ],
      "population_spawn": {
        "spawn_entity_ref": "soldier",
        "cadence_turns": 1,
        "cost_per_spawn": {
          "item_ref": "coin",
          "amount": 18
        },
        "storage_cap": 120
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Castle"
    },
    {
      "id": "01K77XRVXZCQP3Z9KG8KNX91GE",
      "ref": "coal-vein",
      "name": "Coal Vein",
      "description": "A compressed seam of coal embedded within stratified shale",
      "type": "resource_node",
      "sub_kind": "coal",
      "img": "/assets/mapdb/stone/coal/coal_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 3500,
      "harvest_yield": 8,
      "max_amount": 160,
      "initial_amount": 160,
      "spawn_weight": 0.35,
      "spawn_count": 18,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Coal Vein"
    },
    {
      "id": "01K77XRVXYKWCDZQ369V21B3CV",
      "ref": "cobalt-vein",
      "name": "Cobalt Vein",
      "description": "A rare cobalt ore vein threaded with luminescent blue crystals",
      "type": "resource_node",
      "sub_kind": "cobalt_ore",
      "img": "/assets/mapdb/metal/cobalt/cobalt_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 5500,
      "harvest_yield": 4,
      "max_amount": 90,
      "initial_amount": 90,
      "spawn_weight": 0.12,
      "spawn_count": 6,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Cobalt Vein"
    },
    {
      "id": "01K6VMX51PRY6G9PD8WVGY5T5W",
      "ref": "copper-vein",
      "name": "Copper Vein",
      "description": "A rich copper ore deposit embedded in rocky terrain",
      "type": "resource_node",
      "sub_kind": "copper_ore",
      "img": "/assets/mapdb/metal/copper/copper_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 4000,
      "harvest_yield": 3,
      "max_amount": 75,
      "initial_amount": 75,
      "spawn_weight": 0.25,
      "spawn_count": 15,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Copper Vein"
    },
    {
      "id": "01KPTS5CHA6912A2RTMRV442ZD",
      "ref": "dock",
      "name": "Dock",
      "description": "Wooden pilings rising from the river, planked deck, fisherman's shack with a lantern. River-only — passive fishing plus boat construction when a Craftsman is on duty.",
      "type": "building",
      "sub_kind": "dock",
      "interactable": true,
      "destructible": true,
      "max_health": 180,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 20,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 2
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "allowed_biomes": [
        17
      ],
      "spawns_fully_built": false,
      "requires_in_territory": false,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "food",
          "priority": 1,
          "capacity": 0
        }
      ],
      "tender": {
        "profession_ref": "craftsman",
        "footprint_radius": 0,
        "required": false
      },
      "passive_production": {
        "output_item_ref": "meat",
        "output_amount": 2,
        "cycle_secs": 20,
        "destination": "treasury"
      },
      "population_spawn": {
        "spawn_entity_ref": "fishing-boat",
        "cadence_turns": 2,
        "cost_per_spawn": {
          "item_ref": "timber",
          "amount": 1
        },
        "storage_cap": 0
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Dock"
    },
    {
      "id": "01KKR968Q45Y6XCSFTKS3XR2Q7",
      "ref": "dusty-bazaar",
      "name": "Dusty Bazaar",
      "description": "Trinkets and vials line crooked shelves. A merchant eyes you expectantly from behind a counter made of stacked crates.",
      "type": "npc_marker",
      "sub_kind": "merchant",
      "interactable": true,
      "destructible": false,
      "max_health": 400,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shop",
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Dusty Bazaar"
    },
    {
      "id": "01KKR968Q3E3325YXY090Z03D1",
      "ref": "dwarven-outpost",
      "name": "Dwarven Outpost",
      "description": "Sturdy stone buildings cluster around a central well. The smell of cooking drifts from a tavern doorway and hammer strikes ring from a smithy.",
      "type": "settlement",
      "sub_kind": "city",
      "interactable": true,
      "destructible": false,
      "max_health": 1200,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shop",
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Dwarven Outpost"
    },
    {
      "id": "01KKR968Q3801YCR495T6MT1WW",
      "ref": "ember-hearth",
      "name": "Ember Hearth",
      "description": "An ancient fireplace still burns with pale blue flame. No fuel feeds it, yet it has burned since before anyone can remember.",
      "type": "prop",
      "sub_kind": "shrine",
      "interactable": true,
      "destructible": false,
      "max_health": 600,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shrine",
      "shrine": {
        "cadence_turns": 5,
        "reward_coin": 15,
        "reward_items": [],
        "territory_active": true,
        "king_visit_active": true
      },
      "aura": {
        "radius": 3,
        "bonus_kind": "morale",
        "multiplier": 1
      },
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Ember Hearth"
    },
    {
      "id": "01KPTS5CHACVAEV4RM5ZJR0854",
      "ref": "farm",
      "name": "Farm",
      "description": "A tilled plot with a timber-framed barn — the empire's cornerstone for food. Requires a Farmer on the footprint to turn compost into carrots.",
      "type": "building",
      "sub_kind": "farm",
      "interactable": true,
      "destructible": true,
      "max_health": 200,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 15,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 1
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "food",
          "priority": 2,
          "capacity": 0
        }
      ],
      "tender": {
        "profession_ref": "farmer",
        "footprint_radius": 1,
        "required": true
      },
      "recipes": [
        {
          "inputs": [
            {
              "item_ref": "compost",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "carrot",
              "amount": 1
            }
          ],
          "cycle_secs": 8,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "carrot",
          "floor": 8
        },
        {
          "item_ref": "egg",
          "floor": 0
        },
        {
          "item_ref": "milk",
          "floor": 0
        },
        {
          "item_ref": "wool",
          "floor": 0
        },
        {
          "item_ref": "meat",
          "floor": 0
        }
      ],
      "upgrade_chain": {
        "tiers": [
          {
            "next_def_ref": "village",
            "costs": [
              {
                "item_ref": "timber",
                "amount": 10
              },
              {
                "item_ref": "stone-block",
                "amount": 4
              }
            ]
          }
        ]
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Farm"
    },
    {
      "id": "01KPTS5CHAME66QTQYAN71RQ7M",
      "ref": "furnace",
      "name": "Furnace",
      "description": "A kiln of stacked stone with a brick chimney belching heat. Smelts ore into ingots and stone into brick whenever it's fed fuel.",
      "type": "building",
      "sub_kind": "furnace",
      "crafting_station_type": "furnace",
      "interactable": true,
      "destructible": true,
      "max_health": 300,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 35,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 2
        },
        {
          "resource_type": "stone-block",
          "amount": 4
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "recipes": [
        {
          "inputs": [
            {
              "item_ref": "iron-ore",
              "amount": 1
            },
            {
              "item_ref": "coal",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "iron-ingot",
              "amount": 1
            }
          ],
          "cycle_secs": 6,
          "pulls_from_treasury": false
        },
        {
          "inputs": [
            {
              "item_ref": "stone",
              "amount": 2
            },
            {
              "item_ref": "coal",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "brick",
              "amount": 1
            }
          ],
          "cycle_secs": 5,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "iron-ingot",
          "floor": 0
        },
        {
          "item_ref": "brick",
          "floor": 0
        }
      ],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Furnace"
    },
    {
      "id": "01KPTS5CHAHVG40ZKW3CK7ZSD7",
      "ref": "goblin-cave",
      "name": "Goblin Cave",
      "description": "A mossy rock mound hiding a torch-lit archway. Feed it food and it spits out more goblins.",
      "type": "building",
      "sub_kind": "goblin_cave",
      "interactable": true,
      "destructible": true,
      "max_health": 350,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 30,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 1
        },
        {
          "resource_type": "stone-block",
          "amount": 5
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "population_spawn": {
        "spawn_entity_ref": "looter-goblin",
        "cadence_turns": 1,
        "cost_per_spawn": {
          "item_ref": "food",
          "amount": 50
        },
        "storage_cap": 200
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Goblin Cave"
    },
    {
      "id": "01K77XRVXZA6WBKCDRD8WHN44V",
      "ref": "gold-vein",
      "name": "Gold Vein",
      "description": "A gleaming gold vein encased in dense granite and pyrite inclusions",
      "type": "resource_node",
      "sub_kind": "gold_ore",
      "img": "/assets/mapdb/metal/gold/gold_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 7000,
      "harvest_yield": 3,
      "max_amount": 80,
      "initial_amount": 80,
      "spawn_weight": 0.08,
      "spawn_count": 4,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Gold Vein"
    },
    {
      "id": "01KPTS5CHARHK7H654ZECCMQ3C",
      "ref": "inn",
      "name": "Inn",
      "description": "A half-timbered tavern with warm-glow windows and a tiled roof. Feeds travellers, houses the weary, keeps the fire going no matter the hour.",
      "type": "building",
      "sub_kind": "inn",
      "interactable": true,
      "destructible": true,
      "max_health": 280,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 30,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 3
        },
        {
          "resource_type": "stone-block",
          "amount": 2
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "food",
          "priority": 1,
          "capacity": 0
        },
        {
          "kind": "sleep",
          "priority": 0,
          "capacity": 5
        }
      ],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Inn"
    },
    {
      "id": "01K6VCVSRH21PSEXJKSGRC1JYG",
      "ref": "iron-vein",
      "name": "Iron Vein",
      "description": "A dense iron ore deposit with rich metallic veins running through granite",
      "type": "resource_node",
      "sub_kind": "iron_ore",
      "img": "/assets/mapdb/metal/iron/iron_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 6000,
      "harvest_yield": 5,
      "max_amount": 125,
      "initial_amount": 125,
      "spawn_weight": 0.15,
      "spawn_count": 8,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Iron Vein"
    },
    {
      "id": "01JGFJK0YG1DQWMN778BSG7F7M",
      "ref": "jade-crystal",
      "name": "Jade Crystal",
      "description": "A verdant jade crystal pillar infused with restorative earth energies",
      "type": "resource_node",
      "sub_kind": "jade",
      "img": "/assets/mapdb/stone/jade/jade_crystal.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 4000,
      "harvest_yield": 3,
      "max_amount": 65,
      "initial_amount": 65,
      "spawn_weight": 0.18,
      "spawn_count": 14,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Jade Crystal"
    },
    {
      "id": "01KPY32HFZ1YMEMT3BFENYRT5N",
      "ref": "keep",
      "name": "Keep",
      "description": "Curtain wall with crenellations, twin corner towers, and a central keep tower — Barracks tier 1. Garrison hub.",
      "type": "building",
      "sub_kind": "keep",
      "interactable": true,
      "destructible": true,
      "max_health": 620,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 0,
      "build_costs": [],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "healing",
          "priority": 3,
          "capacity": 0
        },
        {
          "kind": "sleep",
          "priority": 0,
          "capacity": 10
        },
        {
          "kind": "food",
          "priority": 2,
          "capacity": 0
        }
      ],
      "recipes": [
        {
          "inputs": [
            {
              "item_ref": "wood-log",
              "amount": 1
            },
            {
              "item_ref": "cacti-needle",
              "amount": 1
            },
            {
              "item_ref": "stone",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "arrow",
              "amount": 15
            }
          ],
          "cycle_secs": 16,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "arrow",
          "floor": 30
        }
      ],
      "population_spawn": {
        "spawn_entity_ref": "soldier",
        "cadence_turns": 2,
        "cost_per_spawn": {
          "item_ref": "coin",
          "amount": 14
        },
        "storage_cap": 80
      },
      "upgrade_chain": {
        "tiers": [
          {
            "next_def_ref": "castle",
            "costs": [
              {
                "item_ref": "timber",
                "amount": 10
              },
              {
                "item_ref": "stone-block",
                "amount": 24
              },
              {
                "item_ref": "gold-bar",
                "amount": 20
              }
            ]
          }
        ]
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Keep"
    },
    {
      "id": "01KPTS5CHAZKRDYDP6MR8Y2YNQ",
      "ref": "lumbercamp",
      "name": "Lumbercamp",
      "description": "A log cabin with stacked firewood, a chopping stump, and a steel axe buried in the block. Forest-only building — converts Lumberjack labour into logs.",
      "type": "building",
      "sub_kind": "lumbercamp",
      "interactable": true,
      "destructible": true,
      "max_health": 200,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 20,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 2
        },
        {
          "resource_type": "stone-block",
          "amount": 1
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "allowed_biomes": [
        2
      ],
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "tender": {
        "profession_ref": "lumberjack",
        "footprint_radius": 0,
        "required": true
      },
      "recipes": [
        {
          "outputs": [
            {
              "item_ref": "wood-log",
              "amount": 1
            }
          ],
          "cycle_secs": 3,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "wood-log",
          "floor": 0
        }
      ],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Lumbercamp"
    },
    {
      "id": "01KKR968Q3C5RBNQF0H3HV17ZN",
      "ref": "luminous-alcove",
      "name": "Luminous Alcove",
      "description": "A warm glow emanates from a shrine embedded in the wall. The air feels lighter here, and wounds seem to close on their own.",
      "type": "prop",
      "sub_kind": "shrine",
      "interactable": true,
      "destructible": false,
      "max_health": 500,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shrine",
      "shrine": {
        "cadence_turns": 4,
        "reward_coin": 0,
        "reward_items": [
          {
            "item_ref": "herb",
            "amount": 2
          }
        ],
        "territory_active": true,
        "king_visit_active": true
      },
      "aura": {
        "radius": 3,
        "bonus_kind": "healing",
        "multiplier": 1
      },
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Luminous Alcove"
    },
    {
      "id": "01KPTS5CHAPAK4KYSQKVKJYB5K",
      "ref": "market",
      "name": "Market",
      "description": "An open wooden stall with a striped canvas awning and a trestle table of goods. First rung of a three-tier commerce chain — Market → Trade House → Merchants Guild.",
      "type": "building",
      "sub_kind": "market",
      "interactable": true,
      "destructible": true,
      "max_health": 140,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 20,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 2
        },
        {
          "resource_type": "stone-block",
          "amount": 1
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "merchant",
          "priority": 1,
          "capacity": 0
        }
      ],
      "upgrade_chain": {
        "tiers": [
          {
            "next_def_ref": "trade-house",
            "costs": [
              {
                "item_ref": "gold-bar",
                "amount": 5
              }
            ]
          },
          {
            "next_def_ref": "merchants-guild",
            "costs": [
              {
                "item_ref": "gold-bar",
                "amount": 50
              }
            ]
          }
        ]
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Market"
    },
    {
      "id": "01KPY32HFZZ01KT61BP7DGVC2S",
      "ref": "merchants-guild",
      "name": "Merchants Guild",
      "description": "Three-story stone guildhall with columned mezzanine, tiled hip roof, and a purple banner. Market tier 2, the peak of the commerce chain.",
      "type": "building",
      "sub_kind": "merchants_guild",
      "interactable": true,
      "destructible": true,
      "max_health": 340,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 0,
      "build_costs": [],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "merchant",
          "priority": 3,
          "capacity": 0
        }
      ],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Merchants Guild"
    },
    {
      "id": "01KPTS5CHAF80QS53R33ZZQN6K",
      "ref": "mining-pit",
      "name": "Mining Pit",
      "description": "A timber A-frame over a dark pit mouth with a rope-and-bucket rig hanging in the centre. Sand-biome only — converts Miner labour into stone.",
      "type": "building",
      "sub_kind": "mining_pit",
      "interactable": true,
      "destructible": true,
      "max_health": 220,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 20,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 3
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "allowed_biomes": [
        3
      ],
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "tender": {
        "profession_ref": "miner",
        "footprint_radius": 0,
        "required": true
      },
      "recipes": [
        {
          "outputs": [
            {
              "item_ref": "stone",
              "amount": 1
            }
          ],
          "cycle_secs": 3,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "stone",
          "floor": 0
        }
      ],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Mining Pit"
    },
    {
      "id": "01KKR968Q4NN0H3KDCJ4SYGC4T",
      "ref": "mirror-chamber",
      "name": "Mirror Chamber",
      "description": "Your reflection moves on its own. It beckons you closer, mimicking actions you haven't taken yet.",
      "type": "landmark",
      "sub_kind": "landmark",
      "interactable": true,
      "destructible": false,
      "max_health": 700,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shrine",
      "shrine": {
        "cadence_turns": 6,
        "reward_coin": 30,
        "reward_items": [],
        "territory_active": false,
        "king_visit_active": true
      },
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Mirror Chamber"
    },
    {
      "id": "01JGFJK2X0ESVHM04JRZ7NMDMZ",
      "ref": "mithril-vein",
      "name": "Mithril Vein",
      "description": "A shimmering mithril seam interwoven with ethereal silver-blue threads",
      "type": "resource_node",
      "sub_kind": "mithril_ore",
      "img": "/assets/mapdb/metal/mithril/mithril_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 6000,
      "harvest_yield": 4,
      "max_amount": 90,
      "initial_amount": 90,
      "spawn_weight": 0.1,
      "spawn_count": 7,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Mithril Vein"
    },
    {
      "id": "01KKR968Q3PR5VCDTZWC666CZP",
      "ref": "mushroom-bazaar",
      "name": "Mushroom Bazaar",
      "description": "Giant luminescent fungi provide light while merchants sell goods from stalls carved into massive stalks. A cozy inn glows warmly in the largest mushroom cap.",
      "type": "settlement",
      "sub_kind": "city",
      "interactable": true,
      "destructible": false,
      "max_health": 1000,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shop",
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Mushroom Bazaar"
    },
    {
      "id": "01KQ2WOYBMSI3R6MWOUO39Q8P5",
      "ref": "nd-tower-basic",
      "name": "Nexus Defense — Basic Tower",
      "description": "Starter defensive tower for Nexus Defense matches. Single-target arrow turret with modest range and damage; placed on the player's hex grid at match start.",
      "type": "building",
      "sub_kind": "nd_tower_basic",
      "interactable": false,
      "destructible": true,
      "max_health": 200,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 0,
      "build_costs": [
        {
          "resource_type": "gold",
          "amount": 60
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": true,
      "requires_in_territory": false,
      "footprint_shape": "rectangular",
      "cost_source": "owner_inventory",
      "ranged_attack": {
        "cooldown_secs": 0.4,
        "range": 140,
        "shots_per_volley": 1,
        "ammo_per_volley_cost": 0,
        "damage_per_shot": 18,
        "spread_half_angle_rad": 0,
        "projectile_speed": 320,
        "projectile_lifetime": 1.875,
        "projectile_ref": "nd-projectile-arrow",
        "ammo_capacity": 0
      },
      "pixels_per_unit": 16,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Nexus Defense — Basic Tower"
    },
    {
      "id": "01JCKH7M9K2XQZW3P4R5S6T7V8",
      "ref": "oak-tree",
      "name": "Oak Tree",
      "description": "A sturdy oak tree that provides wood when harvested",
      "type": "resource_node",
      "sub_kind": "oak",
      "img": "/assets/mapdb/tree/oak/oak_tree.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 2500,
      "harvest_yield": 5,
      "max_amount": 100,
      "initial_amount": 100,
      "spawn_weight": 0.4,
      "spawn_count": 50,
      "drafted": false,
      "pixels_per_unit": 25,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Oak Tree"
    },
    {
      "id": "01KPTS5CHA2Q7TXEABG26VJA9Y",
      "ref": "outpost",
      "name": "Outpost",
      "description": "A stone watchtower with a crenellated parapet, heraldic banner, and an arrow volley pool in the cellar. Anchors empire territory outside the Capital's radius.",
      "type": "building",
      "sub_kind": "outpost",
      "interactable": true,
      "destructible": true,
      "max_health": 220,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 30,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 2
        },
        {
          "resource_type": "stone-block",
          "amount": 2
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": false,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "food",
          "priority": 1,
          "capacity": 0
        },
        {
          "kind": "sleep",
          "priority": 0,
          "capacity": 10
        },
        {
          "kind": "healing",
          "priority": 1,
          "capacity": 0
        }
      ],
      "territory": {
        "radius": 5
      },
      "ranged_attack": {
        "cooldown_secs": 30,
        "range": 15,
        "shots_per_volley": 20,
        "ammo_per_volley_cost": 5,
        "damage_per_shot": 8,
        "spread_half_angle_rad": 0.52,
        "projectile_speed": 14,
        "projectile_lifetime": 3,
        "projectile_ref": "arrow",
        "ammo_capacity": 100
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Outpost"
    },
    {
      "id": "01KKR968Q4PT9FJDMFW7PZK87T",
      "ref": "prismatic-throne",
      "name": "The Prismatic Throne",
      "description": "An enormous chamber. At its center, a throne of living glass pulses with prismatic light. Something ancient awakens as you enter.",
      "type": "arena",
      "sub_kind": "boss_arena",
      "interactable": true,
      "destructible": false,
      "max_health": 1500,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "dungeon",
      "faction": "hostile",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "The Prismatic Throne"
    },
    {
      "id": "01KKR968Q35GKEGY6CWQW4SYN5",
      "ref": "quiet-spring",
      "name": "Quiet Spring",
      "description": "Clear water bubbles up from a crack in the stone. Its warmth is soothing and its touch heals wounds with unnatural speed.",
      "type": "resource_node",
      "sub_kind": "water",
      "interactable": true,
      "destructible": false,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Quiet Spring"
    },
    {
      "id": "01JCKH7M9K2XQZW3P4R5S6T7V9",
      "ref": "redwood-tree",
      "name": "Redwood Tree",
      "description": "A massive ancient redwood tree that provides abundant wood",
      "type": "resource_node",
      "sub_kind": "redwood",
      "img": "/assets/mapdb/tree/redwood/redwood_tree.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 4000,
      "harvest_yield": 10,
      "max_amount": 200,
      "initial_amount": 200,
      "spawn_weight": 0.2,
      "spawn_count": 25,
      "drafted": false,
      "pixels_per_unit": 25,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Redwood Tree"
    },
    {
      "id": "01JGFJJZ004YYK6HBZYQBRYQA9",
      "ref": "ruby-crystal",
      "name": "Ruby Crystal",
      "description": "A luminous ruby crystal cluster radiating intense heat and magical energy",
      "type": "resource_node",
      "sub_kind": "ruby",
      "img": "/assets/mapdb/stone/ruby/ruby_crystal.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 5000,
      "harvest_yield": 2,
      "max_amount": 60,
      "initial_amount": 60,
      "spawn_weight": 0.12,
      "spawn_count": 10,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Ruby Crystal"
    },
    {
      "id": "01K77XRVXZD0TANBNGTY28WTBZ",
      "ref": "salt-vein",
      "name": "Salt Vein",
      "description": "A crystalline salt vein crystallized within chalky limestone",
      "type": "resource_node",
      "sub_kind": "salt",
      "img": "/assets/mapdb/stone/salt/salt_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 3000,
      "harvest_yield": 7,
      "max_amount": 140,
      "initial_amount": 140,
      "spawn_weight": 0.28,
      "spawn_count": 14,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Salt Vein"
    },
    {
      "id": "01JGFJJZZ81C92ED5YECM6QJZ4",
      "ref": "sapphire-crystal",
      "name": "Sapphire Crystal",
      "description": "A serene sapphire crystal cluster humming with focused elemental water energy",
      "type": "resource_node",
      "sub_kind": "sapphire",
      "img": "/assets/mapdb/stone/sapphire/sapphire_crystal.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 4500,
      "harvest_yield": 2,
      "max_amount": 55,
      "initial_amount": 55,
      "spawn_weight": 0.14,
      "spawn_count": 12,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Sapphire Crystal"
    },
    {
      "id": "01KKR968Q4VXMSYYTZAXXE7AJE",
      "ref": "shattered-crown",
      "name": "The Shattered Crown",
      "description": "Fragments of a massive crystal orbit the room in slow arcs. Power radiates from within, ancient and terrible.",
      "type": "arena",
      "sub_kind": "boss_arena",
      "interactable": true,
      "destructible": false,
      "max_health": 1500,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "dungeon",
      "faction": "hostile",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "The Shattered Crown"
    },
    {
      "id": "01K77XRVXZRQ0M7DHJWAFA7NPD",
      "ref": "silver-vein",
      "name": "Silver Vein",
      "description": "A shimmering silver ore vein threaded through quartz-laced rock",
      "type": "resource_node",
      "sub_kind": "silver_ore",
      "img": "/assets/mapdb/metal/silver/silver_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 5000,
      "harvest_yield": 6,
      "max_amount": 110,
      "initial_amount": 110,
      "spawn_weight": 0.18,
      "spawn_count": 10,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Silver Vein"
    },
    {
      "id": "01KKR968Q1TR2VCZ17FSZPF1N7",
      "ref": "sunken-market",
      "name": "The Sunken Market",
      "description": "An underground market carved into ancient stone, lit by rows of flickering torches. Merchants hawk wares from hollowed alcoves while an inn sign creaks overhead.",
      "type": "settlement",
      "sub_kind": "city",
      "interactable": true,
      "destructible": false,
      "max_health": 1000,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shop",
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "The Sunken Market"
    },
    {
      "id": "01KKR968Q4DZJBW6RMZPNMRHQH",
      "ref": "the-still-pool",
      "name": "The Still Pool",
      "description": "A dark pool of water fills the center of the room. Its surface is perfectly still. Shapes move beneath, watching.",
      "type": "landmark",
      "sub_kind": "landmark",
      "interactable": true,
      "destructible": false,
      "max_health": 800,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shrine",
      "shrine": {
        "cadence_turns": 3,
        "reward_coin": 25,
        "reward_items": [
          {
            "item_ref": "herb",
            "amount": 3
          }
        ],
        "territory_active": true,
        "king_visit_active": true
      },
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "The Still Pool"
    },
    {
      "id": "01KPY32HFZGBKMW4EEEK573R59",
      "ref": "tower",
      "name": "Tower",
      "description": "Standalone defensive spire with stone shaft, parapet, crenellations, and a lit torch crown — scout vision and ranged deterrent.",
      "type": "building",
      "sub_kind": "tower",
      "interactable": true,
      "destructible": true,
      "max_health": 320,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 25,
      "build_costs": [
        {
          "resource_type": "timber",
          "amount": 2
        },
        {
          "resource_type": "stone-block",
          "amount": 4
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Tower"
    },
    {
      "id": "01KPY32HFZAKD3RK395HSN24NR",
      "ref": "trade-house",
      "name": "Trade House",
      "description": "Two-bay wooden hall with tiled roof and a counter of goods — Market tier 1. Upgrade from Market with 5 Gold Bars.",
      "type": "building",
      "sub_kind": "trade_house",
      "interactable": true,
      "destructible": true,
      "max_health": 220,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 0,
      "build_costs": [],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "merchant",
          "priority": 2,
          "capacity": 0
        }
      ],
      "upgrade_chain": {
        "tiers": [
          {
            "next_def_ref": "merchants-guild",
            "costs": [
              {
                "item_ref": "gold-bar",
                "amount": 50
              }
            ]
          }
        ]
      },
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Trade House"
    },
    {
      "id": "01JGFJK1XRK67CXHJ94TCJRGE5",
      "ref": "uranium-vein",
      "name": "Uranium Vein",
      "description": "A volatile uranium deposit pulsing with unstable green luminescence",
      "type": "resource_node",
      "sub_kind": "uranium_ore",
      "img": "/assets/mapdb/metal/uranium/uranium_vein.png",
      "interactable": true,
      "destructible": true,
      "harvest_time_ms": 7500,
      "harvest_yield": 4,
      "max_amount": 120,
      "initial_amount": 120,
      "spawn_weight": 0.08,
      "spawn_count": 6,
      "drafted": false,
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Uranium Vein"
    },
    {
      "id": "01KPY32HFZNNCJDF0CMR1XVXDP",
      "ref": "village",
      "name": "Village",
      "description": "Farm plot flanked by two cottages and a central well — Farm tier 1. Expanded food production plus faint population presence.",
      "type": "building",
      "sub_kind": "village",
      "interactable": true,
      "destructible": true,
      "max_health": 320,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 0,
      "build_costs": [],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [
        {
          "kind": "food",
          "priority": 3,
          "capacity": 0
        },
        {
          "kind": "sleep",
          "priority": 0,
          "capacity": 3
        }
      ],
      "tender": {
        "profession_ref": "farmer",
        "footprint_radius": 1,
        "required": true
      },
      "recipes": [
        {
          "inputs": [
            {
              "item_ref": "compost",
              "amount": 1
            }
          ],
          "outputs": [
            {
              "item_ref": "carrot",
              "amount": 2
            }
          ],
          "cycle_secs": 7,
          "pulls_from_treasury": false
        }
      ],
      "surplus": [
        {
          "item_ref": "carrot",
          "floor": 12
        },
        {
          "item_ref": "egg",
          "floor": 0
        },
        {
          "item_ref": "milk",
          "floor": 0
        },
        {
          "item_ref": "wool",
          "floor": 0
        },
        {
          "item_ref": "meat",
          "floor": 0
        }
      ],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Village"
    },
    {
      "id": "01KPY32HFZ3BHND77RG6YSWVPP",
      "ref": "wall",
      "name": "Wall",
      "description": "Stone rampart with crenellated top, central gate arch, and arrow slits — standalone barrier segment linking Towers or flanking a Keep.",
      "type": "building",
      "sub_kind": "wall",
      "interactable": true,
      "destructible": true,
      "max_health": 260,
      "footprint_width": 1,
      "footprint_height": 1,
      "blocks_placement": true,
      "construction_time_secs": 15,
      "build_costs": [
        {
          "resource_type": "stone-block",
          "amount": 5
        }
      ],
      "blocks_movement": true,
      "drafted": false,
      "spawns_fully_built": false,
      "requires_in_territory": true,
      "footprint_shape": "rectangular",
      "cost_source": "faction_treasury",
      "services": [],
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Wall"
    },
    {
      "id": "01KKR968Q4AZ64PFQ037DPG83T",
      "ref": "wanderers-nook",
      "name": "Wanderer's Nook",
      "description": "A cloaked figure beckons from behind a makeshift stall wedged into a dungeon alcove. The goods are questionable. The prices are worse.",
      "type": "npc_marker",
      "sub_kind": "merchant",
      "interactable": true,
      "destructible": false,
      "max_health": 400,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shop",
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Wanderer's Nook"
    },
    {
      "id": "01KKR968Q4RQT5ANJZHG8KG71D",
      "ref": "whispering-hall",
      "name": "Whispering Hall",
      "description": "Voices echo from nowhere. The walls seem to breathe, whispering fragments of conversations from ages past.",
      "type": "landmark",
      "sub_kind": "landmark",
      "interactable": true,
      "destructible": false,
      "max_health": 700,
      "spawn_weight": 0.15,
      "spawn_count": 1,
      "blocks_movement": true,
      "drafted": false,
      "interaction": "shrine",
      "shrine": {
        "cadence_turns": 5,
        "reward_coin": 0,
        "reward_items": [
          {
            "item_ref": "herb",
            "amount": 1
          }
        ],
        "territory_active": true,
        "king_visit_active": true
      },
      "aura": {
        "radius": 4,
        "bonus_kind": "morale",
        "multiplier": 1
      },
      "faction": "neutral",
      "pixels_per_unit": 64,
      "pivot": "Center",
      "pivot_x": 0.5,
      "pivot_y": 0.5,
      "mesh_type": "FullRect",
      "extrude_edges": 1,
      "sorting_layer": "Foreground",
      "sorting_index": 0,
      "static_sorting": true,
      "wrap_mode": "Clamp",
      "title": "Whispering Hall"
    }
  ],
  "index": {
    "01JGFJK3W80FJCB5TZTJ49J3BT": 0,
    "adamantine-vein": 0,
    "Adamantine Vein": 0,
    "01KPTS5CHAZTHAZEJ7FG7ZHMCJ": 1,
    "barracks": 1,
    "Barracks": 1,
    "01KVV0AF8RDMV29GQY5CKT18FP": 2,
    "campfire": 2,
    "Campfire": 2,
    "01KW1TG5WKB7VXY9F7X1NHA5TP": 3,
    "candelabrum": 3,
    "Candelabrum Stand": 3,
    "01KPTS5CHATHAX6Z8XFNC5X88J": 4,
    "capital": 4,
    "Capital": 4,
    "01KPY32HFZ3RA1QZH2SXYYZ5J2": 5,
    "castle": 5,
    "Castle": 5,
    "01K77XRVXZCQP3Z9KG8KNX91GE": 6,
    "coal-vein": 6,
    "Coal Vein": 6,
    "01K77XRVXYKWCDZQ369V21B3CV": 7,
    "cobalt-vein": 7,
    "Cobalt Vein": 7,
    "01K6VMX51PRY6G9PD8WVGY5T5W": 8,
    "copper-vein": 8,
    "Copper Vein": 8,
    "01KPTS5CHA6912A2RTMRV442ZD": 9,
    "dock": 9,
    "Dock": 9,
    "01KKR968Q45Y6XCSFTKS3XR2Q7": 10,
    "dusty-bazaar": 10,
    "Dusty Bazaar": 10,
    "01KKR968Q3E3325YXY090Z03D1": 11,
    "dwarven-outpost": 11,
    "Dwarven Outpost": 11,
    "01KKR968Q3801YCR495T6MT1WW": 12,
    "ember-hearth": 12,
    "Ember Hearth": 12,
    "01KPTS5CHACVAEV4RM5ZJR0854": 13,
    "farm": 13,
    "Farm": 13,
    "01KPTS5CHAME66QTQYAN71RQ7M": 14,
    "furnace": 14,
    "Furnace": 14,
    "01KPTS5CHAHVG40ZKW3CK7ZSD7": 15,
    "goblin-cave": 15,
    "Goblin Cave": 15,
    "01K77XRVXZA6WBKCDRD8WHN44V": 16,
    "gold-vein": 16,
    "Gold Vein": 16,
    "01KPTS5CHARHK7H654ZECCMQ3C": 17,
    "inn": 17,
    "Inn": 17,
    "01K6VCVSRH21PSEXJKSGRC1JYG": 18,
    "iron-vein": 18,
    "Iron Vein": 18,
    "01JGFJK0YG1DQWMN778BSG7F7M": 19,
    "jade-crystal": 19,
    "Jade Crystal": 19,
    "01KPY32HFZ1YMEMT3BFENYRT5N": 20,
    "keep": 20,
    "Keep": 20,
    "01KPTS5CHAZKRDYDP6MR8Y2YNQ": 21,
    "lumbercamp": 21,
    "Lumbercamp": 21,
    "01KKR968Q3C5RBNQF0H3HV17ZN": 22,
    "luminous-alcove": 22,
    "Luminous Alcove": 22,
    "01KPTS5CHAPAK4KYSQKVKJYB5K": 23,
    "market": 23,
    "Market": 23,
    "01KPY32HFZZ01KT61BP7DGVC2S": 24,
    "merchants-guild": 24,
    "Merchants Guild": 24,
    "01KPTS5CHAF80QS53R33ZZQN6K": 25,
    "mining-pit": 25,
    "Mining Pit": 25,
    "01KKR968Q4NN0H3KDCJ4SYGC4T": 26,
    "mirror-chamber": 26,
    "Mirror Chamber": 26,
    "01JGFJK2X0ESVHM04JRZ7NMDMZ": 27,
    "mithril-vein": 27,
    "Mithril Vein": 27,
    "01KKR968Q3PR5VCDTZWC666CZP": 28,
    "mushroom-bazaar": 28,
    "Mushroom Bazaar": 28,
    "01KQ2WOYBMSI3R6MWOUO39Q8P5": 29,
    "nd-tower-basic": 29,
    "Nexus Defense — Basic Tower": 29,
    "01JCKH7M9K2XQZW3P4R5S6T7V8": 30,
    "oak-tree": 30,
    "Oak Tree": 30,
    "01KPTS5CHA2Q7TXEABG26VJA9Y": 31,
    "outpost": 31,
    "Outpost": 31,
    "01KKR968Q4PT9FJDMFW7PZK87T": 32,
    "prismatic-throne": 32,
    "The Prismatic Throne": 32,
    "01KKR968Q35GKEGY6CWQW4SYN5": 33,
    "quiet-spring": 33,
    "Quiet Spring": 33,
    "01JCKH7M9K2XQZW3P4R5S6T7V9": 34,
    "redwood-tree": 34,
    "Redwood Tree": 34,
    "01JGFJJZ004YYK6HBZYQBRYQA9": 35,
    "ruby-crystal": 35,
    "Ruby Crystal": 35,
    "01K77XRVXZD0TANBNGTY28WTBZ": 36,
    "salt-vein": 36,
    "Salt Vein": 36,
    "01JGFJJZZ81C92ED5YECM6QJZ4": 37,
    "sapphire-crystal": 37,
    "Sapphire Crystal": 37,
    "01KKR968Q4VXMSYYTZAXXE7AJE": 38,
    "shattered-crown": 38,
    "The Shattered Crown": 38,
    "01K77XRVXZRQ0M7DHJWAFA7NPD": 39,
    "silver-vein": 39,
    "Silver Vein": 39,
    "01KKR968Q1TR2VCZ17FSZPF1N7": 40,
    "sunken-market": 40,
    "The Sunken Market": 40,
    "01KKR968Q4DZJBW6RMZPNMRHQH": 41,
    "the-still-pool": 41,
    "The Still Pool": 41,
    "01KPY32HFZGBKMW4EEEK573R59": 42,
    "tower": 42,
    "Tower": 42,
    "01KPY32HFZAKD3RK395HSN24NR": 43,
    "trade-house": 43,
    "Trade House": 43,
    "01JGFJK1XRK67CXHJ94TCJRGE5": 44,
    "uranium-vein": 44,
    "Uranium Vein": 44,
    "01KPY32HFZNNCJDF0CMR1XVXDP": 45,
    "village": 45,
    "Village": 45,
    "01KPY32HFZ3BHND77RG6YSWVPP": 46,
    "wall": 46,
    "Wall": 46,
    "01KKR968Q4AZ64PFQ037DPG83T": 47,
    "wanderers-nook": 47,
    "Wanderer's Nook": 47,
    "01KKR968Q4RQT5ANJZHG8KG71D": 48,
    "whispering-hall": 48,
    "Whispering Hall": 48
  }
}