Adjustable Quality


This mod gives you the ability to adjust all the prototype options related to quality, allowing you to play the way you want. Options for all quality tiers, names, modules, labs, science packs, assembly machines, furnaces, mining drills, insterters, capacitors, electric poles, beacons, chests, wagons, inventory grids, roboports, robots, tesla weapons, weapon range, and asteroid collectors. Options default to standard gameplay, letting you pick and choose what adjustments you make!

Tweaks
13 days ago
2.0
2.25K
Factorio: Space Age Icon Space Age Mod
Cheats

b Error on update

a month ago

Getting the following issues after updating Space Exploration and a few other mods today:

adjustable-quality/data-final-fixes.lua:2: attempt to index field '?' (a nil value)
stack traceback:
 adjustable-quality/data-final-fixes.lua:2: in function 'setting'
 adjustable-quality/data-final-fixes.lua:133: in main chunk

Mods to be disabled:
▪ adjustable-quality (2.0.57)

Do note that I am using the quality fork mentioned below, neither that mod or this one has updated though, any ideas what could be causing it?
https://mods.factorio.com/mod/adjustable-quality/discussion/68d433e25aa11fd227fdc6c8

a month ago

I see, the options for that mod are dependant on "space-age" being loaded. They seem to have added something to data.raw["chain-active-trigger"] to cause the if statement to return true. But the setting does not exist because space-age is not a loaded mod.

this is the related section having the error:
if data.raw["chain-active-trigger"] then
for _, obj in pairs(data.raw["chain-active-trigger"]) do
obj.fork_chance_increase_per_quality_level = setting("fork_chance_increase_per_quality_level_chain_active_trigger")
end
end

and

if mods["space-age"] then
data:extend({{
type = "double-setting",
name = "fork_chance_increase_per_quality_level_chain_active_trigger",
setting_type = "startup",
default_value = 0.1,
minimum_value = 0,
maximum_value = 1,
order = "m0"
}, {
....

this will require some rethinking how this setting is added. Either that or changing the if statement to only adjust this when space-age is loaded.

a month ago

you can help me fix this by providing the addon name for space exploration from its json file.

a month ago

"name": "space-exploration"

That one?

a month ago

I thought about this some more, and it will require the name of the alternative quality addon as well.
I am not sure which settings will be available for that combination (other than the fork chance)

a month ago
a month ago

ok, new release should allow the setting for fork chance to load in either situation. (space age or S-E and alt quality)

let me know if there are further adjustments required.

a month ago

Seems to work so far, thank you so much for the fix, its extremely appreciated. Will let you know how things go

New response