Hi,
I'm not sure whether it is a bug or a feature.
When I checked the values of the different quality levels, using the "All Levels" option resulting in 40 new qualities, whenever a new tier starts, the values increase by twice the amount compared to the increase per level inside a tier. (e.g. +6% from Common to Uncommon or Uncommon to Rare, +3% from Uncommon 1 to Uncommon 2)
Wondering whether it was a settings issue and not entirely understanding the settings, I looked into the code and found it seems you are skipping the levels on purpose.
In addition I found two more things, that first confused me.
The ic-more-qualities-chance-plus
setting's description sounded to me like being used to decide whether and by how much the chance to skip a quality should increase per quality level.
The setting isn't used in the code at all though. Instead, each next level's chance to skip a quality level on production is increased by 1%, resulting in a whopping 48% chance to skip from the third last level to the last one. (49% and 50% for the second last and last levels are not relevant anymore.)
Are these two things intended?
At least the second one seems to be a bug/oversight to me.
If I am not missing something important, an easy fix should be changing
function ic.get_chance()
local value = math.min(ic.chance.value + ic.chance.add, 1)
ic.chance.add = ic.chance.add + 0.01
return value
end
to
function ic.get_chance()
local value = math.min(ic.chance.value + ic.chance.add, 1)
ic.chance.add = ic.chance.add + settings.startup["ic-more-qualities-chance-plus"].value
return value
end
Cheers and thanks again for this mod!
(By the way, if you would consider hosting your mod as a GitHub repository or poking me on Discord (Username: merikolus), I could provide a German localization.)