After updating the mod to 1.0 Factorio fails to load with the following error message:
Failed to load mods: __aai-loaders-bobs__/data-updates.lua:71: attempt to perform arithmetic on a boolean value
stack traceback:
__aai-loaders-bobs__/data-updates.lua:71: in main chunk
Steps to reproduce:
1. Start Factorio
2. Enable only the following mods:
Base mod
Bob's Functions Library mod
Bob's Logistics mod
AAI Loaders
3. Confirm and restart Factorio
4. Reset the mod settings to default
5. In the mod settings change Startup settings > AAI Loaders > Operation mode
to Expensive (no fluid usage)
6. Confirm and restart
7. Enable AAI Loaders: Bob's Mods
8. Confirm and restart
9. Observe the mentioned error
This also happens if Startup settings > AAI Loaders > Add lubricant recipe
is not on Auto
.
While assuming default settings for AAI Loaders is reasonable I still suggest adding some kind of check to the mod or a disclaimer on the information page at the Mod Portal. Furthermore it currently prevents playing on expensive mode.