Dont mark content as BuiltIn if its not from the basegame #319
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.
Currently SML lets mods register their content, content registration automatically traverses dependencies from research tree > schematic > recipe > item, this way if a mod for example adds a new recipe for
iron plates
it will be registered as if the mod owns itAfter that SML will do a pass with all schematics from the base game, and it will force update anything referenced by these base game schematics to also be considered as part of the base game
This causes an issue when you set a mod schematic as an unlock dependency for an base game schematic, for example if a mod adds an milestone schematic that gives earlier access to pipes, and that mod wants to make sure that when that milestone is obtained the player can also buy the clear pipes variant, the mod would need to CDO edit the clear pipes unlock dependency to point to its mod milestone schematic, This however causes the mod milestone schematic to be force marked as part of the base game, and that results in it not getting properly registered and become unusable by the player
This PR makes sure that only content actually from the base game can be marked as coming from the base game
Fix for #248