I tried a mod called 'Compressed materials', but didn't like the steps needed to get it to work. So, I tried to edit some of the stack sizes of items. When I go to the game, the stack sizes haven't changed.
Can somebody tell me how to mod (some) of them?
How to increase stack_size parameter?
-
- Filter Inserter
- Posts: 292
- Joined: Mon Dec 07, 2015 10:45 pm
- Contact:
Re: How to increase stack_size parameter?
I don't know about that mod but stack sizes are usually modded by editing the data.lua (or creating a new one if there hasn't been one) and adding the following line:
This will set the stack_size of iron plates to 500.
The file may also be called data-updates.lua or data-final-fixes.lua. Later changes overwrite the earlier ones.
Code: Select all
data.raw["item"]["iron-plate"]["stack_size"] = 500
The file may also be called data-updates.lua or data-final-fixes.lua. Later changes overwrite the earlier ones.
-
- Filter Inserter
- Posts: 292
- Joined: Mon Dec 07, 2015 10:45 pm
- Contact:
Re: How to increase stack_size parameter?
Hmmm... I cannot find anything like the line you're mentioning.
So, if I add a data.lua with the specified line and zip it and put it in the mods folder it should work?
So, if I add a data.lua with the specified line and zip it and put it in the mods folder it should work?