• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
In the potential, you want to have

OR = {
culture or culture_group = greek
same for roman
}

If its one culture or culture group, no OR is needed, but if more than one OR is needed. Hope that helps :)
 
In the potential, you want to have

OR = {
culture or culture_group = greek
same for roman
}

If its one culture or culture group, no OR is needed, but if more than one OR is needed. Hope that helps :)

I already try it by why it doesn't work

and how do i use OR if there is AND = {

if you open it in notepad, you can find it by typing byzantine in find

Do I need new game after I edit the file?
 

Attachments

  • 00_CastleCulture.txt
    108,4 KB · Views: 0
  • 00_retinue_subunits.txt
    24,2 KB · Views: 0
Last edited:
OR = {
culture_group = baltic
culture = polish
}
this will work for characters of baltic culture group (lithuanian, lettigallish, prussian, etc.), OR of polish culture
OR means if one of multiple requirements is fulfilled, AND means all requirements must be fulfilled
OR = { overall condition
AND = { subcondition a
defender = { character = PREV } subsubcondition 1
NOT = { using_cb = depose_liege } subsubcondition 2
NOT = { using_cb = overthrow_ruler } subsubcondition 3
NOT = { using_cb = overthrow_ruler_no_calls } subsubcondition 4
}
AND = { subcondition b
attacker = { character = PREV }
OR = {
using_cb = invasion
using_cb = religious
using_cb = tribal_invasion
using_cb = muslim_invasion
using_cb = viking_invasion
using_cb = claim_all
using_cb = claim
using_cb = other_claim
}
}
}
if subsubcondiotions 1,2,3,4 are ALL fulfilled then subcondition a is fulfilled (ALL because AND) and then overall condition is fulfilled because OR only needs one of them to work.
You don't need a new game with this kind of changes but it's still advised to do so just in case of something going wrong
Beware: buildings have three separate requirements to work properly, potential (so the building is shown on the list of stuff you could build, scotts should not have an arabian building in their list), is_active_trigger (to make a constructed building do it's job, can't have war elephants as a norwegian) and trigger (lets you build it, technology for instance)
 
Last edited:
Try
potential = {
OR = {
culture_group = byzantine
NOT = { culture = coptic }
NOT = { culture = arberian }
culture = roman
has_building = ca_culture_group_byzantine_1
}
}

as the potential, matching what the game does with the arabic building above the Byzantine ones