Let the catalog describe clothes and carryables on ThingDef without dressing anyone.

Empty layers keep furniture on the map; a known layer set and ColorDef palette reject unknown ids at load.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 02:47:23 +03:00
co-authored by Cursor
parent 450495f666
commit abcf67eaab
16 changed files with 716 additions and 15 deletions
@@ -303,6 +303,9 @@ public class SchoolApiTests(AppHostFixture fixture)
Assert.Equal("GymHall", Assert.Single(ru.Subjects, subject => subject.DefName == "PhysicalEducation").Room);
Assert.Null(Assert.Single(ru.Subjects, subject => subject.DefName == "Mathematics").Room);
Assert.Contains(ru.Holidays, holiday => holiday.DefName == "SpringBreak");
Assert.Contains(ru.Things, thing => thing.DefName == "Chair");
Assert.DoesNotContain(ru.Things, thing => thing.DefName == "TShirt");
Assert.DoesNotContain(ru.Things, thing => thing.DefName == "Textbook");
}
[Fact]