I've encountered two bugs at once while making custom scenario.
Bug #1
LuaEntity.rocket_parts cannot be set to 0
The error states "Amount has to be greater than 0", making it impossible to clear a rocket silo from rocket parts through LUA
Bug #2
It is possible that LUA error message locks the game
Steps to reproduce:
- Open the rocket silo window
- Move it a little bit (just few pixels)
- Cause lua error somehow
Result:
Error panel is below the rocket silo panel, ant the rocket silo panel becomes immovable, so it is impossible to do anything except alt+f4
If you skip step 2, error panel displays above (works as expected)
[0.14.19] LuaEntity.rocket_parts cannot be set to 0
-
- Inserter
- Posts: 29
- Joined: Fri Mar 04, 2016 12:58 pm
- Contact:
Re: [0.14.19] LuaEntity.rocket_parts cannot be set to 0
Thanks for the report,
However neither of these are bugs,
In the first case, you can set rockets parts to any number cllose to 0, just as 0.0001, and it will round down to 0
In the second case, you have made a script error, Gui interactons alongside script errors are not something that are easy, or a priority to fix,
And these can happen with many of the guis in game
The gui is being reworked for 0.15,
So the error dialog issue might be fixed
However neither of these are bugs,
In the first case, you can set rockets parts to any number cllose to 0, just as 0.0001, and it will round down to 0
In the second case, you have made a script error, Gui interactons alongside script errors are not something that are easy, or a priority to fix,
And these can happen with many of the guis in game
The gui is being reworked for 0.15,
So the error dialog issue might be fixed