Ground locomotives-page descriptor semantics

This commit is contained in:
Jan Petykiewicz 2026-04-16 22:26:23 -07:00
commit 358d4cdec3
26 changed files with 1157 additions and 710 deletions

View file

@ -87,7 +87,7 @@
"group_index": 0,
"row_index": 0,
"descriptor_id": 250,
"descriptor_label": "Unknown Loco Available",
"descriptor_label": "Big Boy 4-8-8-4 Availability",
"target_mask_bits": 8,
"parameter_family": "locomotive_availability_scalar",
"opcode": 3,
@ -100,7 +100,7 @@
"value_word_0x16": 0,
"row_shape": "scalar_assignment",
"semantic_family": "scalar_assignment",
"semantic_preview": "Set Unknown Loco Available to 42",
"semantic_preview": "Set Big Boy 4-8-8-4 Availability to 42",
"recovered_locomotive_id": 10,
"locomotive_name": null,
"notes": [
@ -111,7 +111,7 @@
"group_index": 0,
"row_index": 1,
"descriptor_id": 352,
"descriptor_label": "Locomotive 1 Cost",
"descriptor_label": "2-D-2 Cost",
"target_mask_bits": 8,
"parameter_family": "locomotive_cost_scalar",
"opcode": 3,
@ -124,7 +124,7 @@
"value_word_0x16": 0,
"row_shape": "scalar_assignment",
"semantic_family": "scalar_assignment",
"semantic_preview": "Set Locomotive 1 Cost to 250000",
"semantic_preview": "Set 2-D-2 Cost to 250000",
"recovered_locomotive_id": 1,
"locomotive_name": null,
"notes": [
@ -257,7 +257,7 @@
},
{
"kind": "set_named_locomotive_cost",
"name": "Locomotive 1",
"name": "2-D-2",
"value": 250000
},
{
@ -333,11 +333,11 @@
"raw_condition_id": 2423,
"subtype": 4,
"flag_bytes": [144, 208, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"candidate_name": "Locomotive 1",
"candidate_name": "2-D-2",
"comparator": "eq",
"metric": "Named Locomotive Cost: Locomotive 1",
"metric": "Named Locomotive Cost: 2-D-2",
"semantic_family": "world_scalar_threshold",
"semantic_preview": "Test Named Locomotive Cost: Locomotive 1 == 250000",
"semantic_preview": "Test Named Locomotive Cost: 2-D-2 == 250000",
"requires_candidate_name_binding": false,
"notes": [
"checked-in world-scalar condition metadata sample"
@ -489,7 +489,7 @@
},
{
"kind": "named_locomotive_cost_threshold",
"name": "Locomotive 1",
"name": "2-D-2",
"comparator": "eq",
"value": 250000
},