Denmark's Count's Feud event bugged?

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

Golladan

Field Marshal
68 Badges
Dec 25, 2013
4.938
3.132
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Rights of Man
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Knights of Pen and Paper 2
  • Cities: Skylines - After Dark
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Stellaris - Path to Destruction bundle
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Reapers Due
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Magicka 2
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Warlock 2: The Exiled
  • Victoria 2
  • Europa Universalis IV
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.

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?