LuaPlayer:mining_progress

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Earendel
Factorio Staff
Factorio Staff
Posts: 711
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: 3133
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: 711
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.

Post Reply

Return to “Modding interface requests”