CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

rule_title_creation_imperial_power_projection_title_creation_trigger

rule_title_creation_imperial_power_projection_title_creation_trigger = yes

game/common/scripted_triggers/00_game_rule_triggers.txt, line 117 (135 lines). No parameters.

rule_title_creation_imperial_power_projection_title_creation_trigger is a scripted trigger in Crusader Kings III, written at line 117 of its file. It takes no parameters: rule_title_creation_imperial_power_projection_title_creation_trigger = yes (or no). The game's script calls it in 99 places, among them Establish Bactrian Supremacy (decision), Form the Outremer Empire (decision) and Found a New Empire (decision). Its body carries 7 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_game_rule_triggers.txt.

What it checks

• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists

“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.

The script as written (120 lines of game script)
rule_title_creation_imperial_power_projection_title_creation_trigger = {
	trigger_if = {
		limit = {
			empire_faith_gate_enabled_trigger = yes
		}
		can_create_empire_faith_gate_trigger = yes
		empire_creation_hof_requirements_trigger = yes
		trigger_if = {
			limit = { is_ai = yes }
			ai_only_check_stronger_same_faith_empire_exists_trigger = no
		}
	}

	trigger_if = {
		limit = {
			rule_title_creation_imperial_power_projection_title_creation_targeting_trigger = yes
			highest_held_title_tier <= tier_kingdom
		}
		switch = {
			trigger = has_game_rule
			title_creation_imperial_power_projection_any_power_advantage = {
				custom_tooltip = {
					text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_advantage
					any_neighboring_top_liege_realm_owner = {
						count = all
						trigger_if = {
							limit = { highest_held_title_tier >= tier_empire }
							save_temporary_scope_as = char_temp
							OR = {
								any_close_family_member = { is_spouse_of = root }
								root = { has_strong_hook = scope:char_temp }
								root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
							}
						}
					}
				}
			}
			title_creation_imperial_power_projection_hard_power_only = {
				custom_tooltip = {
					text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only
					any_neighboring_top_liege_realm_owner = {
						count = all
						trigger_if = {
							limit = { highest_held_title_tier >= tier_empire }
							save_temporary_scope_as = char_temp
							root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
						}
					}
				}
			}
			title_creation_imperial_power_projection_soft_power_only = {
				custom_tooltip = {
					text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.soft_power_only
					any_neighboring_top_liege_realm_owner = {
						count = all
						trigger_if = {
							limit = { highest_held_title_tier >= tier_empire }
							save_temporary_scope_as = char_temp
							OR = {
								any_close_family_member = { is_spouse_of = root }
								root = { has_strong_hook = scope:char_temp }
							}
						}
					}
				}
			}
			title_creation_imperial_power_projection_hard_power_only_strict = {
				custom_tooltip = {
					text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only_strict.neighbours
					any_neighboring_top_liege_realm_owner = {
						count = all
						trigger_if = {
							limit = { highest_held_title_tier >= tier_empire }
							save_temporary_scope_as = char_temp
							root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
						}
					}
				}
				custom_tooltip = {
					text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.hard_power_only_strict.de_jure_sharers
					any_sub_realm_county = {
						count = all
						empire = {
							OR = {
								is_title_created = no
								holder = {
									save_temporary_scope_as = char_temp
									root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
								}
							}
						}
					}
				}
			}
			title_creation_imperial_power_projection_any_power_strict = {
				custom_tooltip = {
					text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_strict.neighbours
					any_neighboring_top_liege_realm_owner = {
						count = all
						trigger_if = {
							limit = { highest_held_title_tier >= tier_empire }
							save_temporary_scope_as = char_temp
							OR = {
								any_close_family_member = { is_spouse_of = root }
								root = { has_strong_hook = scope:char_temp }
								root.current_military_strength >= scope:char_temp.fifty_percent_more_of_current_military_strength
							}
						}
						trigger_else = { always = yes }
					}
				}
				custom_tooltip = {
					text = rule_title_creation_imperial_power_projection_title_creation_trigger.tt.any_power_strict.de_jure_sharers
					any_sub_realm_county = {
						count = all
						empire = {
							OR = {
								is_title_created = no
								holder = {
									save_temporary_scope_as = char_temp

As written in game/common/scripted_triggers/00_game_rule_triggers.txt.

The first 120 of its 135 lines; the rest is in game/common/scripted_triggers/00_game_rule_triggers.txt from line 117.

Where it is used

Every place in common/, events/ and history/ that calls rule_title_creation_imperial_power_projection_title_creation_trigger.

Landed titles (82)

  • Aarlud Khaganate
  • Abyssinia
  • Aegyptus
  • Africa
  • Amur
  • Anatolia
76 more
  • Andong
  • Arabian Empire
  • Azania
  • Bactria
  • Baltic Empire
  • Baruun Khaganate
  • Beth Nahrain
  • Blue Horde
  • Britannia
  • Byzantine Empire
  • Carpathia
  • Carthage
  • Carthaginian Empire
  • Carthago Nova
  • Chagatai
  • China
  • Dai Viet
  • Dar al-Islam
  • Deccan Empire
  • Eastern Roman Empire
  • Francia
  • Germania
  • Golden Horde
  • Great Liao
  • Great Yuan Empire
  • Greater Armenia
  • Guinea
  • Hispania
  • Holy Roman Empire
  • Ilkhanate
  • Illyria
  • India
  • Italia
  • Japan
  • Jin
  • Kambuja
  • Kanem-Bornu
  • Khazaria
  • Khotan
  • Kingdom of Heaven
  • Kirghiz Khanate
  • Latin Empire
  • Macedonia
  • Maghreb
  • Majapahit
  • Mali
  • Mauretania
  • Mongol Empire
  • Mongolia
  • North Sea
  • Nusantara
  • Ömnöd Dalai Khaganate
  • Oriens
  • Outremer
  • Persian Empire
  • Pracya
  • Rajasthan
  • Red Horde
  • Roman Empire
  • Russia
  • Ruucuu
  • Samhan
  • Scandinavia
  • Siberia
  • Slavia
  • Srivijaya
  • Tartaria
  • Tibet
  • Timurids
  • Tögsköl Khaganate
  • Tripolitania
  • Turan
  • Uyghur Khanate
  • Volga-Ural
  • West-Slavia
  • White Horde

Source: game/common/scripted_triggers/00_game_rule_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?