So an energy storage can be placed on WL_AnyHorizontalGroundOrWaterSurface So why can I not build it in some shoreline areas? It's okay on water and okay on land, but on some shore regions for no reasons I can come up with it cannot be placed. The build placement API just tells me "not pathable" for these regions.
I'm pretty sure they did something like: GroundAndWaterSurfacePlaceable = placeableHereOnGround(x) || placeableHereOnWater(x); The problem is that on the coastline both expressions will return false. It is neither completely placeable on ground nor completely placeable on water. I call this thing a false decomposition. I've seen this a few times in programs, usually you do this intentionally because it is computationally cheaper to evaluate the false decomposition than to compute the correct expression (placeableHereOnGroundAndWater()) ... and you can live with the error you introduced.
Imho the model for water would like fine in this scenario. Question is: Is there any kind of layer I could put in so a building can be build there?
There are areas that speak against the theory of false decomposition. Around that area there is no place where I cannot place it. The transition is without any dead area.