When trying to set the technology_difficutly or the recipe_difficulty to a number other than 0 or 1 the error message will be incredibly unhelpful:
Setting to 1.5 or 0.5 doesn't give an error and sets to 1 and 0 respectively.
When setting the value in control.lua, the error message will also not show which function or line the error is in, only the event is shown, and that also has no line:
I was also under assumption that the difficulty could only be set using the http://lua-api.factorio.com/latest/defi ... y_settings , and not using 0 and 1.
[0.15.32] Incredibly unhelpful error message
[0.15.32] Incredibly unhelpful error message
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.15.32] Incredibly unhelpful error message
Thanks for the report. The error message will be fixed in next release.
Values of those defines are just numbers.
Values of those defines are just numbers.