Clarify add-building batch row semantics

This commit is contained in:
Jan Petykiewicz 2026-04-19 02:08:05 -07:00
commit 32e7d797fe
2 changed files with 14 additions and 4 deletions

View file

@ -10856,6 +10856,11 @@ fn parse_real_grouped_effect_row_summary(
row_shape = "scalar_assignment".to_string();
semantic_family = "scalar_assignment".to_string();
}
if descriptor_metadata.is_some_and(|metadata| metadata.parameter_family == "world_building_spawn")
{
row_shape = "building_spawn_batch".to_string();
semantic_family = "building_spawn_batch".to_string();
}
let mut notes = Vec::new();
if locomotive_name.is_some() {
@ -11708,6 +11713,9 @@ fn build_real_grouped_effect_semantic_preview(
};
format!("Set {label} to {state}")
}
"building_spawn_batch" => format!(
"Batch place {label} with scalar {raw_scalar_value}, count {value_byte_0x11}, and span words [{value_word_0x14}, {value_word_0x16}]"
),
"timed_duration" => format!(
"Set {label} to {raw_scalar_value} for {value_word_0x14} years {value_word_0x16} months"
),