Hey, I updated the Zen-garden and removed the incompatibility.
Please note, that If both Alien-biomes and Zen-Garden is active, the collusion-layer count will be reached.
I know this is already a know bug. Have you tried editing the seeds/plants tile restrictions instead of collusion mask? Did not go deeper into your code this time.
data.raw.plant["tree-plant"].autoplace.tile_restriction = tile_restrictions
for _, plant in pairs(data.raw.plant) do
if plant.name:find("tree-plant", 1, true) then
plant.autoplace = plant.autoplace or {}
plant.autoplace.tile_restriction = tile_restrictions
end
end
.208 Checksum for core: 1599024484
2.208 Checksum of base: 2095342242
2.208 Checksum of alien-biomes-graphics: 0
2.208 Checksum of elevated-rails: 755107374
2.208 Checksum of quality: 3594706471
2.208 Checksum of space-age: 2561352795
2.208 Checksum of alien-biomes: 2235899061
2.208 Checksum of quality-seeds: 2144429593
2.208 Checksum of zen-garden: 797994999
2.579 Info PrototypeList.cpp:85: collision-layer counts:
2.580 Info PrototypeList.cpp:87: alien-biomes: 1
2.580 Info PrototypeList.cpp:87: base: 24
2.580 Info PrototypeList.cpp:87: quality-seeds: 70
2.582 Error ModManager.cpp:1758: Reached id limit for collision-layer. The game can't contain more than 55 instances of this prototype due to hardcoded limits of the engine. See the log file for more detail.