I was going through the various configuration files and was amending stack sizes in preparation to play a game where I was just going to go nuts collecting ores, and I've run into a problem.
According to PowerGREP the only reference to "solid-fuel" with a stack_size is in the \data\base\prototypes\item\item.lua where it is set to 100.
However, it's now stacking to 20,000, preventing me from auto-loading trains with solid-fuel. Yet, when I use PowerGREP on all the Bob's mod files, it finds no reference to solid-fuel setting any override value of 20,000, so, as best I can see, solid-fuel should be stacking to 100.
Is there anywhere in Bob's mods where an override stack value is used that could be overriding the base item.lua file?
Stack size overrides.
Moderator: bobingabout
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Stack size overrides.
Nope. Not for solid-fuel anyway.
There are a few stack size over-rides dotted around the place, but usually for ores, stone and coal, setting them all to 200 and wood and raw-wood, doubling their stack size. As for where they are... check ores, plates, electronics and maybe greenhouse. I know I override them, but can't remember where exactly.
There are a few stack size over-rides dotted around the place, but usually for ores, stone and coal, setting them all to 200 and wood and raw-wood, doubling their stack size. As for where they are... check ores, plates, electronics and maybe greenhouse. I know I override them, but can't remember where exactly.
- Arch666Angel
- Smart Inserter
- Posts: 1636
- Joined: Sun Oct 18, 2015 11:52 am
- Contact:
Re: Stack size overrides.
bobingabout wrote:Nope. Not for solid-fuel anyway.
There are a few stack size over-rides dotted around the place, but usually for ores, stone and coal, setting them all to 200 and wood and raw-wood, doubling their stack size. As for where they are... check ores, plates, electronics and maybe greenhouse. I know I override them, but can't remember where exactly.
Angels Mods
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
I. Angel's Mods Subforum
II. Development and Discussion
III. Bugs & FAQ
"should be fixed"
Re: Stack size overrides.
You can try BigBags mod that will multiply and/or set stack sizes for you based on config file parameters.
Mush easier then trying to edit mods to change stack sizes.
Mush easier then trying to edit mods to change stack sizes.
Re: Stack size overrides.
Thanks for the replies everyone. I actually found the issue this morning when I tried to restore the items.lua file from the original steam installation.
I copy the game out of steam into a new directory, so that if steam updates the game, the copy I'm running doesn't update. This works for all other steam games, however I've now found that even doing this, the new installation (installed into F:\Games\Factorio 138), still refers back to the steam installation (F:\Steam\SteamApps\Common\Factorio) configuration files.
All the changes I made to the lua fils in the separate installation have (somehow!) been replicated back into the configuration files in the Steam directory, including the change that inadvertently increased the solid_fuel stack_size to 20,000. When I changed that back to 100, it properly stacked again to 100.
I copy the game out of steam into a new directory, so that if steam updates the game, the copy I'm running doesn't update. This works for all other steam games, however I've now found that even doing this, the new installation (installed into F:\Games\Factorio 138), still refers back to the steam installation (F:\Steam\SteamApps\Common\Factorio) configuration files.
All the changes I made to the lua fils in the separate installation have (somehow!) been replicated back into the configuration files in the Steam directory, including the change that inadvertently increased the solid_fuel stack_size to 20,000. When I changed that back to 100, it properly stacked again to 100.
Re: Stack size overrides.
Factorio steam and exe installer save everything in %appdata%/factorio due to write restrictions on program files directory (typical default install directory), While you can get around this in a couple of ways the easiest would be to download the .zip version from factorio.comI copy the game out of steam into a new directory, so that if steam updates the game, the copy I'm running doesn't update. This works for all other steam games, however I've now found that even doing this, the new installation (installed into F:\Games\Factorio 138), still refers back to the steam installation (F:\Steam\SteamApps\Common\Factorio) configuration files.
Other options:
Delete %appdata%/factorio/config.lua
and change the bottom of /factorio 138/config-path.cfg to false
Re: Stack size overrides.
I'll definitely need to do this - I wouldn't want any steam-initiated Factorio update to overwrite the changes I've made to the base configuration files. I'll do this after work tonight.Nexela wrote:Factorio steam and exe installer save everything in %appdata%/factorio due to write restrictions on program files directory (typical default install directory), While you can get around this in a couple of ways the easiest would be to download the .zip version from factorio.comI copy the game out of steam into a new directory, so that if steam updates the game, the copy I'm running doesn't update. This works for all other steam games, however I've now found that even doing this, the new installation (installed into F:\Games\Factorio 138), still refers back to the steam installation (F:\Steam\SteamApps\Common\Factorio) configuration files.
Other options:
Delete %appdata%/factorio/config.lua
and change the bottom of /factorio 138/config-path.cfg to false