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

Ruwaard

Imperial Vicar of the HRE
69 Badges
Oct 4, 2010
4.195
605
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Europa Universalis 4: Emperor
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings III
  • 500k Club
  • Crusader Kings II: Holy Fury
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: The Republic
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Apocalypse
  • Age of Wonders: Planetfall Deluxe edition
  • Cities: Skylines
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Cradle of Civilization
I don't hate the event, but I would like to edit the event, so that it won't fire for Catholic provinces. The line I added is in red.

####################################
# Grant Land to the Teutonic Order #
####################################
province_event = {
id = 912

picture = "event_templars"

trigger = {
condition = { type = not value = { type = capital value = yes } }
condition = {
type = or
condition = { type = province value = 378 }
condition = { type = province value = 375 }
condition = { type = province value = 372 }
condition = { type = province value = 370 }
}
condition = { type = not value = { type = has_province_effect value = { heretic = yes } } }
condition = { type = not value = { type = religion value = catholic }}
condition = { type = crusade }
condition = { type = ruler_religion value = catholic }
condition = { type = ruler_piety value = 0 }
condition = {
type = not
value = {
type = title_exists
value = TEUT
}
}
condition = { type = owner condition = { type = not value = { type = trait value = sceptical } } }
condition = { type = not value = { type = year value = 1300 } }
}

mean_time_to_happen = {
months = 19
}

action_a = {
ai_chance = 90
effect = { type = create_tag value = TEUT }
effect = { type = add_regiment country = TEUT culture = teutonic_order strength = { heavy_cav = 500 heavy_inf = 1000 } }
effect = { type = ruler_piety value = 25 }
}
action_b = {
ai_chance = 10
effect = { type = ruler_piety value = -50 }
effect = { type = random chance = 33
effect = { type = add_province_effect value = heretic }
}
}
}

Does this work?