Quality holmium ore returns more holmium solution

by Quezler

Quality holmium ore finally yields you more.

Tweaks
a month ago
2.0
889
Factorio: Space Age Icon Space Age Mod
Fluids Manufacturing Cheats

b game loading crash

4 months ago

Error while loading item prototype "holmium-solution-quality-based-productivity" (item): Localised string key is too large: 288 > 200 (limit). in property tree at ROOT.item.holmium-solution-quality-based-productivity.localised_description[2]
Modifications: Quality holmium ore returns more holmium solution
mod version 1.0.2

4 months ago
(updated 4 months ago)

you've failed to mention which mods you have installed that rename or add qualities

4 months ago

oh sorry,I forgot I have installed this.
https://mods.factorio.com/mod/Additional-Qualities
after disable it the game no longer crash.

4 months ago

thanks, fixed in 1.0.3, apologies for my tone since you couldn't have known i needed that bit of information to test/debug the mod to work with that.

4 months ago
(updated 4 months ago)

updated the mod and now it crashes.

edit: added this mod https://mods.factorio.com/mod/ic-more-qualities. works without it

The mod Quality holmium ore returns more holmium solution (1.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event quality-holmium-ore-returns-more-holmium-solution::on_configuration_changed
Given min value (5.49756e+11) is too big, allowed values are from -2147483648 to 2147483647
stack traceback:
[C]: in function 'set_slot'
...-holmium-ore-returns-more-holmium-solution__/control.lua:59: in function 'update_constant_combinator'
...-holmium-ore-returns-more-holmium-solution__/control.lua:50: in function <...-holmium-ore-returns-more-holmium-solution__/control.lua:49>

4 months ago

wow how the hell, do you have like a mod that adds a hundred qualities?

weird that this shows up only when updating this mod tho, or did you also install/update a mod that does insane quality stuff? if anything this should have crashed when you first installed this mod

4 months ago

yes I added this mod the same time I updated but forgot that I added it till I made the post. my bad

4 months ago

i suppose i'll need to rebalance the math behind my mod, the exponential growth becomes too insane with mods add new quality levels, suggestions?

4 months ago

A new config option to limit the recipe max output seems ok.

4 months ago

I'll think of something practical

4 months ago

you can now configure your own formula, e.g. a math.max() around whatever you want

3 months ago
(updated 3 months ago)

With the Infinite Quality Tiers mod, I get the this error:

Failed to load mods: Error while loading item prototype "holmium-solution-quality-based-productivity" (item): Too many parameters for localised string: 68 > 20 (limit). in property tree at ROOT.item.holmium-solution-quality-based-productivity.localised_description
Modifications: Quality holmium ore returns more holmium solution

Not sure if this is feasible to fix XD

3 months ago

more like "impossible" to fix, im already bundling the different quality's lines in batches of 200 characters, i'll probably just have to disable or cut it off when someone has an obnoxious amount of qualitys installed

3 months ago

Makes sense to me!

3 months ago

compatibility added, it'll not crash on load by just discarding what won't fit in the description, and values above 2^31 get clamped, which means past exuberant this mod will return the same (if you use the default multiplier math)

2 months ago

Excellent, thanks!

New response