81 lines
2.1 KiB
JSON
81 lines
2.1 KiB
JSON
{
|
|
"format_version": 1,
|
|
"fixture_id": "packed-event-world-condition-gated-save-slice-fixture",
|
|
"source": {
|
|
"kind": "captured-runtime",
|
|
"description": "Fixture proving whole-game ordinary conditions gate imported world-state effects."
|
|
},
|
|
"state_save_slice_path": "packed-event-world-condition-gated-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,
|
|
"candidate_availability_count": 2,
|
|
"zero_candidate_availability_count": 0,
|
|
"special_condition_count": 1,
|
|
"enabled_special_condition_count": 1,
|
|
"world_restore_economic_status_code": 4,
|
|
"total_event_record_service_count": 2,
|
|
"total_trigger_dispatch_count": 2
|
|
},
|
|
"expected_state_fragment": {
|
|
"world_restore": {
|
|
"economic_status_code": 4
|
|
},
|
|
"candidate_availability": {
|
|
"Mogul": 2,
|
|
"Turbo Diesel": 1
|
|
},
|
|
"packed_event_collection": {
|
|
"records": [
|
|
{
|
|
"import_outcome": "imported"
|
|
},
|
|
{
|
|
"import_outcome": "imported",
|
|
"decoded_conditions": [
|
|
{
|
|
"kind": "special_condition_threshold",
|
|
"label": "Use Wartime Cargos",
|
|
"comparator": "ge",
|
|
"value": 1
|
|
},
|
|
{
|
|
"kind": "candidate_availability_threshold",
|
|
"name": "Mogul",
|
|
"comparator": "ge",
|
|
"value": 2
|
|
},
|
|
{
|
|
"kind": "economic_status_code_threshold",
|
|
"comparator": "ge",
|
|
"value": 4
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"event_runtime_records": [
|
|
{
|
|
"record_id": 41,
|
|
"service_count": 1
|
|
},
|
|
{
|
|
"record_id": 44,
|
|
"service_count": 1
|
|
}
|
|
]
|
|
}
|
|
}
|