[2.1.9] oil-ocean-deep-2 out of map transition using water-out-of-map textures

Post your bugs and problems so we can fix them.
Ingo-Igel
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sun Nov 03, 2024 7:01 pm
Contact:

[2.1.9] oil-ocean-deep-2 out of map transition using water-out-of-map textures

Post by Ingo-Igel »

In the following image, “oil-ocean-deep” was used on the left side and “oil-ocean-deep-2” on the right. As you can see, “oil-ocean-deep” uses the corresponding oil-out-of-map transitions, while “oil-ocean-deep-2” uses the water-out-of-map textures.

Image

It is because “tiles-fulgora.lua” performs a `table.deepcopy` on the “water-shallow” transitions, which also copies the “water-out-of-map” textures.

tiles-fulgora.lua:

Code: Select all

...
    name = "oil-ocean-deep-2",
    type = "tile",
    order = "a[oil]-b[deep]",
    subgroup = "fulgora-tiles",
...
...
    transitions = table.deepcopy(data.raw.tile["water-shallow"].transitions),
    transitions_between_transitions = table.deepcopy(data.raw.tile["water-shallow"].transitions_between_transitions),
...
Post Reply

Return to “Bug Reports”