Offset pos for resource_searching_radius

User avatar
Fishbus
Inserter
Inserter
Posts: 49
Joined: Sat Sep 28, 2024 8:20 pm
Contact:

Offset pos for resource_searching_radius

Post by Fishbus »

Heya,

I have a drill/sawmill example where it would be nice for the orientation to matter in its placement. I'm not looking for anything extravagant like a special collision box that overrides the radius.

I'd just require something simple like a resource_searching_offset which would take an {x,y} co-ord (in relation to a north facing drill) and move the origin of the resource radius to there (and draws the visualization there). Allows for nice uneven/asymmetric drill types. (In my case, one that only mines a large area behind it, e.g. {0, -6} ).

Cheers
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4188
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Offset pos for resource_searching_radius

Post by boskid »

2.0.69: Added MiningDrillPrototype::resource_searching_offset.
Post Reply

Return to “Implemented mod requests”