[0.16.51] Drill doesn't restart when new ore is placed below

Things that has been reported already before.
Post Reply
Fast Inserter
Fast Inserter
Posts: 112
Joined: Mon Sep 04, 2017 6:52 pm

[0.16.51] Drill doesn't restart when new ore is placed below

Post by hreintke »

Replicate by :

Have a drill working in an ore field -> Expected resources shows value, Ore is placed on the transport belt
The ore in the range of the drill is depleted -> Expected resources shows no value, No more ore on the transport belt.

Add ore beneath the drill with

Code: Select all

/c game.player.surface.create_entity({name="copper-ore", amount=100, position={game.player.selected.position.x, game.player.selected.position.y}})
Then it is :
Expected resources = 100, but the drill doesn't place ore on the transport belt.

It can be "restarted" by :
- In the UI, rotate 4 times
- in code by

Code: Select all

/c game.player.selected.active = false
game.player.selected.active = true
Note that first setting it to false is required, Just game.player.selected.active = true does not restart.

Expected behavior is that the drill restarts working when new ore is availale

Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am

Re: [0.16.51] Drill doesn't restart when new ore is placed below

Post by daniel34 »

Not a bug.

Rseding91 wrote:That's a side effect of an optimization done for mining drills and will be staying that way.

Once the drill runs out of things to mine it is shut off so it doesn't consume CPU time needlessly on the extremely low chance that ore is spawned under it.
quick links: log file | graphical issues | wiki

Post Reply

Return to “Duplicates”