Add resource_searching_offset to LuaEntityPrototype
Add resource_searching_offset to LuaEntityPrototype
It looks like resource_searching_offset is not accessible from LuaEntityPrototype. Can you please add read access to it?
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Re: Add resource_searching_offset to LuaEntityPrototype
You can read it through radius_visualisation_specification::offset.
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: Add resource_searching_offset to LuaEntityPrototype
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?
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Re: Add resource_searching_offset to LuaEntityPrototype
It changes the actual area. You can also read it runtime via LuaEntity::mining_area.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

