[0.17.68] Underground belt ghost lua set direction into belt weaving+desync

Things that has been reported already before.
Post Reply
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2250
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

[0.17.68] Underground belt ghost lua set direction into belt weaving+desync

Post by boskid »

save with replay
Issue - steps to reproduce:
  1. build 2 underground belts (connected) in direction east-west
  2. build ghost of underground belt in between so it does not interrupt underground part (with entrance to north)
  3. Point underground belt ghost with cursor
  4. Code: Select all

    /c game.player.selected.direction=defines.direction.west
  5. Heavy mode fails (in state, outer underground pair is connected, after load it is disconnected)
Above issue can be extended to perform weaving belts:
belt-weaving.gif
belt-weaving.gif (1.04 MiB) Viewed 1169 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.68] Underground belt ghost lua set direction into belt weaving+desync

Post by Rseding91 »

Thanks for the report. Setting direction on ghosts isn't supposed to work through the Lua API as we don't support it in the base game at the moment either. So, this will be fixed by disallowing setting the direction after the ghost is created.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Duplicates”