I want to make sure I'm reading the event correctly before I create a bug report.
Between 1500 and 1600 when Denmark gets a new monarch they have a chance to trigger the Count's Feud event chain.
One of the events of the chain seem to not be written correctly.
If I'm reading correctly, this event will happen to Sweden while Denmark is having the Count's Feud. If Denmark's and Sweden's opinion of each other is at least 8, and Sweden is not at war with/allied with/vassal of Denmark.
Then let's assume Sweden wants to support the rebels. And that Denmark chose the monarch when the Count's Feud started.
Now where I believe I'm seeing a problem is that when the event triggers, two random european provinces that belong to Sweden will each get a flag (rebels_1 and rebels_2). But when Sweden supports the rebels (or even the monarch for the 2nd option), the game is looking for Danish provinces with those 2 flags in which to spawn the rebels (or units in the case of monarch support). Since the flags were set to Sweden's provinces, and not Denmark's provinces, the event doesn't actually spawn anything.
Am I reading that right?
Between 1500 and 1600 when Denmark gets a new monarch they have a chance to trigger the Count's Feud event chain.
One of the events of the chain seem to not be written correctly.
Code:
country_event = {
id = flavor_dan.6
title = "flavor_dan.EVTNAME6"
desc = "flavor_dan.EVTDESC6"
picture = DIPLOMACY_eventPicture
fire_only_once = yes
trigger = {
DAN = { has_country_flag = counts_feud_flag }
tag = SWE
has_opinion = { who = DAN value = 80 }
reverse_has_opinion = { who = DAN value = 80 }
NOT = { war_with = DAN }
NOT = { alliance_with = DAN }
NOT = { vassal_of = DAN }
}
mean_time_to_happen = {
months = 200
}
immediate = {
hidden_effect = {
random_owned_province = {
limit = {
continent = europe
}
set_province_flag = rebels_2
}
random_owned_province = {
limit = {
continent = europe
NOT = { has_province_flag = rebels_2 }
}
set_province_flag = rebels_1
}
}
}
option = {
name = "flavor_dan.EVTOPTA6" #Help rebels
DAN = {
if = {
limit = {
has_country_flag = monarch_flag
}
random_owned_province = {
limit = {
has_province_flag = rebels_2
}
spawn_rebels = {
type = pretender_rebels
size = 2
}
clr_province_flag = rebels_2
}
random_owned_province = {
limit = {
has_province_flag = rebels_1
}
spawn_rebels = {
type = pretender_rebels
size = 1
}
clr_province_flag = rebels_1
}
country_event = { id = flavor_dan.7 }
}
if = {
limit = {
has_country_flag = pretender_flag
}
random_owned_province = {
limit = {
has_province_flag = rebels_2
}
spawn_rebels = {
type = noble_rebels
size = 1
}
clr_province_flag = rebels_2
}
random_owned_province = {
limit = {
has_province_flag = rebels_1
}
spawn_rebels = {
type = noble_rebels
size = 1
}
clr_province_flag = rebels_1
}
}
add_opinion = {
who = SWE
modifier = supported_rebels
}
}
}
option = {
name = "flavor_dan.EVTOPTB6" #Help monarch
DAN = {
random_owned_province = {
limit = {
has_province_flag = rebels_2
}
infantry = DAN
clr_province_flag = rebels_2
}
random_owned_province = {
limit = {
has_province_flag = rebels_1
}
cavalry = DAN
clr_province_flag = rebels_1
}
country_event = {
id = flavor_dan.8
}
add_opinion = {
who = SWE
modifier = opinion_supported_monarch
}
}
}
option = {
name = "flavor_dan.EVTOPTC6" #Do nothing
add_prestige = -1
}
}
If I'm reading correctly, this event will happen to Sweden while Denmark is having the Count's Feud. If Denmark's and Sweden's opinion of each other is at least 8, and Sweden is not at war with/allied with/vassal of Denmark.
Then let's assume Sweden wants to support the rebels. And that Denmark chose the monarch when the Count's Feud started.
Now where I believe I'm seeing a problem is that when the event triggers, two random european provinces that belong to Sweden will each get a flag (rebels_1 and rebels_2). But when Sweden supports the rebels (or even the monarch for the 2nd option), the game is looking for Danish provinces with those 2 flags in which to spawn the rebels (or units in the case of monarch support). Since the flags were set to Sweden's provinces, and not Denmark's provinces, the event doesn't actually spawn anything.
Am I reading that right?