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

Vinroke

Megas Archon
52 Badges
Aug 8, 2011
369
11
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Sengoku
  • Rome Gold
  • March of the Eagles
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Cities in Motion
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Shadowrun: Dragonfall
  • Crusader Kings II: Way of Life
  • Stellaris
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Magicka 2
  • 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
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Fury
  • 500k Club
  • War of the Vikings
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
Shia Caliph can declare a Jihad after 1187 if moral authority is at 50% and the target is independent, either of a different religion group or a heresy of shia and has at least 6 counties.
 

Scde2

Corporal
105 Badges
Sep 22, 2010
46
33
  • Supreme Ruler: Cold War
  • Heir to the Throne
  • Europa Universalis IV: Cossacks
  • Magicka
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Supreme Ruler 2020
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Third Rome
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Deus Vult
  • Crusader Kings II
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • 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
  • For the Motherland
  • Hearts of Iron III
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Stellaris: Necroids
  • 500k Club
  • Europa Universalis III Complete
Shia Caliph can declare a Jihad after 1187 if moral authority is at 50% and the target is independent, either of a different religion group or a heresy of shia and has at least 6 counties.

This, and Jihads can only be called once in so many years and only once in the Caliph's lifetime. That, to my knowledge anyway.
 

Vinroke

Megas Archon
52 Badges
Aug 8, 2011
369
11
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Sengoku
  • Rome Gold
  • March of the Eagles
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Cities in Motion
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Shadowrun: Dragonfall
  • Crusader Kings II: Way of Life
  • Stellaris
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Magicka 2
  • 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
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Fury
  • 500k Club
  • War of the Vikings
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
I got them from the common/cb_types/00_cb_types.txt. As to checking the time I, unfortunately have no idea, though if you're looking for quick expansion as muslim ruler you can use a kingdom-level invasion cb if you have enough piety (500 IIRC).
 

Vinroke

Megas Archon
52 Badges
Aug 8, 2011
369
11
  • Crusader Kings II
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Sengoku
  • Rome Gold
  • March of the Eagles
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III
  • For The Glory
  • Cities in Motion
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Shadowrun: Dragonfall
  • Crusader Kings II: Way of Life
  • Stellaris
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Magicka 2
  • 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
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Fury
  • 500k Club
  • War of the Vikings
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
Code:
muslim_invasion = {
	name = CB_NAME_INVASION
	war_name = WAR_NAME_INVASION
	sprite = 8
	truce_days = 3650
	hostile_against_others = yes
	is_permanent = yes
	can_ask_to_join_war = no
	check_de_jure_tier = KING # this scans all de jure kingdoms for the counties which are held by or vassals(or below) of selected character. Only valid if is_permanent = yes

	can_use = {
		ROOT = {
			religion_group = muslim
			piety = 500
		}
		
		NOT = {
			# These use 'tribal_invasion' instead:
			ROOT = {
				OR = {
					AND = {
						primary_title = { is_tribal_type_title = yes }
						has_horde_culture = yes
					}
					AND = {
						mercenary = yes
						NOT = {
							num_of_titles = 2
						}
					}
				}
			}
		}
		
		FROM = { NOT = { religion = ROOT } }
		
		ROOT = {
			NOT = { is_liege_or_above = FROM }
		}
	}
	
	can_use_title = {
		# Muslims require the target to have at least 6 counties within the target kingdom
		FROM = {
			num_of_realm_counties = {
				value = 6
				title = PREV
			}
		}
	}
	
	is_valid_title = {
		FROM = {
			any_realm_title = {
				de_jure_liege_or_above = PREVPREV
			}
		}
	}
	
	on_add = {
		ROOT = { piety = -500 }
	}

	on_success = {
		ROOT = {
			prestige = 200
		}
		
		any_attacker = {
			limit = { character = ROOT }
			participation_scaled_prestige = 200
			
			if = {
				limit = {
					religion_group = muslim
					FROM = { NOT = { religion_group = muslim } }
				}
				participation_scaled_decadence = -20
			}
		}
		any_attacker = {
			limit = { NOT = { character = ROOT } }
			hidden_tooltip = { 
				participation_scaled_prestige = 200 
				if = {
					limit = {
						religion_group = muslim
						FROM = { NOT = { religion_group = muslim } }
					}
					participation_scaled_decadence = -20
				}
			}
		}
		FROM = {
			prestige = -200
		}
	}
	
	on_success_title = {
		custom_tooltip = tribal_invasion_succ_tip
		hidden_tooltip = {
			ROOT = {
				vassalize_or_take_under_title = {
					title = PREV
					enemy = FROM
					is_crusade = yes # Even if the title holder is not participating in the war, gain holdings occupied by all Crusade participants
				}
			}
		}
	}

	on_fail = {
		FROM = {
			prestige = 100
		}
		FROM = {
			if = {
				limit = {
					has_dlc = "Legacy of Rome"
					OR = { 
						has_landed_title = e_byzantium
						has_landed_title = e_roman_empire
					}
					religion_group = christian
				}
				hidden_tooltip = { character_event = { id = LoR.30 days = 12 } }
			}
		}
		any_defender = {
			limit = { character = FROM }
			participation_scaled_prestige = 100
		}
		any_defender = {
			limit = { NOT = { character = FROM } }
			hidden_tooltip = { participation_scaled_prestige = 100 }
		}
		ROOT = {
			prestige = -200
		}
	}

	on_reverse_demand = {
		ROOT = {
			prestige = -200
			transfer_scaled_wealth = {
				to = FROM
				value = 4.0
			}
			decadence = 10
		}
		FROM = {
			prestige = 200
		}
		FROM = {
			if = {
				limit = { 
					has_dlc = "Legacy of Rome"
					OR = { 
						has_landed_title = e_byzantium
						has_landed_title = e_roman_empire
					}
					religion_group = christian
				}
				hidden_tooltip = { character_event = { id = LoR.30 days = 12 } }
			}
		}
		any_defender = {
			limit = { character = FROM }
			participation_scaled_prestige = 200
		}
		any_defender = {
			limit = { NOT = { character = FROM } }
			hidden_tooltip = { participation_scaled_prestige = 200 }
		}
	}

	attacker_ai_victory_worth = {
		factor = 100
	}
	
	attacker_ai_defeat_worth = {
		factor = 100
	}

	defender_ai_victory_worth = {
		factor = -1 # always accept
	}
	
	defender_ai_defeat_worth = {
		factor = 150
	}
}

If I'm reading it correctly muslims can invade any non-muslim realm that has 6 counties of a de jure kingdom, regardless of whether or not said kingdom has holder.