Lignumis


Dive into the world of Lignumis, a moon of Nauvis offering only the most basic technologies.

Content
a day ago
2.0 - 2.1
28.0K
Factorio: Space Age Icon Space Age Mod
Planets Logistics Environment Mining Fluids Manufacturing

b ✅ wood-transport-belt: Duplicate item ingredients are not allowed

a month ago
(updated a month ago)
Error while running setup for recipe prototype "transport-belt" (recipe): Duplicate item ingredients are not allowed (wood-transport-belt exists 2 or more times).

Not 100% sure, but I think it's
- this guy https://github.com/SafTheLamb/fm-wood-logistics/blob/76c1775d9a247d1d4916a043c35efb21c2903d0b/base-data-updates.lua#L35 adding a wood-transport-belt to vanilla transport-belt, and then
- you replace the recipe's iron-plate with another wood-transport-belt in https://git.cacklingfiend.info/cacklingfiend/lignumis/src/commit/ccbaa5b91d011f9e2ba9943a7197d16cc2abd329/lignumis/prototypes/integrations/vanilla.lua#L156

I'm trying to go 2.1 with the same mods I have in 2.0; In 2.0, this error didn't appear, but there I haven't had AAI Industries active.

Apparently now in 2.1, some mod needs it active, thus
- https://github.com/SafTheLamb/fm-wood-logistics/blob/76c1775d9a247d1d4916a043c35efb21c2903d0b/base-data-updates.lua#L34 is true
- in 2.0 without AAI Industries, the iron-plate was already replaced here https://github.com/SafTheLamb/fm-wood-logistics/blob/76c1775d9a247d1d4916a043c35efb21c2903d0b/base-data-updates.lua#L37 so
- your replacement didn't add another wood-transport-belt since the iron-plate is already gone

So I tried to replace https://git.cacklingfiend.info/cacklingfiend/lignumis/src/commit/ccbaa5b91d011f9e2ba9943a7197d16cc2abd329/lignumis/prototypes/integrations/vanilla.lua#L156 with:

    Recipe:new("transport-belt"):removeIngredient("wood-transport-belt")
    Recipe:new("transport-belt"):removeIngredient("iron-plate")
    Recipe:new("transport-belt"):addIngredient("wood-transport-belt", 2)

EDIT: Hm I wonder if you could even fix this at Recipe:replaceIngredient in your cf_lib... maybe if the ingredient is already there, still remove the old one and either the additional amout to the "new" (but already exiting) ingredient or replace the amout with what you wanted it to set to...

a month ago

So what's your mod combination?
Wooden Logistics, AAI Industry and Lignumis? With telescopic belt recipe on?

a month ago

Yes, telescopic belts are on; and at least those three mods you mentioned (actually some mod requires AAI Industry in my 2.1 setup, in 2.0 I didn't need it, that's why it probably never popped up there).

Both settings wood-logistics-belts and wood-logistics-belts-modify are true.

14 days ago

Fixed

New response