While the player does not have a character attached they can still mine entities and have a mining progress bar, but the progress in not readable or writable.
Please can we have read/write access to this property?
LuaPlayer:mining_progress
Re: LuaPlayer:mining_progress
From what I can see, it is also not readable for characters...? (This doesn't speak against adding it, I am just confused by your statement).
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: LuaPlayer:mining_progress
I don't think that you can read/write it for a character either.
There are things like https://lua-api.factorio.com/latest/Lua ... d_modifier that can be set for a character but not a god controller, so I specified player not character because I need it specifically for when the player does not have a character.
There are things like https://lua-api.factorio.com/latest/Lua ... d_modifier that can be set for a character but not a god controller, so I specified player not character because I need it specifically for when the player does not have a character.