Page 11 of 11
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Mon Nov 01, 2021 1:54 pm
by ps666
I thought it was only increasing the stack size in my inventory, but it increases it EVERYWHERE! That sucks.
If I remove the mod now, will I lose everything above the normal stack size?
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Sun Nov 07, 2021 10:54 pm
by myricaulus
ps666 wrote: Mon Nov 01, 2021 1:54 pm
I thought it was only increasing the stack size in my inventory, but it increases it EVERYWHERE! That sucks.
If I remove the mod now, will I lose everything above the normal stack size?
Sorry, i guess reducing stack size will destroy anything above that limit if factorio isn't handling it itself(which i don't know), but of you load your savegame directly with another stack mod *it should* take over the original stacks, as long as the new stack mod increases the stack size enough.
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Tue Nov 09, 2021 9:17 am
by Pi-C
myricaulus wrote: Sun Nov 07, 2021 10:54 pm
ps666 wrote: Mon Nov 01, 2021 1:54 pm
I thought it was only increasing the stack size in my inventory, but it increases it EVERYWHERE! That sucks.
If I remove the mod now, will I lose everything above the normal stack size?
Sorry, i guess reducing stack size will destroy anything above that limit if factorio isn't handling it itself
Actually, if there is an inventory with oversized stacks the items will be kept, so you won't lose anything. However, all calculations will be based on the new stack size. Let's say you have a stack of 200 iron plates, and stack size has been reduced to 100. If you use right-click to pick up half a stack, you will take 50 iron plates, not 100, and if you try to put those 50 plates back you will end up with one (oversized) stack of 150 plates and a new stack of 50 plates.
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Fri Nov 19, 2021 6:57 pm
by myricaulus
Pi-C wrote: Tue Nov 09, 2021 9:17 am
Actually, if there is an inventory with oversized stacks the items will be kept, so you won't lose anything. However, all calculations will be based on the new stack size. Let's say you have a stack of 200 iron plates, and stack size has been reduced to 100. If you use right-click to pick up half a stack, you will take 50 iron plates, not 100, and if you try to put those 50 plates back you will end up with one (oversized) stack of 150 plates and a new stack of 50 plates.
Good to know that factorio handles this case. Rimworld would have lost the items.
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Sun Nov 21, 2021 2:22 am
by ZogTheHog
Has anyone had this issue still with the Inventory size staying huge even after deleting this mod? I love the stack size feature but I research too many bags and now my inventory pane is ungodly big. I tried deleting the mod settings file, I am not sure what to do. Is there something I can edit to reduce it back down?
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Thu Dec 22, 2022 10:59 am
by hcoutdopi
Failed to load modes: Error while loading item prototype "caravan-control" (capsule): 'stack_size' must be 1 when ot-stackable is set.
Modifications: Pyanodons AlienLife >Big Bags (more space in bags +longer reach)
getting error with the latest Pyanodons AlienLife 2.0.6
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Wed Oct 23, 2024 1:12 am
by GodCat
I am willing to release a new version but reaching out first for BinbinHfr to see if he wants to modify it for v2.0
I don't know Lua, but I think I got everything working again.
Modifications Required:
info.json
Code: Select all
"factorio_version":"2.0",
"dependencies": ["base >= 2.0"]
data.lua
Code: Select all
-- worker-robots-storage
..
effects = {
{
type = "worker-robot-storage",
modifier = "1" <- 1.0 (double)
}
},
-- worker-robots-speed
...
effects = {
{
type = "worker-robot-speed",
modifier = "0.8" <- 0.8 (double)
}
},
data-final-fixes.lua
Prototype Capsules that have flags['not-stackable'] must have stack_size set to 1.
Code: Select all
-- capsule stacks
for _, caps in pairs(data.raw["capsule"]) do
caps.stack_size = new_size( caps.stack_size, my_stack_offset, my_stack_factor )
end
Converts to something like this.
Code: Select all
-- Function to check if a value exists in a table
function table_contains(table, value)
for _, v in pairs(table) do
if v == value then
return true
end
end
return false
end
for _, caps in pairs(data.raw["capsule"]) do
-- Check if the capsule has the 'not-stackable' flag
if caps.flags and table_contains(caps.flags, "not-stackable") then
-- Set stack_size to 1 if it's not stackable
caps.stack_size = 1
else
-- Otherwise, set stack_size normally
caps.stack_size = new_size(caps.stack_size, my_stack_offset, my_stack_factor)
end
end
I will keep testing it, but it's also attached for review.
BigBags_1.1.0.zip
Big Bags for Factorio 2.0?
Posted: Thu Oct 24, 2024 11:41 am
by Steppenwolf
GodCat wrote: Wed Oct 23, 2024 1:12 am
I am willing to release a new version but reaching out first for BinbinHfr to see if he wants to modify it for v2.0
I don't know Lua, but I think I got everything working again.
...
BigBags_1.1.0.zip
Hey, s it possible that you will release the updated version? "BinbinHfr" has not been active here for a long time.
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Thu Oct 24, 2024 2:52 pm
by GodCat
Yeah if others are interested. I don't know if I have the bandwidth to maintain it long term but I could start with this today and see how it goes.
In the mod, it requests that I try and reach out to the author first.
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Sat Oct 26, 2024 12:14 pm
by RKDuke
Yes, please do!
Re: [MOD 0.13] Big Bags - more space in your bags
Posted: Wed May 28, 2025 2:23 pm
by MunchyG
can you add a config option to disable the extra worker robot research to allow compatibility with other mods that affect that tech