I'm having trouble with this event:
For some reason it keeps firing even if option a is selected. But in the trigger I've set the condition that the receiving country mustn't have the country flag assigned when selecting option A. Can anyone tell me what I've done wrong?
Code:
country_event = {
id = 100000
trigger = {
tag = SEM
num_of_vassals = 1
government = republic
[color=red]NOT = { has_country_flag = no_cathak_deliberator }[/color]
CAT = {
tribute = yes
culture = imperial
religion = imperial_faith
or = {
government = air_aspected_great_house
government = earth_aspected_great_house
government = fire_aspected_great_house
government = water_aspected_great_house
government = wood_aspected_great_house
government = unaspected_great_house
}
}
any_character = {
NOT = {
has_character_flag = cathak_deliberator
has_title = title_cathak_deliberator
}
}
}
mean_time_to_happen = {
months = 6
modifier = {
factor = 1.5
ruler = { traits = suspicious }
}
modifier = {
factor = 0.5
ruler = { traits = trusting }
}
}
title = "EVTNAME100000" #House Cathak needs a new Deliberator
desc = "EVTDESC100000"
option = {
name = "EVTOPTA100000" #Allow House Cathak to send a new Deliberator
ai_chance = { factor = 90 }
relation = { who = CAT value = 5 }
[color=red]set_country_flag = no_cathak_deliberator[/color]
}
option = {
name = "EVTOPTB100000" #Lets try to stall the appointment
ai_chance = { factor = 10 }
relation = { who = CAT value = -25 }
}
}
Last edited: