fix(ui): preserve retail item titles and spacing

Carry PublicWeenieDesc material type into the live object model so examination titles use the DAT-authored material prefix. Preserve retail AddItemInfo empty appends and embedded armor separator, restoring the deliberate blank rows between appraisal sections.

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-24 05:21:01 +02:00
parent d78d09cfbc
commit 6718ee45a0
19 changed files with 341 additions and 46 deletions

View file

@ -471,6 +471,16 @@ public sealed class ClientObjectTableTests
Assert.Equal("Pyreal Scarabs", table.Get(0x500000B9u)!.GetAppropriateName());
}
[Fact]
public void Ingest_MaterialType_PreservesWireValueWithoutClobberingWhenAbsent()
{
var table = new ClientObjectTable();
table.Ingest(FullWeenie(0x500000BCu) with { MaterialType = 77u });
table.Ingest(FullWeenie(0x500000BCu) with { MaterialType = null });
Assert.Equal(77u, table.Get(0x500000BCu)!.MaterialType);
}
[Fact]
public void Ingest_AmmoType_PreservesWireValueForAutoWieldCompatibility()
{