Unlock negative-sentinel company condition scopes
This commit is contained in:
parent
780e739daa
commit
087ebf1097
18 changed files with 1315 additions and 79 deletions
|
|
@ -0,0 +1,96 @@
|
|||
{
|
||||
"format_version": 1,
|
||||
"fixture_id": "packed-event-negative-company-scope-overlay-fixture",
|
||||
"source": {
|
||||
"kind": "captured-runtime",
|
||||
"description": "Fixture backed by an overlay import document so the first real negative-sentinel company-scope row executes against selected-company context."
|
||||
},
|
||||
"state_import_path": "packed-event-negative-company-scope-overlay.json",
|
||||
"commands": [
|
||||
{
|
||||
"kind": "service_trigger_kind",
|
||||
"trigger_kind": 6
|
||||
}
|
||||
],
|
||||
"expected_summary": {
|
||||
"calendar_projection_source": "base-snapshot-preserved",
|
||||
"calendar_projection_is_placeholder": false,
|
||||
"company_count": 3,
|
||||
"packed_event_collection_present": true,
|
||||
"packed_event_record_count": 1,
|
||||
"packed_event_decoded_record_count": 1,
|
||||
"packed_event_imported_runtime_record_count": 1,
|
||||
"packed_event_parity_only_record_count": 1,
|
||||
"packed_event_unsupported_record_count": 0,
|
||||
"packed_event_blocked_missing_condition_context_count": 0,
|
||||
"packed_event_blocked_company_condition_scope_disabled_count": 0,
|
||||
"packed_event_blocked_player_condition_scope_count": 0,
|
||||
"packed_event_blocked_territory_condition_scope_count": 0,
|
||||
"event_runtime_record_count": 1,
|
||||
"total_event_record_service_count": 1,
|
||||
"total_trigger_dispatch_count": 1,
|
||||
"dirty_rerun_count": 0,
|
||||
"total_company_cash": 400
|
||||
},
|
||||
"expected_state_fragment": {
|
||||
"selected_company_id": 3,
|
||||
"companies": [
|
||||
{
|
||||
"company_id": 1,
|
||||
"controller_kind": "human",
|
||||
"current_cash": 100,
|
||||
"debt": 10
|
||||
},
|
||||
{
|
||||
"company_id": 2,
|
||||
"controller_kind": "ai",
|
||||
"current_cash": 50,
|
||||
"debt": 20
|
||||
},
|
||||
{
|
||||
"company_id": 3,
|
||||
"controller_kind": "human",
|
||||
"current_cash": 250,
|
||||
"debt": 30
|
||||
}
|
||||
],
|
||||
"packed_event_collection": {
|
||||
"live_entry_ids": [9],
|
||||
"records": [
|
||||
{
|
||||
"import_outcome": "imported",
|
||||
"negative_sentinel_scope": {
|
||||
"company_test_scope": "selected_company_only",
|
||||
"player_test_scope": "disabled",
|
||||
"territory_scope_selector_is_0x63": false,
|
||||
"source_row_indexes": [0]
|
||||
},
|
||||
"decoded_actions": [
|
||||
{
|
||||
"kind": "set_company_cash",
|
||||
"target": {
|
||||
"kind": "selected_company"
|
||||
},
|
||||
"value": 250
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"event_runtime_records": [
|
||||
{
|
||||
"record_id": 9,
|
||||
"service_count": 1,
|
||||
"effects": [
|
||||
{
|
||||
"kind": "set_company_cash",
|
||||
"target": {
|
||||
"kind": "selected_company"
|
||||
},
|
||||
"value": 250
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue