Factorio+

by fishbus

A mod that builds upon and tweaks the vanilla experience with a little bit of everything: crafting, resources, vehicles, enemies and weapons. Allows players to find the builds they like and have more things to play with inside that domain.

Overhaul
7 days ago
0.18 - 2.0
9.63K
Transportation Logistics Combat Armor Enemies Mining Fluids Logistic network Manufacturing Power Storage

b Tech Overrides Preventing Modded Item Unlocks

2 months ago
(updated 2 months ago)

Posting due to an issue I've found with the way several techs are altered. I noticed Factorio+ redefines many vanilla techs entirely rather than modifying them with data.raw, which in my testing has caused some modded items that load before this one to lose their tech unlocks. In my case, it's the tier 1 loader from Deadlock's Stacking Beltboxes and Compact Loaders. While all of the higher tier ones appear, they're uncraftable as the tier 1 no longer gets unlocked by Logistics 1. By chance, would you be able to make your targeted changes through data.raw and table.insert rather than redefining the entire techs?

For example, this seems to accomplish your changes to Logistics 1

 data.raw["technology"]["logistics"].unit = { count = 100, ingredients = { {"automation-science-pack", 1}, }, time = 20 }
 data.raw["technology"]["logistics"].prerequisites = {"logistics-basic"}
 table.insert(data.raw["technology"]["logistics"].effects,{type = "unlock-recipe",recipe = "transport-belt"});
2 months ago

Hey Dwarftech!

Yes, agreed 100%, a lot of things are full redefines where table inserts would be better and cleaner to work with other mods.

I will be taking some time to clean up the mess soon enough X)

Cheers!

2 months ago

Cheers indeed!
: 3

2 months ago

If there are any others, let me know.

2 months ago

This should be fixed in latest (0.2.70)

2 months ago

Will do! Thanks again for taking care of that, especially as quickly as you were able. In theory, it should only be vanilla tech replacements that would cause any issue, so all should be good. I'll keep an eye out though, and let you know if anything else springs up. Good luck with the ongoing mod development!

New response