{
  "format_version": 1,
  "fixture_id": "packed-event-world-scalar-condition-save-slice-fixture",
  "source": {
    "kind": "captured-runtime",
    "description": "Fixture proving grounded world-scalar ordinary conditions gate an imported whole-game effect."
  },
  "state_save_slice_path": "packed-event-world-scalar-condition-save-slice.json",
  "commands": [
    {
      "kind": "service_trigger_kind",
      "trigger_kind": 6
    },
    {
      "kind": "service_trigger_kind",
      "trigger_kind": 7
    }
  ],
  "expected_summary": {
    "packed_event_collection_present": true,
    "packed_event_record_count": 2,
    "packed_event_decoded_record_count": 2,
    "packed_event_imported_runtime_record_count": 2,
    "event_runtime_record_count": 2,
    "cargo_catalog_count": 11,
    "named_locomotive_availability_count": 1,
    "zero_named_locomotive_availability_count": 0,
    "named_locomotive_cost_count": 1,
    "cargo_production_override_count": 3,
    "world_restore_limited_track_building_amount": 18,
    "world_restore_territory_access_cost": 750000,
    "world_flag_count": 12,
    "total_event_record_service_count": 2,
    "total_trigger_dispatch_count": 2
  },
  "expected_state_fragment": {
    "world_flags": {
      "world.disable_stock_buying_and_selling": true
    },
    "world_restore": {
      "limited_track_building_amount": 18,
      "territory_access_cost": 750000
    },
    "named_locomotive_availability": {
      "Big Boy": 42
    },
    "named_locomotive_cost": {
      "2-D-2": 250000
    },
    "cargo_production_overrides": {
      "1": 125,
      "5": 75,
      "9": 30
    },
    "cargo_catalog": [
      {
        "slot_id": 1,
        "label": "Cargo Production Slot 1",
        "cargo_class": "factory"
      }
    ],
    "packed_event_collection": {
      "records": [
        {
          "import_outcome": "imported"
        },
        {
          "import_outcome": "imported",
          "standalone_condition_rows": [
            {
              "raw_condition_id": 2422
            },
            {
              "raw_condition_id": 2423
            },
            {
              "raw_condition_id": 200,
              "recovered_cargo_slot": 1,
              "recovered_cargo_class": "factory"
            },
            {
              "raw_condition_id": 2418
            },
            {
              "raw_condition_id": 2419,
              "recovered_cargo_class": "factory"
            },
            {
              "raw_condition_id": 2420,
              "recovered_cargo_class": "farm_mine"
            },
            {
              "raw_condition_id": 2421,
              "recovered_cargo_class": "other"
            }
          ],
          "decoded_conditions": [
            {
              "kind": "named_locomotive_availability_threshold",
              "name": "Big Boy",
              "comparator": "eq",
              "value": 42
            },
            {
              "kind": "named_locomotive_cost_threshold",
              "name": "2-D-2",
              "comparator": "eq",
              "value": 250000
            },
            {
              "kind": "cargo_production_slot_threshold",
              "slot": 1,
              "label": "Cargo Production Slot 1",
              "comparator": "eq",
              "value": 125
            },
            {
              "kind": "cargo_production_total_threshold",
              "comparator": "eq",
              "value": 230
            },
            {
              "kind": "factory_production_total_threshold",
              "comparator": "eq",
              "value": 125
            },
            {
              "kind": "farm_mine_production_total_threshold",
              "comparator": "eq",
              "value": 75
            },
            {
              "kind": "other_cargo_production_total_threshold",
              "comparator": "eq",
              "value": 30
            },
            {
              "kind": "limited_track_building_amount_threshold",
              "comparator": "eq",
              "value": 18
            },
            {
              "kind": "territory_access_cost_threshold",
              "comparator": "eq",
              "value": 750000
            }
          ]
        }
      ]
    },
    "event_runtime_records": [
      {
        "record_id": 41,
        "service_count": 1
      },
      {
        "record_id": 45,
        "service_count": 1
      }
    ]
  }
}
