RimWorld

RimWorld

59 ratings
Hediff Apparel
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3
File Size
Posted
Updated
37.826 KB
29 Feb, 2020 @ 9:23pm
11 Jul, 2021 @ 8:15pm
3 Change Notes ( view )

Subscribe to download
Hediff Apparel

Description
Load Order: Put this near the top, just under Core/Royal/Hugslib

Written by LoonyLadle and posted here for use by other modders.

https://github.com/LoonyLadle/HediffApparel
https://ludeon.com/forums/index.php?topic=49129.0

Adds a ThingComp usable in apparel defs to inflict hediffs on the wearer, without any C# required.

Example xml:

hediff.xml
<HediffDef> <hediffClass>HediffWithComps</hediffClass> <label>bulky</label> <defName>Bulky_Apparel</defName> <description>This apparel is very bulky.</description> <stages> <li> <statOffsets> <ShootingAccuracyPawn>-20</ShootingAccuracyPawn> <RangedWeapon_Cooldown>-20</RangedWeapon_Cooldown> <MeleeHitChance>-20</MeleeHitChance> <MeleeWeapon_CooldownMultiplier>-20</MeleeWeapon_CooldownMultiplier> </statOffsets> </li> </stages> </HediffDef>

apparel.xml
<Defs> <def> ... <comps> <li Class="HediffApparel.CompProperties_HediffApparel"> <hediffDef>Bulky_Apparel</hediffDef> <partsToAffect> <li>Torso</li> </partsToAffect> </li> </comps> </def>
15 Comments
KiameV  [author] 21 Feb @ 8:48pm 
It may just work if you want to try it
Vulkandrache 21 Feb @ 2:41am 
I would love for this to get an update, can that be arranged?
Richard Stern 24 Aug, 2022 @ 1:21pm 
The hediffs seem to be locked on pawns after reloading a save and require another cycle of putting apparel on/off to be removed.
Ted 4 May, 2021 @ 6:35pm 
I use CE thats most likely the problem
KiameV  [author] 4 May, 2021 @ 4:57pm 
Still works for my mods, what's broken?
Ted 4 May, 2021 @ 1:30pm 
This does not seem to work
神殇丶听聆 27 Dec, 2020 @ 8:05am 
There is a problem with this mod. Many equipment and clothes added by mods are not displayed. For example, 零子科技 and Xeva Faction
S16 12 Aug, 2020 @ 2:05am 
@Kiame Vivacity thank you!
KiameV  [author] 11 Aug, 2020 @ 11:20pm 
Updated for 1.2
KiameV  [author] 9 Jul, 2020 @ 9:09am 
Please send all thanks to LoonyLadle - https://ludeon.com/forums/index.php?topic=49129.0
I'm just posting here for those with steam to be able to use it with their mods =)