LuaPlayer:mining_progress

User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 720
Joined: Sun Nov 23, 2014 11:57 am
Contact:

LuaPlayer:mining_progress

Post 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?
Bilka
Factorio Staff
Factorio Staff
Posts: 3717
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: LuaPlayer:mining_progress

Post 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).
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 720
Joined: Sun Nov 23, 2014 11:57 am
Contact:

Re: LuaPlayer:mining_progress

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16761
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: LuaPlayer:mining_progress

Post by Rseding91 »

Added for 2.1.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Implemented mod requests”