FCT's Barreling Machine for Pelagos

by Kryzeth

Fixes FCT's Auto-Barreling Machine when Talandar's Barreling Machines or Pelagos planet mods are enabled.

Tweaks
a month ago
2.0
114
Manufacturing

i [Implemented] add ibc-final-fixes.lua

2 months ago

if not mods["fct-intermediate-bulk-containers"] then return end

for name, recipe in pairs(data.raw.recipe) do

if (string.match(name, "^fill%-.*%-pallet$") or string.match(name, "^empty%-.*%-pallet$") or
    string.match(name, "^fill%-.*%-ibc$") or string.match(name, "^empty%-.*%-ibc$") or
    string.match(name, "^fill%-.*%-tank$") or string.match(name, "^empty%-.*%-tank$")) then

    recipe.category = "barreling"

end

end

and info‘s dependencies add:"? fct-intermediate-bulk-containers"
data-final-fixes add:require("ibc-final-fixes")

2 months ago

Sorry for taking so long to get around to this, implemented the compatibility in v1.0.3

2 months ago
(updated 2 months ago)

Add a line of code:
recipe.category = "barreling"
++ recipe.hide_from_player_crafting = true
end
end

a month ago

Is that necessary? The recipes already don't appear in the player crafting menu, at least from my testing.

a month ago

Is that necessary? The recipes already don't appear in the player crafting menu, at least from my testing.

I'm playing with a large modpack of Razi and added some auxiliary mods that don't change the flow. Maybe it's the mod that puts all the buckets in one group that's working, because the bucket groups are showing up when I'm playing...
Oh, the recipes for fct-intermediate-bulk-containers are showing up.

a month ago

Are you sure it's the recipes? Because from my testing, the recipes are already marked as "hidden", which basically covers hidden_from_factoriopedia and hidden_from_player_crafting. I have noticed that the items do appear in the factoriopedia, but so far, haven't seen them in any crafting menu

a month ago

Are you sure it's the recipes? Because from my testing, the recipes are already marked as "hidden", which basically covers hidden_from_factoriopedia and hidden_from_player_crafting. I have noticed that the items do appear in the factoriopedia, but so far, haven't seen them in any crafting menu

the recipes for fct-intermediate-bulk-containers will showing up。Others will not

a month ago
(updated a month ago)

I see it now, Barreling Group was causing the recipes to become unhidden for some reason. Should be fixed in v1.0.4

a month ago
(updated a month ago)

I see it now, Barreling Group was causing the recipes to become unhidden for some reason. Should be fixed in v1.0.4


if not mods["fct-intermediate-bulk-containers"] then return end
for name, recipe in pairs(data.raw.recipe) do
if (string.match(name, "^fill%-.%-pallet$") or string.match(name, "^empty%-.%-pallet$") or
string.match(name, "^fill%-.%-ibc$") or string.match(name, "^empty%-.%-ibc$") or
string.match(name, "^fill%-.%-tank$") or string.match(name, "^empty%-.%-tank$")) then
recipe.category = "barreling"
recipe.hide_from_player_crafting = true
end
end

I recently returned to the game and found that the functionality wasn't working with your code—the recipes had reverted to the assembler. However, using the code I mentioned earlier works perfectly.
Version 2.1 is ready for an update; you might as well fix this bug while you're at it.

a month ago
(updated a month ago)

I'm honestly not sure what configuration of mods you have that causes this, but when testing with just FCT's Barreling Machines, Intermediate Bulk Containers, and this mod; the IBC filling/emptying recipes do not appear in either factoriopedia or in the crafting menu (neither player nor assembler), and they both process correctly in the FTC barreling machine. I also tested with Pelagos, then tested with the planets in the 2.0 version of All Planets Lite, and still couldn't reproduce any of the issues.

I added recipe.hide_from_player_crafting = true, since it wouldn't change anything for me anyways, but might end up fixing the problem for you.

I likely won't be updating this mod to the 2.1 version of Factorio, until/unless FCT updates their own mods first

a month ago
(updated a month ago)

I'm honestly not sure what configuration of mods you have that causes this, but when testing with just FCT's Barreling Machines, Intermediate Bulk Containers, and this mod; the IBC filling/emptying recipes do not appear in either factoriopedia or in the crafting menu (neither player nor assembler), and they both process correctly in the FTC barreling machine. I also tested with Pelagos, then tested with the planets in the 2.0 version of All Planets Lite, and still couldn't reproduce any of the issues.

I added recipe.hide_from_player_crafting = true, since it wouldn't change anything for me anyways, but might end up fixing the problem for you.

I likely won't be updating this mod to the 2.1 version of Factorio, until/unless FCT updates their own mods first

Razi Protocol

New response