// Management · RimWorld Mod
Quality Affects HP
Makes quality affects hitpoints of all things, so higher quality means that items like armor last longer.
Makes quality affects hitpoints of all things, so higher quality means that items like armor last longer.
To be clear, if something has Quality and Hitpoints, this mod will probably affect that. That includes apparel and weapons that have Quality, as well as furniture and art. If a mod adds quality to something that doesn't have it in the base game, it should apply to that too.
Hp factors are:
- Awful: x0.5
- Poor: x0.75
- Normal: x1
- Good: x1.75
- Excellent: x3
- Masterwork: x6
- Legendary: x10
You can change the Hp factors in the mod settings, but you must restart the game after changing, and it'll create some jank if you do it for an existing save.
Savegame Compatibility
Not good.
Will _technically_ work with existing savegame, but requires some manual maintanance to make it work seamlessly※.
Adding this mod won't crash or break your save, but all existing things with quality will have their maxhp changed, but not their current hp. This means that, for example, all of your untouched legendary gear and furniture will now be at 10% hp.
Similar when removing from a savegame.
Max hp will be reset to Vanilla values, but current hp won't, so your higher quality things may have current hp > max hp. This shouldn't cause any serious issues though.
※With my other mod, using the "Fix All Buildings" and "Fix Every Pawn's Gear" Actions, you'll be good to go without any of the issues or weirdness mentioned above. You can unsubscribe from that mod as soon as you're done.
If you feel like fixing everything to 100%HP is cheating, there are also debug actions to set stuff to x% of max HP as you wish.
https://steamcommunity.com/sharedfiles/filedetails/?id=2898787033
Mod Compatibility
Should be compatible with most mods.
Compatibility issues could exist if a mod:
- Adds new Quality levels
- Allows you to change the Quality of an already existing item.
- Makes changes to the MaxHitPoints def or otherwise affects max hitpoints
- Uses different functions to create new items. Those will have their max hp modified, but there's a chance they will spawn at incorrect current hp.
Feedback welcome.
Feel free to do whatever you want with this mod including editing and reposting (WTFPL License).