XML for item qualities?

Started by Primal Lord, December 26, 2016, 10:21:58 PM

Previous topic - Next topic

Primal Lord

Hi there, i've been looking through rimworlds files for a bit now but can't seem to find an xml that has building modifiers for apparel / weapons / various things like chairs and beds (not to be confused with the modifiers for stats on apparel / weapons depending on quality). While searching on here for information i found this chart here: https://ludeon.com/forums/index.php?topic=26583.msg269092#msg269092, and just barely above 3% chance for legendary at level 20, which without mods or boosting the learning rate to gamebreaking proportions is pretty hard to maintain unless it's a dedicated and constantly working pawn, is nowhere near high enough in my opinion. Is this just hard coded into the game or did i just happen to scroll over it while looking through all the files?
(Between here and the mods section it seemed more appropriate to post here because while i will be modifying the game for personal use, i'm not actually making a mod out of it.)

Zhentar

The odds of rolling each quality are hard-coded.

swampslug

The Static Quality mod (https://ludeon.com/forums/index.php?topic=24718.0) addresses this somewhat by allowing you to decide whether a crafter will always produce items of the same quality (based on skill level) or within +/- 1 or 2 quality levels.
With the +/- 2 option checked a level 15 crafter cannot produce anything below good quality and a level 20 crafter cannot produce anything below excellent quality.

The mod's author hasn't updated to A16 yet, but there is a link on page 2 of the thread to an unofficial update.

Primal Lord

Thank You both for your answers, the static quality mod sounds interesting, and surely if i play with it's coding a bit i can personalize it to my tastes even more, and just for the sake of completion on the topic I'll also list QualityBuilder: https://ludeon.com/forums/index.php?topic=25188.msg257433#msg257433, which allows you to designate what quality you want and your best builder will keep building / deconstructing until you get that quality or better. I'll leave this topic up for about 8 more hours in case anyone else has something to add, then i'll lock / request lock for it as Zhentar answered my question.