forked from RimWorld-CCL-Reborn/JecsTools
-
Notifications
You must be signed in to change notification settings - Fork 18
ApparelExtension
Matthew Walls edited this page Oct 12, 2018
·
1 revision
"Apparel Extension" adds extra body part tags that are checked before a piece of apparel is determined to be unwearable. So many types of apparel can be worn together at the same time. This is great for adding things such as glasses, monocles, earrings, and more without removing hats.
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.
<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>
</coverage>
</li>
</modExtensions>
<!-- End of example -->
</ThingDef>
Add Abilities to Characters
Add Abilities to Equipment
Add Genes to PawnKindDefs
Add Animations and Sounds
- CompAnimated
- CompAnimatedOver
- CompOverlays
- CompExtraSounds
- CompOversizedWeapon
- CompActivatableEffect
- CompLumbering
- CompDelayedSpawer
- CompToggleDef
Add Vehicles
Add Weapon / Armor / Health Effects
Add World Jobs
Misc