Hi Folks,
while working on a mod I searched for - and didn't find - a way to create a condition based on the number of buildings (for anything other than fortresses) in a given city.
At this time, I can check whether it has any building of a type, but not how many.
e.g.:
while what I'd want is this:
Is there any other way to reach that result?
while working on a mod I searched for - and didn't find - a way to create a condition based on the number of buildings (for anything other than fortresses) in a given city.
At this time, I can check whether it has any building of a type, but not how many.
e.g.:
Code:
has_building = library_building
while what I'd want is this:
Code:
has_building = {
type = library_building
count < 2
}
Is there any other way to reach that result?