• 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.

King Anund

Rex Navarrae
82 Badges
Oct 5, 2012
1.014
2.527
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Holy Fury
  • Crusader Kings Complete
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Cadet
  • Imperator: Rome
  • Victoria 2
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Golden Century
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Europa Universalis III: Collection
  • Europa Universalis IV: Cossacks
  • Cities: Skylines
  • Tyranny: Archon Edition
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • War of the Vikings
  • Knights of Honor
  • King Arthur II
  • The Kings Crusade
  • Victoria 2: A House Divided
  • Europa Universalis III
  • Victoria 2: Heart of Darkness
  • Divine Wind
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: La Resistance
It seems that the is_priest = no condition does not work. Maybe is_priest = yes does but the negative one does not.

As you can see in the following screeshots all of these people have theological education ) and are theocracies, but have the character modifiers studied_religious_myths , wol_theology_reflect_on_self_and_gods and wol_theology_heretic . These character modifiers can only be given by one event each, and those events have the is_priest = no condition as trigger.
McCqRKK.jpg

qh18S6Z.jpg

etRM7pY.jpg
And here are the codes of the events with the is_priest = no condition . The condition is in the trigger part of the events.
Code:
# Study religious myths?
character_event = {
    id = WoL.7000
    picture = GFX_evt_bishop
    border = GFX_event_normal_frame_religion

    is_triggered_only = yes

    only_playable = yes
    min_age =  16
    capable_only = yes
    prisoner = no

    trigger = {
        is_priest = no
        holy_order = no
        has_focus = focus_theology
        NOT = { trait = in_hiding }
        NOT = { has_character_flag = studied_religious_myths }
    }

    desc = {
        trigger = {
            OR = {
                NOT = { religion_group = pagan_group } # Scriptures
                is_reformed_religion = yes
            }
        }
        text = EVTDESC_WoL_7000_non_unref_pagan
    }
    desc = {
        trigger = {
            religion_group = pagan_group # Stories
            is_reformed_religion = no
        }
        text = EVTDESC_WoL_7000_unref_pagan
    }

    immediate = {
        set_character_flag = studied_religious_myths
    }

    option = {
        name = EVTOPTA_WoL_7000 # Yes, study scriptures
        trigger = {
            OR = {
                NOT = { religion_group = pagan_group }
                is_reformed_religion = yes
            }
        }
        piety = 20
        hidden_tooltip = { character_event = { id = WoL.7001 days = 90 } }
    }
    option = {
        name = EVTOPTB_WoL_7000 # Yes, listen to stories
        trigger = {
            religion_group = pagan_group
            is_reformed_religion = no
        }
        piety = 20
        hidden_tooltip = { character_event = { id = WoL.7001 days = 90 } }
    }
    option = {
        name = EVTOPTC_WoL_7000  # I have no time
        piety = -5
        if = {
            limit = {
                has_character_modifier = religious_studies
            }
            remove_character_modifier = religious_studies
        }
    }
}
Code:
# Reflect on own life and how it relates to the gods.
character_event = {
    id = WoL.7030
    desc = EVTDESC_WoL_7030
    picture = GFX_evt_religious_exultation
    border = GFX_event_normal_frame_religion

    is_triggered_only = yes

    only_playable = yes
    min_age =  16
    capable_only = yes

    trigger = {
        is_priest = no
        has_focus = focus_theology
        NOT = { has_character_flag = wol_theology_reflect_on_self_and_gods }
        NOT = { trait = possessed }
        NOT = { trait = theologian }
        NOT = { has_character_modifier = religious_philosopher }
        any_realm_character = {
            religion = ROOT
            is_priest = yes
            NOT = { trait = incapable }
            NOT = { trait = in_hiding }
        }
    }

    immediate = {
        set_character_flag = wol_theology_reflect_on_self_and_gods
    }

    option = {
        name = EVTOPTA_WoL_7030  # Indeed
        piety = 10
    }
    option = {
        name = EVTOPTB_WoL_7030  # Study more deeply
        piety = 30
        if = {
            limit = {
                NOT = { has_character_modifier = religious_studies }
                NOT = { has_character_modifier = religious_philosopher }
                NOT = { trait = theologian }
            }
            add_character_modifier = {
                name = religious_studies
                duration = -1
            }
            set_character_flag = religious_studies_timer
        }
        if = {
            limit = {
                has_character_modifier = religious_studies
                NOT = { has_character_modifier = religious_philosopher }
                NOT = { trait = theologian }
                had_character_flag = { flag = religious_studies_timer days = 1800 }
            }
            clr_character_flag = religious_studies_timer
            remove_character_modifier = religious_studies
            add_character_modifier = {
                name = religious_philosopher
                duration = -1
            }
        }
    }
    option = {
        name = EVTOPTC_WoL_7030  # Stop this
        piety = -10
        if = {
            limit = {
                has_character_modifier = religious_studies
            }
            remove_character_modifier = religious_studies
            add_trait = cynical
        }
        set_character_flag = religious_studies_timer
    }
}
Code:
# Embrace heresy?
character_event = {
    id = WoL.7060
    desc = EVTDESC_WoL_7060
    picture = GFX_evt_religious_exultation
    border = GFX_event_normal_frame_religion

    is_triggered_only = yes

    only_playable = yes
    min_age =  16
    capable_only = yes

    trigger = {
        is_priest = no
        holy_order = no
        has_focus = focus_theology
        is_heretic = no
        trait = zealous
        OR = {
            religion_group = christian
            religion_group = muslim
            religion_group = zoroastrian_group
            religion_group = jewish_group
        }
        NOT = { has_character_flag = wol_theology_heretic }
    }

    immediate = {
        set_character_flag = wol_theology_heretic
    }

    option = {
        name = EVTOPTA_WoL_7060  # Settle firmly into orthodoxy
        piety = 30
    }
    option = {
        name = EVTOPTB_WoL_7060  # Take middle ground
        remove_trait = zealous
    }
    option = {
        name = EVTOPTC_WoL_7060  # Become heretic
        piety = 100
        become_heretic = yes
        if = {
            limit = {
                NOT = { has_character_modifier = religious_studies }
                NOT = { has_character_modifier = religious_philosopher }
                NOT = { trait = theologian }
            }
            add_character_modifier = {
                name = religious_studies
                duration = -1
            }
            set_character_flag = religious_studies_timer
        }
        if = {
            limit = {
                has_character_modifier = religious_studies
                NOT = { has_character_modifier = religious_philosopher }
                NOT = { trait = theologian }
                had_character_flag = { flag = religious_studies_timer days = 1800 }
            }
            clr_character_flag = religious_studies_timer
            remove_character_modifier = religious_studies
            add_character_modifier = {
                name = religious_philosopher
                duration = -1
            }
        }
    }
}
 
Last edited:
Upvote 0