Page 1 of 1
Add resource_searching_offset to LuaEntityPrototype
Posted: Tue Oct 21, 2025 3:32 am
by robot256
It looks like
resource_searching_offset is not accessible from LuaEntityPrototype. Can you please add read access to it?
Re: Add resource_searching_offset to LuaEntityPrototype
Posted: Tue Oct 21, 2025 2:50 pm
by Bilka
Re: Add resource_searching_offset to LuaEntityPrototype
Posted: Tue Oct 21, 2025 3:18 pm
by robot256
Okay, thanks! And just to be clear, does the offset change the actual area that the mining drill extracts resources from, or does it only change where the mining area visualization is drawn?
Re: Add resource_searching_offset to LuaEntityPrototype
Posted: Tue Oct 21, 2025 3:29 pm
by Bilka
It changes the actual area. You can also read it runtime via
LuaEntity::mining_area.