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

@ -7,7 +7,7 @@
"original_save_sha256": "locomotive-cost-save-slice-sample-sha256",
"notes": [
"tracked as JSON save-slice document rather than raw .smp",
"uses embedded save-native locomotive catalog entries to prove standalone save-slice execution for lower-band and upper-band locomotive cost descriptors"
"uses embedded save-native locomotive catalog entries to prove standalone save-slice execution for grounded lower-band locomotive cost descriptors"
]
},
"save_slice": {
@ -26,8 +26,8 @@
"entries_offset": 31864,
"observed_entry_count": 2,
"entries": [
{ "locomotive_id": 1, "name": "Locomotive 1" },
{ "locomotive_id": 101, "name": "Locomotive 101" }
{ "locomotive_id": 1, "name": "2-D-2" },
{ "locomotive_id": 58, "name": "VL80T" }
]
},
"special_conditions_table": null,
@ -78,7 +78,7 @@
"group_index": 0,
"row_index": 0,
"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,
@ -91,7 +91,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": [
@ -101,8 +101,8 @@
{
"group_index": 0,
"row_index": 1,
"descriptor_id": 475,
"descriptor_label": "Locomotive 101 Cost",
"descriptor_id": 409,
"descriptor_label": "VL80T Cost",
"target_mask_bits": 8,
"parameter_family": "locomotive_cost_scalar",
"opcode": 3,
@ -115,11 +115,11 @@
"value_word_0x16": 0,
"row_shape": "scalar_assignment",
"semantic_family": "scalar_assignment",
"semantic_preview": "Set Locomotive 101 Cost to 325000",
"recovered_locomotive_id": 101,
"semantic_preview": "Set VL80T Cost to 325000",
"recovered_locomotive_id": 58,
"locomotive_name": null,
"notes": [
"locomotive cost descriptor maps to live locomotive id 101"
"locomotive cost descriptor maps to live locomotive id 58"
]
}
],
@ -127,12 +127,12 @@
"decoded_actions": [
{
"kind": "set_named_locomotive_cost",
"name": "Locomotive 1",
"name": "2-D-2",
"value": 250000
},
{
"kind": "set_named_locomotive_cost",
"name": "Locomotive 101",
"name": "VL80T",
"value": 325000
}
],