So it looks like one unit per tile has been tackled in many ways. But it seems to use "support limits" like things. I was thinking to create code that simply says
"If this tile has a unit with same unit type then make it an impassable tile for this unit"
of course this only applies to the active civ. different civs can share a tile with same unit types.
I could not find anything in the other attempts at one-unit-per-tile mods to figure out for myself how to make this.
This forum had some code but it does not help me for this idea:
https://forums.civfanatics.com/threads/any-coding-idea-how-to-limit-units-on-a-tile.170189/
could someone please help me make this?
"If this tile has a unit with same unit type then make it an impassable tile for this unit"
of course this only applies to the active civ. different civs can share a tile with same unit types.
I could not find anything in the other attempts at one-unit-per-tile mods to figure out for myself how to make this.
This forum had some code but it does not help me for this idea:
https://forums.civfanatics.com/threads/any-coding-idea-how-to-limit-units-on-a-tile.170189/
could someone please help me make this?