modded-factorio / bobsmods

Factorio mods by Bobingabout
https://mods.factorio.com/user/Bobingabout
Other
65 stars 31 forks source link

2.0 BobLibrary #208

Closed Qatavin closed 2 weeks ago

Qatavin commented 3 weeks ago

item-functions:

function bobmods.lib.item.result has a similar issue.

error-functions:

module-functions:

technology-functions:

KiwiHawk commented 2 weeks ago

I've removed the prerequisites check entirely. I'd rather not have debug functions in the library. If it is useful, it can always be recreated as a separate mod. Or even added to Angel's Unit Test mod.

Qatavin commented 1 week ago

Spotted an issue with the new functions bobmods.lib.recipe.allow_productivity() and bobmods.lib.recipe.disallow_productivity(). Both are missing their argument. Should be (recipe_name).

KiwiHawk commented 1 week ago

Good catch! Thanks. Clearly I tested it thoroughly 🤦‍♂️