- 24 May 2023 03:32
There is sadly no native way to restrict the number of structure elements (in this case buildings) that can generate in a dynamically generated structure like a village. We had to find a workaround for Pokécenters/Marts (and Gyms) to both restrict them to one per village and
make sure you don't end up without one. They currently each have their own connection point from the Town Center - the origin point of a village, the only element we can guarantee always exists.
Other less important structures we had to dial in via trial & error. There are several workarounds at play to integrate structures as large as Battle Arenas and Daycares into Vanilla Villages at all, because those are set up for much smaller buildings. The TCG Stalls have pretty much the opposite issue and end up as "filler" material that is one of the few structure elements the game can choose if there's not much space left.
It would require custom code to restrict structure generation like that, but I'm not sure how possible/viable that would be. I doubt it would be a general config setting though. At most I could see it as something you could set via Data Pack, by overriding the respective Template Pools.