[MOD 0.16.x] Large Chests
Re: [MOD 0.15.x] Large Chests
How come the iron and steel chests don't use lower-tier chest of the same metal? Seems odd that an iron chest would require wood and a a steel chest would reqire iron, no? It also means not being able to upgrade steel chests. Which files would I need to change to make this possible? Thanks.
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.15.x] Large Chests
That is because i wanted a way to recycle iron chests once upon a time. Recipes in this game are weird. I had also made furnaces used to make steel furnaces and those to make electric furnaces for the same reason in another mod.
If you want to change it mess with the recipe definition files.
If you want to change it mess with the recipe definition files.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [MOD 0.15.x] Large Chests
OK, I edited chest-recipe.lua with this, which I feel is more realistic:
Code: Select all
data:extend(
{
{
type = "recipe",
name = "wooden-chest-medium",
enabled = true,
ingredients =
{
{"wooden-chest", 8},
{"wood", 8}
},
result = "wooden-chest-medium"
},
{
type = "recipe",
name = "iron-chest-medium",
enabled = false,
ingredients =
{
{"iron-chest", 1},
{"iron-plate", 16}, -- 24
},
result = "iron-chest-medium"
},
{
type = "recipe",
name = "steel-chest-medium",
enabled = false,
ingredients =
{
{"steel-chest", 1},
{"steel-plate", 32} -- 24
},
result = "steel-chest-medium"
},
{
type = "recipe",
name = "wooden-chest-big",
enabled = false,
ingredients =
{
{"wooden-chest-medium", 1},
{"wood", 16}
},
result = "wooden-chest-big"
},
{
type = "recipe",
name = "iron-chest-big",
enabled = false,
ingredients =
{
{"iron-chest-medium", 1},
{"iron-plate", 32},
},
result = "iron-chest-big"
},
{
type = "recipe",
name = "steel-chest-big",
enabled = false,
ingredients =
{
{"steel-chest-medium", 1},
{"steel-plate", 64} -- 48
},
result = "steel-chest-big"
},
}
)
data.raw["recipe"]["iron-chest"].ingredients =
{
{"iron-plate", 8}
}
data.raw["recipe"]["steel-chest"].ingredients =
{
{"steel-plate", 8}
}
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.15.x] Large Chests
@Eep
Your medium wooden chest is using 8 small chests, instead of 1 which you probably intended.
I am planning to add mod-config options to allow for that kind of thing as an alternate recipe. Probably have iron to steel and wood to iron as separate (Wood can be burned, iron not so much)
Could also have that scale up instead of scale to the right like you are doing, it just seemed wrong to me.
@Peter34 Finally removed buffer chests. If they exist, they are replaced with steel chests (and limit themselves to 2 slots interestingly enough)
Hopefully getting back into Factorio modding again, but who knows.
Your medium wooden chest is using 8 small chests, instead of 1 which you probably intended.
I am planning to add mod-config options to allow for that kind of thing as an alternate recipe. Probably have iron to steel and wood to iron as separate (Wood can be burned, iron not so much)
Could also have that scale up instead of scale to the right like you are doing, it just seemed wrong to me.
@Peter34 Finally removed buffer chests. If they exist, they are replaced with steel chests (and limit themselves to 2 slots interestingly enough)
Hopefully getting back into Factorio modding again, but who knows.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.15.x] Large Chests
v15.2.1
Buffer Chest removed.
If you have buffer chests, they will be replaced with steel chests.
Buffer Chest removed.
If you have buffer chests, they will be replaced with steel chests.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.15.x] Large Chests
Heh. When I update this mod to Factorio 0.16, I will have to add buffer chests back in. XD
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [MOD 0.15.x] Large Chests
Your mod is awesome!
Are you planning to update it to 0.16 anytime soon?
Thank you!
Are you planning to update it to 0.16 anytime soon?
Thank you!
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.15.x] Large Chests
Yea. Unfortunately this particular mod needs significant work. Quite a few things have changed under the hood so it will take longer.
Not just the icons, but the addition of the buffer chest and some of the attributes are different.
Edit:
URghhhh...
Gonna take a while.
Edit2:
URGHHHHHHH.
So, Chest prototypes are quite a bit different than they were when I... Copied code from Dytech to make a standalone mod.
The circuit network stuff instead of being a set of coordinate values is now a function call which I can't find the source of. (It was in "Core/lualib", I never opened Core before... XD)
Chest health was buffed, and they have their own resistances now, which I have to integrate.
Icon size requirement was easy to do.
Requester chests have to have a number of requester slots now, apperently.
So Its coming along slowly.
Not just the icons, but the addition of the buffer chest and some of the attributes are different.
Edit:
URghhhh...
Gonna take a while.
Edit2:
URGHHHHHHH.
So, Chest prototypes are quite a bit different than they were when I... Copied code from Dytech to make a standalone mod.
The circuit network stuff instead of being a set of coordinate values is now a function call which I can't find the source of. (It was in "Core/lualib", I never opened Core before... XD)
Chest health was buffed, and they have their own resistances now, which I have to integrate.
Icon size requirement was easy to do.
Requester chests have to have a number of requester slots now, apperently.
So Its coming along slowly.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.16.x] Large Chests
Updated for V16
Added buffer chest back in XD
But seriously, had to add the T2 and T3 version of vanilla buffer chest, just after removing the custom tiny chest.
Should work with existing games. Migration script appears to work, but whoknows.
Resistances adjusted.
At some point chests got tougher, and got fire and impact resistance. As such, that is now included in all of the chests.
fire and impact resistance grows slowly, with 3x3 steel/logistic chests having fire immunity, and impact at 80%
Physical, explosive, and acid resistances slowly scale up with size and material, capping at 4 + 50% resistance each.
Requester and Buffer chests have 12/18/24 request slots at size 1/2/3, so larger chests can request more item types (If you want)
Should be reasonable enough.
Might have missed something. Report any issues please.
Added buffer chest back in XD
But seriously, had to add the T2 and T3 version of vanilla buffer chest, just after removing the custom tiny chest.
Should work with existing games. Migration script appears to work, but whoknows.
Resistances adjusted.
At some point chests got tougher, and got fire and impact resistance. As such, that is now included in all of the chests.
fire and impact resistance grows slowly, with 3x3 steel/logistic chests having fire immunity, and impact at 80%
Physical, explosive, and acid resistances slowly scale up with size and material, capping at 4 + 50% resistance each.
Requester and Buffer chests have 12/18/24 request slots at size 1/2/3, so larger chests can request more item types (If you want)
Should be reasonable enough.
Might have missed something. Report any issues please.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: [MOD 0.16.x] Large Chests
Can you make a toggle to where the wooden chest version is not required for the iron chest version. It is proving problematic in tree-less simulations (i.e moon, Mars).
Regards,
~B
Regards,
~B
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.16.x] Large Chests
This new version SHOULD work. Mod options let you set chests to use wood-> iron upgrades, and two others, letting you upgrade from small to large or weak to strong, or both.
That said, first time I messed with mod options, and not 100% sure it will work correctly.
Will set as proper update as soon as I am confidant it works right.
That said, first time I messed with mod options, and not 100% sure it will work correctly.
Will set as proper update as soon as I am confidant it works right.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
- Ranakastrasz
- Smart Inserter
- Posts: 2173
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: [MOD 0.16.x] Large Chests
V16.1.1
Added Mod settings for Wood/Upgrade recipes.
You can disable using wood for iron/iron for steel, and using small for medium/medium for large.
Not 100% sure it works as intended, report any issues please. (First time with script-altering recipes, and mod options, so yea)
Added Mod settings for Wood/Upgrade recipes.
You can disable using wood for iron/iron for steel, and using small for medium/medium for large.
Not 100% sure it works as intended, report any issues please. (First time with script-altering recipes, and mod options, so yea)
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
-
- Burner Inserter
- Posts: 9
- Joined: Wed Jan 20, 2016 2:59 pm
- Contact:
Re: [MOD 0.16.x] Large Chests
Can you add the logistic storage chests function to filter items to big ones?
Re: [MOD 0.16.x] Large Chests
Was wondering if you planned to update this for 0.17.x? If not, I got some LUA reading to do.