Page 1 of 1

[Rseding91] [16.21] Ghost-replaced turrets cannot be mined

Posted: Fri Feb 02, 2018 1:31 am
by jomama
Steps to repeat:
Start new freeplay game
Unlock all technologies
Give self laser turrets, gun, ammo.
Place laser turret
Shoot and destroy laser turret
Replace turret over ghost
Right-click on turret - new turret cannot be mined!

Other test methods and results:
Having roboport robots replace turret results in non-mineable turret
Removing ghost makes any new turret placed mineable
Gun turret and flamethrower turrets have same problem, artillery turret does not
Rotating the turret so it is not aligned with the ghost makes the new turret mineable
Cannot mine by hand or by deconstruction planner
Allowing biters to destroy turret makes no difference
Same results with no mods activated

I also noticed that the turrets that cause this issue go into an animation just as they're killed. They appear to be positioning their guns as if to start shooting. When the new turret is placed over the ghost, it does a short animation as well but in reverse. Placing a new turret NOT on a ghost, or rotating the new turret to misalign with a ghost does not perform the animation and the new turret is mineable.

Re: [Rseding91] [16.21] Ghost-replaced turrets cannot be mined

Posted: Fri Feb 02, 2018 3:56 am
by Rseding91
Thanks for the report. It's now fixed for the next version of 0.16.

Re: [Rseding91] [16.21] Ghost-replaced turrets cannot be mined

Posted: Fri Feb 02, 2018 10:49 am
by dognosh
Rseding91 wrote:Thanks for the report. It's now fixed for the next version of 0.16.
No it's not(0.16.22) :)

Re: [Rseding91] [16.21] Ghost-replaced turrets cannot be mined

Posted: Fri Feb 02, 2018 10:58 am
by posila
dognosh wrote:
Rseding91 wrote:Thanks for the report. It's now fixed for the next version of 0.16.
No it's not(0.16.22) :)
It is, but turrets that got broken in 0.16.21 are still broken ... you have to destroy them to get rid of them.

Re: [Rseding91] [16.21] Ghost-replaced turrets cannot be mined

Posted: Fri Feb 02, 2018 11:56 am
by dognosh
ahh ty :)

Re: [Rseding91] [16.21] Ghost-replaced turrets cannot be mined

Posted: Fri Feb 02, 2018 2:48 pm
by picticon
This worked for me, if you don't mind the cheat flag:
/c game.player.selected.destroy()

Otherwise I assume you can shoot it with something.

Re: [Rseding91] [16.21] Ghost-replaced turrets cannot be mined

Posted: Fri Feb 02, 2018 2:52 pm
by posila
If you don't mind using commands, you can make the turret minable again, instead of destroying it

Code: Select all

/c game.player.selected.minable = true