Help me understand those event conditions

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

Lumpy

Colonel
81 Badges
Jul 20, 2009
942
261
  • Crusader Kings II
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: El Dorado
  • Stellaris: Distant Stars
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Conclave
  • Crusader Kings II: Holy Fury
  • Age of Wonders III
  • War of the Roses
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Lithoids
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III: Royal Edition
  • Imperator: Rome Sign Up
  • Cities: Skylines - Parklife
  • Stellaris: Nemesis
  • Stellaris: Apocalypse
  • Prison Architect
  • Stellaris: Humanoids Species Pack
  • Stellaris: Necroids
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Golden Century
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Dharma
  • Crusader Kings III
  • Victoria 2
  • Hearts of Iron IV: No Step Back
  • Europa Universalis 4: Emperor
  • 500k Club
I am playing Brandenburg, and I vassalized TO and forced them to convert to protestantism. Shortly after that, they became Prussia. There used to be an event which granted you a free personal union, but it just didn't fire. Upon closer examination of the event files, it seems that that particular event was changed:

# The incorporation of Prussia into Brandenburg
country_event = {
id = flavor_brapru.1


title = "flavor_brapru.EVTNAME3636"
desc = "flavor_brapru.EVTDESC3636"
picture = DIPLOMACY_eventPicture

fire_only_once = yes

trigger = {
tag = BRA
government = monarchy
PRU = {
government = monarchy
ai = yes
was_player = no
NOT = { num_of_subjects = 1 }
has_opinion = { who = BRA value = 100 }
NOT = { vassal_of = BRA }
}
}

mean_time_to_happen = {
months = 12
}

option = {
name = "flavor_brapru.EVTOPTOK"
BRA = {
create_union = PRU
}
}
}

If I read this event correctly, it requires Brandenburg NOT to be the overlord of Prussia. Somebody, enlighten me!
 

Tom D.

Field Marshal
68 Badges
Oct 4, 2015
4.934
549
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis 4: Emperor
  • Stellaris Sign-up
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Humanoids Species Pack
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines - After Dark
  • Cities: Skylines Industries
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Victoria 3 Sign Up
  • Victoria 2
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Cadet
From what my basic knowledge of code says, you indeed need Prussia to not be a vassal of you (and probably extended: be independent and not a vassal or subject of anybody) AND their government form has to be a monarchy. Teutonic Order is a Theocracy, unless they take the decision to secularise but that can only happen once they reach ADM 20 if I'm not mistaken (could be earlier, don't know for sure - correct me if I'm wrong).
 

Lumpy

Colonel
81 Badges
Jul 20, 2009
942
261
  • Crusader Kings II
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV: El Dorado
  • Stellaris: Distant Stars
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Conclave
  • Crusader Kings II: Holy Fury
  • Age of Wonders III
  • War of the Roses
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Lithoids
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III: Royal Edition
  • Imperator: Rome Sign Up
  • Cities: Skylines - Parklife
  • Stellaris: Nemesis
  • Stellaris: Apocalypse
  • Prison Architect
  • Stellaris: Humanoids Species Pack
  • Stellaris: Necroids
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Golden Century
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Dharma
  • Crusader Kings III
  • Victoria 2
  • Hearts of Iron IV: No Step Back
  • Europa Universalis 4: Emperor
  • 500k Club
The Teutonic Order can (and did) transform to Prussia as soon as they hit admin 10, if they are protestant, so the monarchy aspect of this event is indeed "true". The only issue is the "NOT = { vassal_of = BRA }" part. The wiki says the event will fire if either Prussia and Brandenburg have good relations (+100), or if Prussia is a vassal of Brandenburg. But apparently, the last bit was changed sometime in the past.
 

Tom D.

Field Marshal
68 Badges
Oct 4, 2015
4.934
549
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis 4: Emperor
  • Stellaris Sign-up
  • Stellaris
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Humanoids Species Pack
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines - After Dark
  • Cities: Skylines Industries
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Victoria 3 Sign Up
  • Victoria 2
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Cadet
The Teutonic Order can (and did) transform to Prussia as soon as they hit admin 10, if they are protestant, so the monarchy aspect of this event is indeed "true". The only issue is the "NOT = { vassal_of = BRA }" part. The wiki says the event will fire if either Prussia and Brandenburg have good relations (+100), or if Prussia is a vassal of Brandenburg. But apparently, the last bit was changed sometime in the past.
Of course, forgot that forming Prussia automatically makes you a monarchy, my mistake. Although I'm not sure if this hasn't been so ever since, judging from the code, you're correct.