Enhance apparel definitions: Introduce 'UpperUnderwear' layer and related items (Bra, SportsBra, SoftBra) to support gender-specific clothing. Update inventory and dress generation logic to accommodate new layers and ensure proper coverage. Adjust localization for new apparel terms and refine tests for underwear functionality.
This commit is contained in:
@@ -203,7 +203,7 @@ internal static class ApparelWear
|
||||
}
|
||||
|
||||
private static bool IsApparel(DefCatalog catalog, string defName) =>
|
||||
catalog.Things.TryGetValue(defName, out var def) && def.Layers.Count > 0;
|
||||
catalog.Things.TryGetValue(defName, out var def) && !def.Abstract && def.Layers.Count > 0;
|
||||
|
||||
private static string? NearestColor(DefCatalog catalog, string defName, string? current)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user