134 lines
3.2 KiB
JSON
134 lines
3.2 KiB
JSON
|
|
{
|
||
|
|
"format_version": 1,
|
||
|
|
"fixture_id": "packed-event-runtime-variable-condition-overlay-fixture",
|
||
|
|
"source": {
|
||
|
|
"kind": "captured-runtime",
|
||
|
|
"description": "Fixture proving runtime-variable ordinary conditions gate imported records through bounded world/company/player/territory variable surfaces."
|
||
|
|
},
|
||
|
|
"state_import_path": "packed-event-runtime-variable-condition-overlay.json",
|
||
|
|
"commands": [
|
||
|
|
{
|
||
|
|
"kind": "service_trigger_kind",
|
||
|
|
"trigger_kind": 7
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"kind": "service_trigger_kind",
|
||
|
|
"trigger_kind": 8
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"expected_summary": {
|
||
|
|
"calendar_projection_source": "base-snapshot-preserved",
|
||
|
|
"calendar_projection_is_placeholder": false,
|
||
|
|
"company_count": 3,
|
||
|
|
"player_count": 2,
|
||
|
|
"territory_count": 2,
|
||
|
|
"packed_event_collection_present": true,
|
||
|
|
"packed_event_record_count": 5,
|
||
|
|
"packed_event_decoded_record_count": 5,
|
||
|
|
"packed_event_imported_runtime_record_count": 5,
|
||
|
|
"event_runtime_record_count": 5,
|
||
|
|
"world_runtime_variable_count": 2,
|
||
|
|
"company_runtime_variable_owner_count": 1,
|
||
|
|
"player_runtime_variable_owner_count": 1,
|
||
|
|
"territory_runtime_variable_owner_count": 1,
|
||
|
|
"total_event_record_service_count": 5,
|
||
|
|
"total_trigger_dispatch_count": 2
|
||
|
|
},
|
||
|
|
"expected_state_fragment": {
|
||
|
|
"world_runtime_variables": {
|
||
|
|
"1": 111,
|
||
|
|
"2": 211
|
||
|
|
},
|
||
|
|
"company_runtime_variables": {
|
||
|
|
"1": {
|
||
|
|
"2": 222
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"player_runtime_variables": {
|
||
|
|
"1": {
|
||
|
|
"3": 333
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"territory_runtime_variables": {
|
||
|
|
"7": {
|
||
|
|
"4": 444
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"packed_event_collection": {
|
||
|
|
"records": [
|
||
|
|
{
|
||
|
|
"import_outcome": "imported"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"import_outcome": "imported"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"import_outcome": "imported"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"import_outcome": "imported"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"import_outcome": "imported",
|
||
|
|
"decoded_conditions": [
|
||
|
|
{
|
||
|
|
"kind": "world_variable_threshold",
|
||
|
|
"index": 1,
|
||
|
|
"comparator": "eq",
|
||
|
|
"value": 111
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"kind": "company_variable_threshold",
|
||
|
|
"target": {
|
||
|
|
"kind": "selected_company"
|
||
|
|
},
|
||
|
|
"index": 2,
|
||
|
|
"comparator": "eq",
|
||
|
|
"value": 222
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"kind": "player_variable_threshold",
|
||
|
|
"target": {
|
||
|
|
"kind": "selected_player"
|
||
|
|
},
|
||
|
|
"index": 3,
|
||
|
|
"comparator": "eq",
|
||
|
|
"value": 333
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"kind": "territory_variable_threshold",
|
||
|
|
"target": {
|
||
|
|
"kind": "all_territories"
|
||
|
|
},
|
||
|
|
"index": 4,
|
||
|
|
"comparator": "eq",
|
||
|
|
"value": 444
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"event_runtime_records": [
|
||
|
|
{
|
||
|
|
"record_id": 71,
|
||
|
|
"service_count": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"record_id": 72,
|
||
|
|
"service_count": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"record_id": 73,
|
||
|
|
"service_count": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"record_id": 74,
|
||
|
|
"service_count": 1
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"record_id": 75,
|
||
|
|
"service_count": 1
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|