Open Rybadour opened 4 years ago
Couple things were failing because we weren't processing the "settings.lua" file. Added that but there are still a few more lingering issues...
A couple mods make reference to base module in their Lua. Seems like we'll need to setup the base mod as a this "module".
Need to create a global called "mods" that contains a dictionary of mod name mapped to mod version: https://forums.factorio.com/viewtopic.php?f=185&t=84796&p=493643#p493643
https://lua-api.factorio.com/latest/Data-Lifecycle.html
When Factorio first starts, a single shared Lua state is created to process and collect mod setting prototype data from each mod into a global table named data. Additionally, a global table named mods exists that contains a mapping of mod name to mod version for all enabled mods.
Fixed most of the issues. Now Bobs + Angels loads most of the recipes. There are few smaller issues remaining:
The following files could not be loaded due to errors:
C:\Users\Ryan\AppData\Local\Temp\angelsbioprocessing_0.7.8\angelsbioprocessing_0.7.8\data.lua (invalid key to 'next')
C:\Users\Ryan\AppData\Local\Temp\angelspetrochem_0.9.8\angelspetrochem_0.9.8\data-final-fixes.lua (...petrochem_0.9.8\prototypes\petrochem-global-override.lua:194: attempt to index field 'sulfuric-nitric-acid' (a nil value))
Load up Foreman with Factorio 0.18 and Bobs Mods updated to support Factorio 0.18. Verify that it works reasonably.
There are likely existing issue that have nothing to do with 0.18 compatibility so it may be difficult to differentiate between the two. Try to summarize the issues found and add them to this project.