Mining In a Line

Place to get help with not working mods / modding interface.
Post Reply
PrimeEagle
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed Oct 12, 2022 9:51 pm
Contact:

Mining In a Line

Post by PrimeEagle »

I know the mining radius of miners can be adjusted, but can anyone think of a way to make a miner mine in a line in a single direction? For example, the miner mines the tile underneath it plus several tiles in a line in one direction only.

PFQNiet
Filter Inserter
Filter Inserter
Posts: 289
Joined: Sat Sep 05, 2020 7:48 pm
Contact:

Re: Mining In a Line

Post by PFQNiet »

Unfortunately not, the mining radius is always a square.

robot256
Filter Inserter
Filter Inserter
Posts: 596
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Mining In a Line

Post by robot256 »

If you really wanted, you could make invisible companion drills that your mod places next to the center drill automatically. The effective zone would be the sum of the squares then. The side drills could have their result item placement vectors set to output on the center drill's belt, and they all have their speed cut in 1/3. (The tooltip for the center drill would only show its 1/3).

PrimeEagle
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed Oct 12, 2022 9:51 pm
Contact:

Re: Mining In a Line

Post by PrimeEagle »

robot256 wrote:
Fri Oct 28, 2022 8:34 pm
If you really wanted, you could make invisible companion drills that your mod places next to the center drill automatically. The effective zone would be the sum of the squares then. The side drills could have their result item placement vectors set to output on the center drill's belt, and they all have their speed cut in 1/3. (The tooltip for the center drill would only show its 1/3).
You can have a drill output somewhere not adjacent to itself?

robot256
Filter Inserter
Filter Inserter
Posts: 596
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Mining In a Line

Post by robot256 »

I don't know for sure. It would be worth trying, the docs don't mention a limit but there might be one anyways.

User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 490
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Mining In a Line

Post by Silari »

Huh turns out you totally can put the vector outside the nominal bounds of the miner. Not sure if there's a limit, but you could certainly do the multiple miners in a row trick.
Attachments
Miner-Vector.png
Miner-Vector.png (283.3 KiB) Viewed 850 times

PrimeEagle
Burner Inserter
Burner Inserter
Posts: 9
Joined: Wed Oct 12, 2022 9:51 pm
Contact:

Re: Mining In a Line

Post by PrimeEagle »

That's great, thanks!

Post Reply

Return to “Modding help”