Stack size overrides.

Some mods, made by Bob. Basically streaks every Factroio-area.

Moderator: bobingabout

OzHawkeye
Inserter
Inserter
Posts: 28
Joined: Mon Aug 24, 2015 12:25 pm
Contact:

Stack size overrides.

Post by OzHawkeye »

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?
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Stack size overrides.

Post by bobingabout »

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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
User avatar
Arch666Angel
Smart Inserter
Smart Inserter
Posts: 1636
Joined: Sun Oct 18, 2015 11:52 am
Contact:

Re: Stack size overrides.

Post by Arch666Angel »

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.
Image
orzelek
Smart Inserter
Smart Inserter
Posts: 3924
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: Stack size overrides.

Post by orzelek »

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.
OzHawkeye
Inserter
Inserter
Posts: 28
Joined: Mon Aug 24, 2015 12:25 pm
Contact:

Re: Stack size overrides.

Post by OzHawkeye »

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.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Stack size overrides.

Post by Nexela »

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.
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.com


Other options:
Delete %appdata%/factorio/config.lua
and change the bottom of /factorio 138/config-path.cfg to false
OzHawkeye
Inserter
Inserter
Posts: 28
Joined: Mon Aug 24, 2015 12:25 pm
Contact:

Re: Stack size overrides.

Post by OzHawkeye »

Nexela wrote:
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.
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.com


Other options:
Delete %appdata%/factorio/config.lua
and change the bottom of /factorio 138/config-path.cfg to false
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.
Post Reply

Return to “Bob's mods”