JecsTools - Apparel Extension
Added a new patch for allowing multiple apparel items to stack. "Apparel Extension" adds extra body part tags that are checked before a piece of apparel is determined to be unwearable. This is great for adding things such as glasses, monocles, earrings, and more.
For example, here is a ThingDef for a piece of "spectacles" apparel. This can now be worn alongside a hat, instead of taking up the hat's slot.
<!-- Spectacles -->
<ThingDef ParentName="HatMakeableBase">
<defName>Apparel_IndSpectacles</defName>
<label>spectacles</label>
<description>A pair of eyeglasses that make the user look slightly smarter. Can also improve vision.
<!-- Cut out lots of code -->
<modExtensions>
<li Class="JecsTools.ApparelExtension">
<coverage>
<li>Eyes</li> <!-- This is a string, not an enum, so feel free to use any custom named part. Want to make a nose-ring? Type in Nose and it can be equipped alongside this and many others. -->
</coverage>
</li>
</modExtensions>
<!-- End of example -->
</ThingDef>