RimWorld

RimWorld

45 ratings
Quality Expanded [1.4+ Fork]
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
1.890 MB
6 Nov, 2022 @ 8:52pm
14 Mar @ 3:29pm
5 Change Notes ( view )

Subscribe to download
Quality Expanded [1.4+ Fork]

Description
Original mod description
Provides various configurable options for increasing the impact of quality. Everything Has Quality and XML Extensions are recommended to unlock the full features of this mod.

Hit Points & Deterioration
Quality affects max hit points.

Buildings and items can permanently deteriorate in quality if their current hit points falls below the max hit points for the next-lowest quality. Buildings and armor check for quality loss when damaged. Other items check for quality loss once per day. Buildings and items with art have a lower chance to deteriorate and will only deteriorate if they fall below good level hit points.

You can see the deterioration at work on map spawn, as some of the spawned buildings might deteriorate to poor or awful quality.

Additional Quality Effects:
Quality can be configured to affect:
Research Speed
Work Table Speed
Door Open Speed
Power Output, Power Usage, and Battery Efficiency
Ranged Weapon & Turret Cooldown
Melee Weapon Cooldown
Medicine Potency

Changes to Vanilla
The following vanilla quality effects can now be disabled:
Beauty
Bed Rest Effectiveness
Comfort
Deterioration Rate (disabled by default) - It is recommended to disable this when using Quality Hit Points. Otherwise high-quality items will have higher HP in addition to losing HP slower, extending their lifespan well beyond that of vanilla.

Recommended Mods
Everything Has Quality - Adds quality to buildings, stuff, weapons, apparel, and other items (configurable) to make full use of this mod.

XML Extensions - Allows configuration of the quality factors for various stats. Also increases compatiblity with other mods.

Compatibility & Other Mods
Should be compatible with just about anything, including mods with similar features. In order to ensure the configuration options of this mod take precedence, this mod should be loaded after mods with similar features.

For example, when using Quality Doors, this mod will control the hit points and door speed effects of quality, while Quality Doors will continue to make doors minifiable.

FAQ
How does quality deterioration work?
Assume a normal building with 300 hit points and a .75 poor factor, so a poor building would have 225 hit points. The building takes 10 damage, falling to 290 hit points. Since 290 is still above 225, nothing happens. If the building gets damaged to 220 hit points, there is a one time check with a 13.3% of deterioration. If it is damaged again to 210 hit points, there will be another check with a 15% chance. The actual formula is (1 - current hp / current max hp) / 2.

How does this affect performance?
The performance impact should be minimal. A test with a full colony mining didn't get higher than .038ms with performance analyzer. A full-scale combat with lots of damage to buildings might get a bit higher, but this mod should still qualify as performance light. This mod also uses conditional harmony and def database patches to ensure disabled features have zero performance impact. As a result, a restart is required for many settings changes.

Can I add this to an existing game?
Yes.

Can I remove this from an existing save?
Probably, but you will get an error on the first load.

How do the cooldown features of this differ from Quality Cooldown?
Quality Cooldown only:
Factors are not adjustable
Cooldown is also affected by remaining HP
Only applies to ranged weapons, not turrets.

Quality Expanded only:
Factors are adjustable, uses same factors as Quality Cooldown by default.
No adjustment based on HP (but quality can be configured to degrade when HP is lost).
Applies to both ranged weapons and turrets.

Both
Factors are adjustable
HP affects cooldown (and configurable deterioration).
Quality affects ranged weapons and turret, HP cooldown factor only affects ranged weapons.

Does this work with <ModName>:

I don't know. This mod should be compatible with the bulk of other mods, but if you run into any problems please let me know.

pudy248's Additions
- Recompiled for 1.4
- Quality now affects Trap Melee Damage, configurable.
- Quality now affects Nutrition, configurable

[pudy248's To Do List]
- Fix weapon cooldown bug reported on the original version
- Add quality support to:
* Drug effects
* Food nutrition / food poisoning chance Done!

Report bugs at: https://github.com/pudy248/QualityFrameworkFork

Please go send some love to the original creator ( https://steamproxy.net/sharedfiles/filedetails/?id=2634653569 ), this mod is very complex and well outside my skill range, I don't take any credit for it's creation.
Popular Discussions View All (2)
0
22 Jun, 2023 @ 12:58pm
Whole map vanishes when this mod is enabled
Abuyin
0
24 Apr, 2023 @ 11:16pm
I am getting this error
p20 hammerpoints
26 Comments
Agent Washington 21 Jun @ 5:38pm 
Is there any chance you could have mech gestators take more or less time depending on their quality?
Terra 29 May @ 4:22am 
https://steamproxy.net/sharedfiles/filedetails/?id=3249809120
Found a compatible patch for 'infusion 2'.
柠檬一 5 May @ 11:55am 
there is a bug that if i onload XML without Everything Has Quality,recreation building will not affected by quality
csc001 1 May @ 12:31am 
very nice mod ,thank you for your mod,A parameter meaning is given to
lukey pookie 26 Apr @ 5:05pm 
@pudy248 any chance you could effect tool stats similar to this mod? https://steamproxy.net/sharedfiles/filedetails/?id=2585864821
pudy248  [author] 14 Mar @ 3:30pm 
Preliminary update for 1.5 beta, tested only a little so let me know if there are fatal bugs
Vartarhoz 4 Feb @ 10:28pm 
I require opposite of this mod. Remove quality from things.
Zargachi 9 Oct, 2023 @ 11:15am 
so, the health of items with quality reset to their normal value and then updates to their quality value every time i reload the game, this is making lots of items to be "damaged", is this how it should work or it's a bug?
Saul 9 Sep, 2023 @ 8:18pm 
Is it possible that higher quality meals also give higher mood bonuses?
Saul 9 Sep, 2023 @ 8:17pm 
Inspired by this mode, I tried to apply quality separately to food and come up with various effects and contents, but I gave up after confirming the existence of DLL files...