Page 1 of 1

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

Posted: Thu Jul 09, 2026 9:40 pm
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),
...