Page 1 of 1

is there a stack size list?

Posted: Sat Apr 10, 2021 4:41 pm
by LoneWolf_LWP
Like the subject is already telling,

Is there a list with all items + stack size?
i'm building a system that needs to know the stack sizes to function so a list would be helpfull instead of either
1. waiting till i produce a full stack
2. go into creative to create them all and transfer that then to my main map. (if no list is out there this will be the way i guess :( )

thank you for your time.

Re: is there a stack size list?

Posted: Sat Apr 10, 2021 7:09 pm
by jodokus31
call this:

Code: Select all

/c for _, item in pairs(game.item_prototypes) do log(item.name..": "..item.stack_size) end
and grab the list from the log-file

or hover over the item (f.e. in a chest) and press Ctrl-Shift+F . The window opens the item prototype and you need to check the value of stack_size

Re: is there a stack size list?

Posted: Sat Apr 10, 2021 8:51 pm
by eradicator
If you install Eradicator's /sudo then you can use

Code: Select all

/sudo spawn_creative_chests()
to spawn in a bunch of chests containing exactly one stack of every item in the game. Or you can get the code from the web and adjust it to your needs. Btw, "every" really means every - it includes stuff that is not optainable via normal gameplay.

Then you just need to wire up all the chests to the circuit network to get a signal for all stack sizes.

Re: is there a stack size list?

Posted: Sun Apr 11, 2021 10:51 am
by LoneWolf_LWP
Thank you

Re: is there a stack size list?

Posted: Wed Jun 02, 2021 8:12 am
by error0664
i can also recommend using this mod - i use it to look up for stack sizes
https://mods.factorio.com/mod/extended-descriptions

Re: is there a stack size list?

Posted: Mon Jun 28, 2021 10:02 am
by BlueTemplar
Debug mode with show-debug-info-in-tooltips is also an option (though only for item by item checking).