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

ConjurerDragon

Generalissimus
79 Badges
Apr 19, 2005
5.539
594
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • The Kings Crusade
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars
  • Impire
  • Victoria 2
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Pride of Nations
  • Rise of Prussia
  • Stellaris: Nemesis
  • East India Company Collection
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • 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 Glory
  • Hearts of Iron III
Easy, just copy one of the existing crusade-events in Spain, give it a unique ID and edit the province ID's so that the target is Zaragoza.

I took a look at the crusades event file and it seems that one needs 3 events for each crusade target. I start by copying the Burgos crusade events and then modify them:

Code:
##############
# [color=red]Burgos![/color][color=yellow]Zaragoza![/color] #
##############

character_event = { #Crusade to free [color=red]Burgos[/color][color=yellow]Zaragoza[/color]
	id = 162[color=red]0[/color][color=yellow]4[/color]
	picture = "event_crusades"

	trigger = {
		condition = { type = exists value = PAPA }
		condition = { 
			type = not	
			value = { type = crusade } 
		}
		condition = {
			type = or
			condition = { type = papacy }
			condition = {
				type = and
				condition = { type = is_independent }
				condition = { type = not value = { type = county } }
				condition = { type = not value = { type = trait value = excommunicated } }
				condition = { type = not value = { type = trait value = heretic } }
				condition = { type = not value = { type = trait value = sceptical } }
			}
		}
		condition = { 	type = religion value = catholic }
		condition = { 	type = province 
			province = 1[color=red]99[/color][color=yellow]202[/color] #[color=red]Burgos[/color][color=yellow]Zaragoza[/color]
			condition = {
				type = and
				condition = { type = not value = { type = ruler_religion value = catholic }}
				condition = { type = not value = { type = ruler_religion value = orthodox }}
			}
		}
	}

	mean_time_to_happen = {
		years = 850

		modifier = {
			condition = { type = not value = { type = year value = 1075 } }
			factor = 50
		}
		modifier = {
			condition = { type = not value = { type = year value = 11[color=red]50[/color][color=yellow]18[/color] } } [color=yellow]#historically the crusade was in 1118[/color]
			factor = 5
		}
		modifier = {
			condition = {
				type = and
				condition = { type = year value = 11[color=red]50[/color][color=yellow]18[/color] }
				condition = { type = not value = { type = year value = 1250 } }
			}
			factor = 0.75
		}
		modifier = {
			condition = { type = papacy }
			factor = 0.05 #papal controller is most likely to call it
		}
		modifier = {
			condition = { type = not value = { type = papacy  } }
			condition = { type = duchy }
			factor = 10 #a duke unlikely to call one
		}
		modifier = { 
			condition = { type = culture value = Castillan }
			factor = 0.[color=red]1[/color][color=yellow]5 #historically Zaragoza wasconquered by the King of Aragon in 1118 so catalan should be more likely than castilian[/color] 
		}
		modifier = { 
			condition = { type = culture value = Catalan }
			factor = 0.1
		}

		modifier = {
			condition = { 	type = province 
				province = 774 #Jerusalem
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 3
		}
		modifier = {
			condition = { 	type = province 
				province = 764 #Antioch
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 2
		}
		modifier = {
			condition = { 	type = province 
				province = 802 #Alexandria
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 1.5
		}
		modifier = {
			condition = { 	type = province 
				province = 190 #Leon
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 155 #Asturios de Ovieda
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Compostella
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Santiago
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 154 #Astias de Santillana
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 153 #Viscaya
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 201 #Rioja
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85

		}
		modifier = {
			condition = { 	type = province 
				province = 200 #Sorja
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 198 #Valladolid
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 176 #Molina
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 207 #Jaca
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 152 #Navarra
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 197 #Toledo
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 171 #Valencia
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 181 #Cordoba
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 182 #Sevilla
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 180 #Granada
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 160 #Lisboa
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 165 #Cadiz
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}

		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = martial_cleric}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = trait value = martial_cleric }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 10 }
			}
			factor = 0.95
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 25 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 50 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 100 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = stability value = 1 }
			factor = 0.9
		}
		modifier = {
			condition = { type = stability value = 2 }
			factor = 0.9
		}
		modifier = {
			condition = { type = stability value = 3 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = stability value = 0 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = stability value = -1 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = stability value = -2 } }
			factor = 1.1
		}
	}
	action_a = { # Deus Vult!
		ai_chance = 80
		modifier = { 
			condition = { type = culture value = Castillan }
			factor = 1.1
		}
		modifier = { 
			condition = { type = culture value = Catalan }
			factor = 1.05
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1
		}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 100
			}
		effect = { type = crusade value = [color=red]199[/color][color=yellow]202[/color] } #[color=red]Burgos[/color][color=yellow]Zaragoza[/color]
		effect = { type = piety value = 25 }
		effect = { type = prestige value = 50 }
		effect = { type = add_trait value = zealous }
		effect = {
			type = random
			chance = 15
			effect = { type = add_trait value = crusader }
		}
	}
	action_b = { # They are harmless enough
		ai_chance = 25
		modifier = {
			condition = { type = not value = { type = piety value = 75 } }
			factor = 0.25
		}
		modifier = {
			condition = { type = not value = { type = prestige value = 150 } }
			factor = 0.25
		}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 0.00001
			}
		effect = { type = piety value = -50 }
		effect = { type = prestige value = -100 }
		effect = { type = add_trait value = sceptical }
		effect = {
			type = random
			chance = 15
			effect = { type = add_trait value = excommunicated }
		}
	}
}

character_event = { #end the [color=red]Burgos crusade - Burgos[/color][color=yellow]Zaragoza crusade - Zaragoza[/color] not in Christian hands
	id = 162[color=red]1[/color][color=yellow]5[/color]
	picture = "event_crusades"

	trigger = {
		condition = { type = crusade }
		condition = { type = target value = [color=red]199 } #Burgos[/color][color=yellow]202 } #Zaragoza[/color]
		condition = { type = papacy }
		condition = { 	type = province 
			province = [color=red]199 #Burgos[/color][color=yellow]#Zaragoza[/color]
			condition = {
				type = and 
				condition = { type = not value = { type = ruler_religion value = catholic } }
				condition = { type = not value = { type = ruler_religion value = orthodox } }
			}
		}
	}

	mean_time_to_happen = {
		years = 20

		modifier = {
			condition = { 	type = province 
				province = 190 #Leon
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 155 #Asturios de Ovieda
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Compostella
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Santiago
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 154 #Astias de Santillana
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 153 #Viscaya
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 201 #Rioja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 200 #Sorja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 198 #Valladolid
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 176 #Molina
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 207 #Jaca
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 152 #Navarra
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 197 #Toledo
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 171 #Valencia
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 181 #Cordoba
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 182 #Sevilla
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 180 #Granada
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
	}

	action_a = { # let us continue this holy crusade
		ai_chance = 50
			modifier = { 
				condition = { type = culture value = Castillan }
				factor = 1.1
			}
			modifier = { 
				condition = { type = culture value = Catalan }
				factor = 1.05
			}
			modifier = {
				condition = { type = not value = { type = piety value = 75 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = prestige value = 75 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = trait value = crusader }
				factor = 1.2
			}
			modifier = {
				condition = { type = trait value = zealous }
				factor = 1.1
			}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 100
			}
		effect = { type = piety value = 25 }
		effect = { type = prestige value = 25 }
		effect = { type = add_trait value = crusader }
	}
	action_b = { # Our cause is lost!
		ai_chance = 50
			modifier = {
				condition = { type = not value = { type = piety value = 75 } }
				factor = 0.5
			}
			modifier = {
				condition = { type = not value = { type = prestige value = 75 } }
				factor = 0.5
			}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 0.00001
			}
		effect = { type = crusade value = 0 }
		effect = { type = piety value = -75 }
		effect = { type = prestige value = -75 }
		effect = { type = remove_trait value = crusader }
		effect = { type = random_list
			65 = { type = remove_trait value = zealous }
			25 = { type = add_trait value = sceptical }
			10 = { type = add_trait value = excommunicated }
		}
	}
}
character_event = { #end the [color=red]Burgos crusade - Burgos[/color][color=yellow]Zaragoza crusade - Zaragoza[/color] in Christian hands
	id = 162[color=red]2[/color][color=yellow]6[/color]
	picture = "event_crusades"

	trigger = {
		condition = { type = crusade }
		condition = { type = target value = [color=red]199[/color][color=yellow]202[/color] }
		condition = { type = papacy } # once started, only the papal controller can call off a crusade
		condition = { 	type = province 
			province = [color=red]199 #Burgos[/color][color=yellow]202 #Zaragoza[/color]
			condition = {
				type = or 
				condition = { type = ruler_religion value = catholic }
				condition = { type = ruler_religion value = orthodox }
			}
		}
	}

	mean_time_to_happen = {
		months = 48

		modifier = {
			condition = { 	type = province 
				province = [color=red]199 #Burgos[/color][color=yellow]202 #Zaragoza[/color]
				condition = { type = religion value = catholic }
			}
			factor = 0.25
		}
		modifier = {
			condition = { 	type = province 
				province = 190 #Leon
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 155 #Asturios de Ovieda
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Compostella
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Santiago
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 154 #Astias de Santillana
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 153 #Viscaya
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 201 #Rioja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 200 #Sorja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 198 #Valladolid
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 176 #Molina
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 207 #Jaca
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 152 #Navarra
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 197 #Toledo
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 171 #Valencia
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 181 #Cordoba
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 182 #Sevilla
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 

				province = 180 #Granada
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
	}
	immidiate = { #Zaragoza is saved!
		effect = { type = crusade value = 0 } #turn off crusades
	}
}


province_event = { #The Pope urges you to convert these captured lands to the one true faith
	id = 1627
	picture = "event_muslim"

	trigger = {
		condition = { type = crusade }
		condition = { type = target value = 202 } 
		condition = { type = ruler_religion value = catholic }
		condition = { type = not value = { type = religion value = catholic } }
		condition = {
			type = or
			condition = { type = province value = 199 } # Burgos
			condition = { type = province value = 190 } # Leon
			condition = { type = province value = 155 } # Asturias de Oviedo
			condition = { type = province value = 156 } # Compostela
			condition = { type = province value = 157 } # Santiago
			condition = { type = province value = 154 } # Asturias de Santillana
			condition = { type = province value = 153 } # Viscaya
			condition = { type = province value = 201 } # Rioja
			condition = { type = province value = 200 } # Soria
			condition = { type = province value = 198 } # Valldolid
			condition = { type = province value = 176 } # Molina
			condition = { type = province value = 152 } # Navarra
			condition = { type = province value = 207 } # Jaca
			condition = { type = province value = 197 } # Toledo
			condition = { type = province value = 171 } # Valencia
			condition = { type = province value = 181 } # Cordoba
			condition = { type = province value = 182 } # Sevilla
			condition = { type = province value = 180 } # Granada
			}
		}

	mean_time_to_happen = {
		months = 4000

		modifier = {
			condition = {
			type = or
				condition = { type = trait value = ecclesiastical_education }
				condition = { type = trait value = detached_priest }
				condition = { type = trait value = martial_cleric }
				condition = { type = trait value = mastermind_theologian }
				condition = { type = trait value = scholarly_theologian }
				}
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.75
		}
		modifier = {
			condition = { type = province value = 199 }
			factor = 0.5
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.8
		}
		modifier = { # More willing to use force against his subjects
			condition = { type = trait value = cruel }
			factor = 0.99
		}
		modifier = { # More willing to use force against his subjects
			condition = { type = trait value = reckless }
			factor = 0.95
		}
		modifier = { # Less willing to use force against his subjects
			condition = { type = trait value = merciful }
			factor = 1.15
		}
		modifier = { # Less willing to use force against his subjects
			condition = { type = trait value = just }
			factor = 1.1
		}
		modifier = { # Less bothered about religious differences
			condition = { type = trait value = sceptical }
			factor = 2
		}
		modifier = { # Finds harder to get clerics to support converting effort
			condition = { type = trait value = heretic }
			factor = 10
		}
		modifier = { # Finds harder to get clerics to support converting effort
			condition = { type = trait value = excommunicated }
			factor = 100
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 50 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 100 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 200 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 500 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 1000 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = trait value = martial_cleric }
					}
				}
			factor = 0.85
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = trait value = scholarly_theologian }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = trait value = mastermind_theologian }
					}
				}
			factor = 0.85
		}
		modifier = {
			condition = { type = owner
				condition = { type = stability value = 1 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = stability value = 2 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = stability value = 3 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = not value = { type = stability value = 0 } }
			}
			factor = 1.1
		}
		modifier = {
			condition = { type = owner
				condition = { type = not value = { type = stability value = -1 } }
			}
			factor = 1.1
		}
		modifier = {
			condition = { type = owner
				condition = { type = not value = { type = stability value = -2 } }
			}
			factor = 1.1
		}
	}

	action_a = { #I will see to it that they convert, or die!
		ai_chance = 40
		modifier = {
			condition = { type = trait value = cruel }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = martial_cleric }
			factor = 1.5
		}
		modifier = {
			condition = { type = not
				value = { type = ruler_prestige value = 25 }
				}
			factor = 0.5
		}
			modifier = {
				condition = { type = or
					condition = { type = demesne value = PAPA }
					condition = { type = demesne value = TEMP }
					condition = { type = demesne value = HOSP }
					condition = { type = demesne value = TEUT }
					condition = { type = demesne value = U000 }
					condition = { type = demesne value = U001 }
				}
				factor = 100
			}
		effect = { type = ruler_gold scale = -0.166 }
		effect = { type = religion value = catholic }
		effect = { type = prosperity value = -2 }
		effect = { type = peasant_loyalty value = -0.5 }
		effect = { type = burgher_loyalty value = -0.25 }
		effect = { type = clergy_loyalty value = 0.25 }
		effect = { type = noble_loyalty value = 0.25 }
		effect = { type = clergy_power value = 0.25 }
		effect = { type = noble_power value = 0.25 }
		effect = { type = ruler_piety value = 25 }
		effect = { type = ruler_prestige value = -25 }
		effect = {
			type = random
			chance = 50
			effect = { type = add_province_effect value = looted }
		}
		effect = {
			type = random
			chance = 25
			effect = { type = add_province_effect value = revolt }
		}
	}

	action_b = { #I will try to do my best to encourage them to convert
		ai_chance = 40
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.25
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.25
		}
		modifier = {
			condition = { type = trait value = scholarly_theologian }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = mastermind_theologian }
			factor = 1.25
		}
		modifier = {
			condition = { type = not
				value = { type = ruler_prestige value = 10 }
				}
			factor = 0.75
		}
		modifier = {
			condition = { type = ruler_diplomacy value = 8 }
			factor = 1.5
		}
		effect = { type = ruler_gold scale = -0.083 }
		effect = { type = prosperity value = -1 }
		effect = { type = peasant_loyalty value = -0.2 }
		effect = { type = burgher_loyalty value = -0.1 }
		effect = { type = clergy_loyalty value = 0.1 }
		effect = { type = clergy_power value = 0.1 }
		effect = { type = ruler_prestige value = -10 }
		effect = {
			type = random
			chance = 50
			effect = { type = religion value = catholic }
			effect = { type = ruler_piety value = 10 }
		}
		effect = {
			type = random
			chance = 33
			effect = { type = add_province_effect value = looted }
		}
		effect = { # Revolt is really nasty, so lowered the chance to balance it with A
			type = random
			chance = 10
			effect = { type = add_province_effect value = revolt }
		}
	}

	action_c = { #I am a little too busy crusading to do that at the moment
		ai_chance = 20
		modifier = {
			condition = { type = trait value = heretic }
			factor = 2.5
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.5
		}
		modifier = {
			condition = { type = not
				value = { type = ruler_piety value = 25	}
				}
			factor = 0.5
		}
		modifier = { # Less likely to pick non-converting option for crusade target
			condition = { type = province value = 202 }
			factor = 0.1
		}
			modifier = {
				condition = { type = or
					condition = { type = demesne value = PAPA }
					condition = { type = demesne value = TEMP }
					condition = { type = demesne value = HOSP }
					condition = { type = demesne value = TEUT }
					condition = { type = demesne value = U000 }
					condition = { type = demesne value = U001 }
				}
				factor = 0.00001
			}
		effect = { type = noble_power value = -0.2 }
		effect = { type = ruler_piety value = -25 }
		effect = {
			type = random
			chance = 50 #hard to guess how the pope will view your lack of zeal
			effect = { type = ruler_piety value = -50 }
		}
		effect = {
			type = random
			chance = 20 #pope may declare anathema
			effect = { type = add_province_effect value = heretic }
		}
		effect = {
			type = random
			chance = 5 #a province under weak guidance could revolt
			effect = { type = add_province_effect value = revolt }
		}
	}
}
 
Last edited:
In the crusader_events.txt of CK-DV with the DVIP I only find crusade events for the spanish provinces of Burgos and Cordoba. However I think I can remember a crusade against Santiago di compostela in one of my games. In which other files are more crusade events? Or does my memory fail me? Not that a Zaragozar crusade already is somewhere else only to later discover it...
 
After two crashes I found two typos and this the current version. When I use F12 to manually trigger the events they fire and the crusade begins and ends normally.
But in the event window there is no descriptive text only "unknown string wanted"?

Code:
##############
# Zaragoza! #
##############

character_event = { #Crusade to free Zaragoza
	id = 1624
	picture = "event_crusades"

	trigger = {
		condition = { type = exists value = PAPA }
		condition = { 
			type = not	
			value = { type = crusade } 
		}
		condition = {
			type = or
			condition = { type = papacy }
			condition = {
				type = and
				condition = { type = is_independent }
				condition = { type = not value = { type = county } }
				condition = { type = not value = { type = trait value = excommunicated } }
				condition = { type = not value = { type = trait value = heretic } }
				condition = { type = not value = { type = trait value = sceptical } }
			}
		}
		condition = { 	type = religion value = catholic }
		condition = { 	type = province 
			province = 202 #Zaragoza
			condition = {
				type = and
				condition = { type = not value = { type = ruler_religion value = catholic }}
				condition = { type = not value = { type = ruler_religion value = orthodox }}
			}
		}
	}

	mean_time_to_happen = {
		years = 850

		modifier = {
			condition = { type = not value = { type = year value = 1075 } }
			factor = 50
		}
		modifier = {
			condition = { type = not value = { type = year value = 1118 } } #historically the crusade was in 1118
			factor = 5
		}
		modifier = {
			condition = {
				type = and
				condition = { type = year value = 1118 }
				condition = { type = not value = { type = year value = 1250 } }
			}
			factor = 0.75
		}
		modifier = {
			condition = { type = papacy }
			factor = 0.05 #papal controller is most likely to call it
		}
		modifier = {
			condition = { type = not value = { type = papacy  } }
			condition = { type = duchy }
			factor = 10 #a duke unlikely to call one
		}
		modifier = { 
			condition = { type = culture value = Castillan }
			factor = 0.15 #historically Zaragoza was conquered by the King of Aragon in 1118 so catalan should be more likely than castilian 
		}
		modifier = { 
			condition = { type = culture value = Catalan }
			factor = 0.1
		}

		modifier = {
			condition = { 	type = province 
				province = 774 #Jerusalem
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 3
		}
		modifier = {
			condition = { 	type = province 
				province = 764 #Antioch
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 2
		}
		modifier = {
			condition = { 	type = province 
				province = 802 #Alexandria
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 1.5
		}
		modifier = {
			condition = { 	type = province 
				province = 190 #Leon
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 155 #Asturios de Ovieda
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Compostella
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Santiago
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 154 #Astias de Santillana
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 153 #Viscaya
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 201 #Rioja
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85

		}
		modifier = {
			condition = { 	type = province 
				province = 200 #Sorja
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 198 #Valladolid
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 176 #Molina
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 207 #Jaca
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 152 #Navarra
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 197 #Toledo
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 171 #Valencia
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 181 #Cordoba
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 182 #Sevilla
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 180 #Granada
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.85
		}
		modifier = {
			condition = { 	type = province 
				province = 160 #Lisboa
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}
		modifier = {
			condition = { 	type = province 
				province = 165 #Cadiz
				condition = {
					type = and
					condition = { type = not value = { type = ruler_religion value = catholic }}
					condition = { type = not value = { type = ruler_religion value = orthodox }}
				}
			}
			factor = 0.5
		}

		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.8
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.9
		}
		modifier = {
			condition = { type = trait value = martial_cleric}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = trait value = martial_cleric }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 10 }
			}
			factor = 0.95
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 25 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 50 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = chaplain_csc
				condition = { type = piety value = 100 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = stability value = 1 }
			factor = 0.9
		}
		modifier = {
			condition = { type = stability value = 2 }
			factor = 0.9
		}
		modifier = {
			condition = { type = stability value = 3 }
			factor = 0.9
		}
		modifier = {
			condition = { type = not value = { type = stability value = 0 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = stability value = -1 } }
			factor = 1.1
		}
		modifier = {
			condition = { type = not value = { type = stability value = -2 } }
			factor = 1.1
		}
	}
	action_a = { # Deus Vult!
		ai_chance = 80
		modifier = { 
			condition = { type = culture value = Castillan }
			factor = 1.1
		}
		modifier = { 
			condition = { type = culture value = Catalan }
			factor = 1.05
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 1.1
		}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 100
			}
		effect = { type = crusade value = 202 } #Zaragoza
		effect = { type = piety value = 25 }
		effect = { type = prestige value = 50 }
		effect = { type = add_trait value = zealous }
		effect = {
			type = random
			chance = 15
			effect = { type = add_trait value = crusader }
		}
	}
	action_b = { # They are harmless enough
		ai_chance = 25
		modifier = {
			condition = { type = not value = { type = piety value = 75 } }
			factor = 0.25
		}
		modifier = {
			condition = { type = not value = { type = prestige value = 150 } }
			factor = 0.25
		}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 0.00001
			}
		effect = { type = piety value = -50 }
		effect = { type = prestige value = -100 }
		effect = { type = add_trait value = sceptical }
		effect = {
			type = random
			chance = 15
			effect = { type = add_trait value = excommunicated }
		}
	}
}

character_event = { #end the Zaragoza crusade - Zaragoza not in Christian hands
	id = 1625
	picture = "event_crusades"

	trigger = {
		condition = { type = crusade }
		condition = { type = target value = 202 } #Zaragoza
		condition = { type = papacy }
		condition = { 	type = province 
			province = 202 #Zaragoza
			condition = {
				type = and 
				condition = { type = not value = { type = ruler_religion value = catholic } }
				condition = { type = not value = { type = ruler_religion value = orthodox } }
			}
		}
	}

	mean_time_to_happen = {
		years = 20

		modifier = {
			condition = { 	type = province 
				province = 190 #Leon
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 155 #Asturios de Ovieda
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Compostella
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Santiago
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 154 #Astias de Santillana
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 153 #Viscaya
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 201 #Rioja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 200 #Sorja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 198 #Valladolid
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.95
		}
		modifier = {
			condition = { 	type = province 
				province = 176 #Molina
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 207 #Jaca
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 152 #Navarra
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 197 #Toledo
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 171 #Valencia
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 181 #Cordoba
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 182 #Sevilla
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 180 #Granada
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
	}

	action_a = { # let us continue this holy crusade
		ai_chance = 50
			modifier = { 
				condition = { type = culture value = Castillan }
				factor = 1.1
			}
			modifier = { 
				condition = { type = culture value = Catalan }
				factor = 1.05
			}
			modifier = {
				condition = { type = not value = { type = piety value = 75 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = not value = { type = prestige value = 75 } }
				factor = 1.1
			}
			modifier = {
				condition = { type = trait value = crusader }
				factor = 1.2
			}
			modifier = {
				condition = { type = trait value = zealous }
				factor = 1.1
			}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 100
			}
		effect = { type = piety value = 25 }
		effect = { type = prestige value = 25 }
		effect = { type = add_trait value = crusader }
	}
	action_b = { # Our cause is lost!
		ai_chance = 50
			modifier = {
				condition = { type = not value = { type = piety value = 75 } }
				factor = 0.5
			}
			modifier = {
				condition = { type = not value = { type = prestige value = 75 } }
				factor = 0.5
			}
			modifier = {
				condition = { type = or
					condition = { type = title value = PAPA }
					condition = { type = title value = TEMP }
					condition = { type = title value = HOSP }
					condition = { type = title value = TEUT }
					condition = { type = title value = U000 }
					condition = { type = title value = U001 }
					condition = { type = form_of_goverment value = knight_order }
				}
				factor = 0.00001
			}
		effect = { type = crusade value = 0 }
		effect = { type = piety value = -75 }
		effect = { type = prestige value = -75 }
		effect = { type = remove_trait value = crusader }
		effect = { type = random_list
			65 = { type = remove_trait value = zealous }
			25 = { type = add_trait value = sceptical }
			10 = { type = add_trait value = excommunicated }
		}
	}
}
character_event = { #end the Zaragoza crusade - Zaragoza in Christian hands
	id = 1626
	picture = "event_crusades"

	trigger = {
		condition = { type = crusade }
		condition = { type = target value = 202 }
		condition = { type = papacy } # once started, only the papal controller can call off a crusade
		condition = { 	type = province 
			province = 202 #Zaragoza
			condition = {
				type = or 
				condition = { type = ruler_religion value = catholic }
				condition = { type = ruler_religion value = orthodox }
			}
		}
	}

	mean_time_to_happen = {
		months = 48

		modifier = {
			condition = { 	type = province 
				province = 202 #Zaragoza
				condition = { type = religion value = catholic }
			}
			factor = 0.25
		}
		modifier = {
			condition = { 	type = province 
				province = 190 #Leon
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 155 #Asturios de Ovieda
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Compostella
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 156 #Santiago
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 154 #Astias de Santillana
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 153 #Viscaya
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 201 #Rioja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 200 #Sorja
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 198 #Valladolid
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.9
		}
		modifier = {
			condition = { 	type = province 
				province = 176 #Molina
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 207 #Jaca
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 152 #Navarra
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 197 #Toledo
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 171 #Valencia
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 181 #Cordoba
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 
				province = 182 #Sevilla
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
		modifier = {
			condition = { 	type = province 

				province = 180 #Granada
				condition = {
					type = or
					condition = { type = ruler_religion value = catholic }
					condition = { type = ruler_religion value = orthodox }
				}
			}
			factor = 0.8
		}
	}
	immidiate = { #Zaragoza is saved!
		effect = { type = crusade value = 0 } #turn off crusades
	}
}


province_event = { #The Pope urges you to convert these captured lands to the one true faith
	id = 1627
	picture = "event_muslim"

	trigger = {
		condition = { type = crusade }
		condition = { type = target value = 202 } 
		condition = { type = ruler_religion value = catholic }
		condition = { type = not value = { type = religion value = catholic } }
		condition = {
			type = or
			condition = { type = province value = 202 } # Zaragoza
			condition = { type = province value = 190 } # Leon
			condition = { type = province value = 155 } # Asturias de Oviedo
			condition = { type = province value = 156 } # Compostela
			condition = { type = province value = 157 } # Santiago
			condition = { type = province value = 154 } # Asturias de Santillana
			condition = { type = province value = 153 } # Viscaya
			condition = { type = province value = 201 } # Rioja
			condition = { type = province value = 200 } # Soria
			condition = { type = province value = 198 } # Valldolid
			condition = { type = province value = 176 } # Molina
			condition = { type = province value = 152 } # Navarra
			condition = { type = province value = 207 } # Jaca
			condition = { type = province value = 197 } # Toledo
			condition = { type = province value = 171 } # Valencia
			condition = { type = province value = 181 } # Cordoba
			condition = { type = province value = 182 } # Sevilla
			condition = { type = province value = 180 } # Granada
			}
		}

	mean_time_to_happen = {
		months = 4000

		modifier = {
			condition = {
			type = or
				condition = { type = trait value = ecclesiastical_education }
				condition = { type = trait value = detached_priest }
				condition = { type = trait value = martial_cleric }
				condition = { type = trait value = mastermind_theologian }
				condition = { type = trait value = scholarly_theologian }
				}
			factor = 0.85
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 0.75
		}
		modifier = {
			condition = { type = province value = 199 }
			factor = 0.5
		}
		modifier = {
			condition = { type = trait value = zealous }
			factor = 0.8
		}
		modifier = { # More willing to use force against his subjects
			condition = { type = trait value = cruel }
			factor = 0.99
		}
		modifier = { # More willing to use force against his subjects
			condition = { type = trait value = reckless }
			factor = 0.95
		}
		modifier = { # Less willing to use force against his subjects
			condition = { type = trait value = merciful }
			factor = 1.15
		}
		modifier = { # Less willing to use force against his subjects
			condition = { type = trait value = just }
			factor = 1.1
		}
		modifier = { # Less bothered about religious differences
			condition = { type = trait value = sceptical }
			factor = 2
		}
		modifier = { # Finds harder to get clerics to support converting effort
			condition = { type = trait value = heretic }
			factor = 10
		}
		modifier = { # Finds harder to get clerics to support converting effort
			condition = { type = trait value = excommunicated }
			factor = 100
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 50 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 100 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 200 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 500 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = piety value = 1000 }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = trait value = martial_cleric }
					}
				}
			factor = 0.85
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = trait value = scholarly_theologian }
					}
				}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = chaplain_csc
					condition = { type = trait value = mastermind_theologian }
					}
				}
			factor = 0.85
		}
		modifier = {
			condition = { type = owner
				condition = { type = stability value = 1 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = stability value = 2 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = stability value = 3 }
			}
			factor = 0.9
		}
		modifier = {
			condition = { type = owner
				condition = { type = not value = { type = stability value = 0 } }
			}
			factor = 1.1
		}
		modifier = {
			condition = { type = owner
				condition = { type = not value = { type = stability value = -1 } }
			}
			factor = 1.1
		}
		modifier = {
			condition = { type = owner
				condition = { type = not value = { type = stability value = -2 } }
			}
			factor = 1.1
		}
	}

	action_a = { #I will see to it that they convert, or die!
		ai_chance = 40
		modifier = {
			condition = { type = trait value = cruel }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = arbitrary }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = reckless }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = crusader }
			factor = 2
		}
		modifier = {
			condition = { type = trait value = martial_cleric }
			factor = 1.5
		}
		modifier = {
			condition = { type = not
				value = { type = ruler_prestige value = 25 }
				}
			factor = 0.5
		}
			modifier = {
				condition = { type = or
					condition = { type = demesne value = PAPA }
					condition = { type = demesne value = TEMP }
					condition = { type = demesne value = HOSP }
					condition = { type = demesne value = TEUT }
					condition = { type = demesne value = U000 }
					condition = { type = demesne value = U001 }
				}
				factor = 100
			}
		effect = { type = ruler_gold scale = -0.166 }
		effect = { type = religion value = catholic }
		effect = { type = prosperity value = -2 }
		effect = { type = peasant_loyalty value = -0.5 }
		effect = { type = burgher_loyalty value = -0.25 }
		effect = { type = clergy_loyalty value = 0.25 }
		effect = { type = noble_loyalty value = 0.25 }
		effect = { type = clergy_power value = 0.25 }
		effect = { type = noble_power value = 0.25 }
		effect = { type = ruler_piety value = 25 }
		effect = { type = ruler_prestige value = -25 }
		effect = {
			type = random
			chance = 50
			effect = { type = add_province_effect value = looted }
		}
		effect = {
			type = random
			chance = 25
			effect = { type = add_province_effect value = revolt }
		}
	}

	action_b = { #I will try to do my best to encourage them to convert
		ai_chance = 40
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = just }
			factor = 1.25
		}
		modifier = {
			condition = { type = trait value = wise }
			factor = 1.25
		}
		modifier = {
			condition = { type = trait value = scholarly_theologian }
			factor = 1.5
		}
		modifier = {
			condition = { type = trait value = mastermind_theologian }
			factor = 1.25
		}
		modifier = {
			condition = { type = not
				value = { type = ruler_prestige value = 10 }
				}
			factor = 0.75
		}
		modifier = {
			condition = { type = ruler_diplomacy value = 8 }
			factor = 1.5
		}
		effect = { type = ruler_gold scale = -0.083 }
		effect = { type = prosperity value = -1 }
		effect = { type = peasant_loyalty value = -0.2 }
		effect = { type = burgher_loyalty value = -0.1 }
		effect = { type = clergy_loyalty value = 0.1 }
		effect = { type = clergy_power value = 0.1 }
		effect = { type = ruler_prestige value = -10 }
		effect = {
			type = random
			chance = 50
			effect = { type = religion value = catholic }
			effect = { type = ruler_piety value = 10 }
		}
		effect = {
			type = random
			chance = 33
			effect = { type = add_province_effect value = looted }
		}
		effect = { # Revolt is really nasty, so lowered the chance to balance it with A
			type = random
			chance = 10
			effect = { type = add_province_effect value = revolt }
		}
	}

	action_c = { #I am a little too busy crusading to do that at the moment
		ai_chance = 20
		modifier = {
			condition = { type = trait value = heretic }
			factor = 2.5
		}
		modifier = {
			condition = { type = trait value = excommunicated }
			factor = 5
		}
		modifier = {
			condition = { type = trait value = merciful }
			factor = 1.2
		}
		modifier = {
			condition = { type = trait value = sceptical }
			factor = 1.5
		}
		modifier = {
			condition = { type = not
				value = { type = ruler_piety value = 25	}
				}
			factor = 0.5
		}
		modifier = { # Less likely to pick non-converting option for crusade target
			condition = { type = province value = 202 }
			factor = 0.1
		}
			modifier = {
				condition = { type = or
					condition = { type = demesne value = PAPA }
					condition = { type = demesne value = TEMP }
					condition = { type = demesne value = HOSP }
					condition = { type = demesne value = TEUT }
					condition = { type = demesne value = U000 }
					condition = { type = demesne value = U001 }
				}
				factor = 0.00001
			}
		effect = { type = noble_power value = -0.2 }
		effect = { type = ruler_piety value = -25 }
		effect = {
			type = random
			chance = 50 #hard to guess how the pope will view your lack of zeal
			effect = { type = ruler_piety value = -50 }
		}
		effect = {
			type = random
			chance = 20 #pope may declare anathema
			effect = { type = add_province_effect value = heretic }
		}
		effect = {
			type = random
			chance = 5 #a province under weak guidance could revolt
			effect = { type = add_province_effect value = revolt }
		}
	}
}

#
# NEXT EVENT IN THIS SERIES 1628
#
 
I found the text to the crusades events in
extra_text.csv

But a question about that - in EU2 or HoI events had an eventname component in which the texts of other events could be used. So that there was no need a generic message like "they are harmless enough" would have to be written several times in the txt file. Does CK-DV only find the correct text by the event number of the event so that every text must be written several times in the text file - even if it´s just the same text?

Code:
EVT_1624_NAME;Zaragoza is in heathen hands!;Zaragoza est en des mains infidèles!;Zaragoza ist in den Händen der Ungläubigen!;¡Zaragoza ha caído en manos de los infieles!;Zaragoza è in mani pagane!;;;;;;;;;X
ACTIONNAME1624A;Let the Reconquista begin!;Que la Reconquista commence!;Lasst uns mit der Reconquista beginnen!;¡Que comience la Reconquista!;Che la Reconquista inizi!;;;;;;;;;X
ACTIONNAME1624B;They are harmless enough;Ils sont assez inoffensifs;Sie sind harmlos.;Dejadles, son inofensivos;Sono abbastanza innocui;;;;;;;;;X
EVT_1625_NAME;Zaragoza remains in heathen hands!;Zaragoza est toujours aux mains des infidèles!;Zaragoza verbleibt in den Händen der Ungläubigen;¡Zaragoza permanece en manos de los infieles!;Zaragoza è ancora in mani pagane!;;;;;;;;;X
ACTIONNAME1625A;Let us continue this holy crusade;Continuons cette sainte Croisade!;Wir setzen den Kreuzzug fort.;Permitenos continuar esta santa cruzada;Continuiamo questa santa crociata;;;;;;;;;X
ACTIONNAME1625B;It is a lost cause!;C'est une cause perdue !;Es ist alles vergebens!;¡Es una causa perdida!;E' una causa persa!;;;;;;;;;X
EVT_1626_NAME;Zaragoza is saved!;Zaragoza est libérée !;Zaragoza ist gerettet!;¡Zaragoza ha sido liberada!;Zaragoza è salva!;;;;;;;;;X
ACTIONNAME1626A;Halleluiah!;Alleluia!;Hallelujah!;¡Aleluya!;Alleluia!;;;;;;;;;X
EVT_1627_NAME;The Pope urges you to convert these lands to the one true faith!;Le Pape exige que vous convertissiez ces terres à la Vraie Foi!;Der Papst drängt Euch, die Ländereien zum einzig wahren Glauben zu bekehren.;¡El Papa desea que conviertas estas tierras a la única Fé Verdadera!;Il Papa ti esorta a convertire quelle terre alla vera fede!;;;;;;;;;X
ACTIONNAME1627A;I shall see to it that they convert, or die!;Qu'ils se convertissent ou qu'ils meurent!;Ich sorge dafür, dass sie konvertieren, oder sterben;¡Serán convertidos o morirán!;Farò in modo che si convertano o muoiano!;;;;;;;;;X
ACTIONNAME1627B;I shall do my best to encourage them to convert;Je ferai de mon mieux pour les y inciter;Ich werde mein Bestes tun, damit sie konvertieren;Haré todo lo que pueda para que se conviertan;Farò del mio meglio per spingerli alla conversione;;;;;;;;;X
ACTIONNAME1627C;I am too busy crusading to do that at the moment;La Croisade m'occupe déjà suffisamment;Ich bin mit den Kreuzzügen momentan ausgelastet;Estoy ocupado con la cruzada, no puedo hacerlo ahora;Sono troppo impegnato per poterlo fare ora;;;;;;;;;X
 
Does CK-DV only find the correct text by the event number of the event so that every text must be written several times in the text file - even if it´s just the same text?

Yes, each event/option must have its own line of text
 
Yes, each event/option must have its own line of text

o.k. I added the events to the crusaders text file and the text to the text.txt file and now they work perfectly when triggered manually. Thanks Feldmarschall!
Now I´m only waiting for the crusade to zaragoza to be triggered from the game itself...