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
100
Manufacturing

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

a month 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")

a month ago

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

a month ago
(updated a month 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

8 days ago
(updated 8 days 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.

New response