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.
And here are the codes of the events with the is_priest = no condition . The condition is in the trigger part of the events.
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.
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