@rebal85
Well, they are all catholic holy orders, only visible to Catholics, like all of the holy orders are only visible to their own religion (there is nearly 60 societies in this mod, it would be hell otherwise!). The issue is that it flood the catholic society list! Hiding them all while you are a member help, but you'll be out more often than in, so it won't fix the issue.
No worries, I was thinking of using the same basic triggers that the societies have based on religion and switching it to cultures instead. Thus instead of the society showing based on being Christian, it showed based on being French/Frankish.
PDX Example Using religious triggers below:
OR = {
#You have neighbors, etc, of the correct religion...
any_vassal = { religion_openly_norse_or_reformed_trigger = yes }
any_liege = { religion_openly_norse_or_reformed_trigger = yes }
any_neighbor_independent_ruler = { religion_openly_norse_or_reformed_trigger = yes }
}
By replacing the *religion_openly_norse_or_referomed_trigger = yes* with something equivalent to *culture_suited_to_order*
Example here could be the *culture_suited_to_tuetonics* which could accept Catholics who are also of the Central_German, Baltic, North_Germanic culture_group. Thus Tuetonic order would only show for those AI and Players. That way a player in the West_German (IE the English) would not see the Tuetonic order as a group to join, unless the prior example for Neighbor/Vassal/Liege was also part of the Show.
This isn't even something that would need to be added to the can_join_society or potential, as the checks there are simply for religion and what it seems you want here is a simple filter of possibilities.
So just a basic mock up for what it might look like in chivarly_society:
show_society = {
has_holyorder_societies_religion_catholic = yes
OR = {
culture_suited_to_tuetonics = yes
any_vassal = { culture_suited_to_tuetonics = yes }
any_liege = { culture_suited_to_tuetonics = yes }
any_neighbor_independent_ruler = { culture_suited_to_tuetonics = yes }
}
}
Sorry if any of this is something you've already thought of, or isn't helpful.