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

tombom

CAPTAIN WILDCHILD
46 Badges
May 3, 2004
1.759
26
  • Crusader Kings II: Conclave
  • Semper Fi
  • Victoria 2
  • Warlock: Master of the Arcane
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Victoria: Revolutions
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Hong Kong
  • Crusader Kings II: Holy Fury
  • Divine Wind
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
I don't have access to CK at the moment.

character_event = {
# God will give you an illness like your father if you do not follow god!
id = 21900

picture = "event_crusades"

trigger = {
condition = { type = father_trait value = illness }
condition = { type = or
condition = { type = not value = { type = piety value = 100 }
condition = { type = trait value = heretic }
}
}

mean_time_to_happen = {
months = 60

modifier = {

}
}

action_a = { #I accept god!
effect = { type = prestige value = -50 }
effect = { type = piety value = 100 }
}

action_b = {#Pff!
effect = { type = piety value = -50 }
effect = { type = prestige value = 50 }
effect = {
type = random
chance = 25
effect = { type = add_trait value = illness }
}
effect = {
type = random
chance = 5
effect = { type = add_trait value = heretic }

}
}
 
You don't need an empty modifier to the MTTH.

A "}" is missing at the end of this line:

Code:
condition = { type = not value = { type = piety value = 100 }

Also at the end of the event.