Schall Minor Tweaks


Various minor tweaks that may improve gameplay. Options including modifying colour tone for logistics requester chest, character inventory size, grid size of various armours, free circuit wires, stack size of various fuels, player chat colour, research queue availability, scale of mining drills status light, and more... (Locale: English, Deutsch, 正體中文, 简体中文, Português Brasileiro)

Tweaks
3 years ago
0.17 - 1.1
7.47K

b [Solved] stack size as a string causing an issue

3 years ago

Hi there.

Could you please take a look at this mod? .. its setting the stack size of items to be a STRING, not an INTEGER.

As such the mod "factorio-deadlock-beltboxes-loaders" is breaking when it tries to do a comparison at this line due to the mixture of types
https://github.com/shanemadden/factorio-deadlock-beltboxes-loaders/blob/fc245312766ae554d37a05d14b27820a562bdfc0/prototypes/public.lua#L141

I was thinking you could change line 64 of config/config-1.lua to be this
config.stack_sizes[obj] = { change = true, stack_size = tonumber(stack_size)}

3 years ago

Thanks for reporting.
I was not aware of this, since the game did not complain about that...
Should be fixed in 0.17.10 / 0.18.5 / 1.0.2 / 1.1.1.
Please let me know if it is still not working with your mod.

New response