Aluminum


Adds aluminum, alumina, cables, alloys and more to the game.

Content
2 months ago
2.0
2.30K
Mining Manufacturing

g Problem with Copper Cable

2 months ago

First of all, I wanted to thank you for porting Brevven's mods over to 2.0, even temporarily. I had started a K2-SE run with all his mods shortly before the update to 2.0, and having a chance to try again with the new Factorio version is absolutely wonderful!

I am currently attempting to play a "Very BZ" kind of run with your mods, along with Krastorio 2 and Space Exploration. When this mod, Space Exploration, and Krastorio 2 are enabled together, the copper cable item is locked out of all crafting menus. The recipe shows up in Factoriopedia, but nothing shows up in the "unlocked by" section. After testing all the mods I had enabled at the time, I have found that the problem only occurs when Space Exploration, Krastorio 2, and Aluminum - Legacy are all active. I have no idea what may be causing it; I can only hope that someone more experienced in coding than I can figure the problem out.

I have included an example save file here, with only the three mods that appear to be causing the problem, along with their dependancies. In this save file, if you look at the "copper cable" item in Factoriopedia, you will find that the "unlocked by" section is empty. You will also find that the recipe for copper cable does not show up in the character crafting menu, or in the selection menu of any assembler. I truly wish I could do more to help fix this, but learning everything I would need to about coding would likely take months, if not years.

Again, thank you for your hard work and time spent in adapting these mods. Even if this never gets fixed, I'll still be able to do without the aluminum mod, and I'll still be grateful for the fun these mods have provided.

Save File: https://drive.google.com/file/d/1UXB_GJoocBT7-nZrJ2Joi8FGrQWP5-tR/view?usp=drive_link

2 months ago
(updated 2 months ago)

@theuberninja262

If you're familiar with basic .lua coding, you code add following:

local tech = data.raw.technology["copper-processing"]

if tech and tech.effects then
table.insert(tech.effects, { type = "unlock-recipe", recipe = "copper-cable" })
end

to a "data-final-fixes.lua" file in a personal mod.

This fixes the issue for now, although I'm still unsure what causes it to begin with. I've messaged @cacklingfiend on discord.

2 months ago

Step 1: Fix unlocks with just this mod active
Done

2 months ago

Step 2: Fix unlocks with Krastorio active
Done

2 months ago

Step 3: Fix unlocks with AAI Industry / SE
Done

2 months ago

Step 4: Fix the combination
Done

2 months ago

It's released. Please have a look again.

2 months ago

Thank you so much! Oh, this is going to be so much fun!

2 months ago

If your mod selection is still boring, play this: https://mods.factorio.com/mod/all-the-overhaul-modpack :-)

New response