[0.17.66] Cloning doesn't preserve the order in which objects were placed.

Bugs that are actually features.
Haladon
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sun Mar 31, 2019 11:03 am
Contact:

[0.17.66] Cloning doesn't preserve the order in which objects were placed.

Post by Haladon »

I was testing fluid flow rate in editor mode and its impact by the direction in which pipes are placed. Currently fluids flow faster if you place the pipes upstream to downstream. This might soon get corrected with the upcoming new fluid mechanics. However I found a related bug. The following is what I did:
  1. Placed two storage tanks and filled them with water. One below the other with one tile in between.
  2. Similarly placed 2 more storage tanks 10 tiles left of the first ones. These are empty.
  3. Connected the pairs of storage tanks with 10 pipes. Pipes for one of them left to right and the other right to left.
  4. Cloned this setup.
Then I unpause.
In the original setup I observe that there is difference in fluid that flows into the empty tanks as expected. However the same results are not observed in the cloned setup. In fact somewhat opposite is observed. It seems the cloning tool creates the entities in reverse order in which the originals are created. This is usually not a problem except for when one wants to test these weird bugs.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14942
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.66] Cloning doesn't preserve the order in which objects were placed.

Post by Rseding91 »

Thanks for the report. That is working as intended: the clone order "doesn't matter" to the cloning logic except that things like rails are cloned before things that go *on* rails.

The fact pipes are broken and rely on update order is unrelated to cloning and not something I care about adding special logic into cloning for.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”