Page 1 of 1
LuaPlayer:mining_progress
Posted: Fri May 17, 2019 12:20 pm
by Earendel
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?
Re: LuaPlayer:mining_progress
Posted: Sun May 19, 2019 8:25 pm
by Bilka
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).
Re: LuaPlayer:mining_progress
Posted: Mon May 20, 2019 12:06 am
by Earendel
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.