How would I stop a building being available if it already exists?
I thought it would have been :
Code:
potential = {
OR = {
FROMFROM = {
has_building = my_building # Can only be built if it is already built in a Province, OR
}
any_province = { # Can only be built if any Province in the world
any_province_holding = { # has any Province Holding
NOT = { # Which does not have the building
OR = { # Or for different 'types' of Building (Tribal, City, Castle, Temple)
has_building = my_building
}
}
}
}
}
}
Instead, though, I am still able to build the building as many times as I like.