
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.