Turbo belt space age compatibility#569
Open
Qatavin wants to merge 31 commits intomodded-factorio:devfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to #549
Renames bob-turbo belts to just turbo belts in order to have them overwrite vanilla Space Age turbo belts - the simplest solution to resolving the redundancy. Adds migration to this effect as well. Hides vanilla turbo belt tech and replaces with Logistics 4. Also updates AAI loaders (the AAI loader for vanilla turbo belts already had the same name as Bob's turbo loader).
Also fixes the issue of overwriting people's blueprint books.
I also added a new function to the Library - replace_prerequisite_in_all. For cases like this one where we're hiding a tech in order to effectively replace it with another tech. In this example, there are no techs that follow vanilla Turbo Transport Belt, but it's possible that some Space Age planet mod adds them.