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

Scripted effect · Legacy of Persia files

fp3_struggle_ending_concession_effects

fp3_struggle_ending_concession_effects = yes

game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt, line 717 (130 lines). No parameters.

fp3_struggle_ending_concession_effects is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 717 of its file. It takes no parameters: fp3_struggle_ending_concession_effects = yes. The game's script calls it in 3 places, among them Iranian Intermezzo (struggle), The Sunni Caliphate Concedes (event fp3_struggle.0081) and The Sunni Caliphate Concedes (event fp3_struggle.0082). Its body carries 5 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.

What it does

• 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)
fp3_struggle_ending_concession_effects = {
	# All the involved independent rulers get a white peace
	custom_tooltip = {
		text = fp3_concession_white_peace_tt
		struggle:persian_struggle = {
			every_involved_ruler = {
				limit = {
					top_liege = this
					NOT = {
						primary_title = { is_mercenary_company = yes }
					}
				}
				save_scope_as = peace_target
				scope:peace_target = {
					every_primary_war_enemy = {
						limit = {
							top_liege = this
							NOT = {
								primary_title = { is_mercenary_company = yes }
							}
							fp3_character_any_involvement_persian_struggle_trigger = yes
						}
						every_character_war = {
							limit = {
								OR = {
									primary_attacker = scope:peace_target
									primary_defender = scope:peace_target
								}
							}
							end_war = white_peace
						}
					}
				}
			}
		}
		
		# Silk Road bonus towards prosperity if and when Persia's turmoil comes to an end
		tgp_silk_road_iranian_intermezzo_ending_effect = yes
	}

	# All the involved independent rulers gain truces with each other
	custom_tooltip = {
		text = fp3_concession_truce_tt
		struggle:persian_struggle = {
			every_involved_ruler = {
				limit = {
					top_liege = this
					NOT = {
						primary_title = { is_mercenary_company = yes }
					}
				}
				save_scope_as = first_truce
				every_character_struggle = {
					limit = { is_struggle_type = persian_struggle }
					every_involved_ruler = {
						limit = {
							NOR = {
								this = scope:first_truce
								primary_title = { is_mercenary_company = yes }
							}
							top_liege = this
						}
						add_truce_both_ways = {
							character = scope:first_truce
							days = 18250
							name = fp3_concession_truce_reason
						}
					}
				}
			}
		}
	}

	# All involved rulers, independent or not, lose all their claims
	custom_tooltip = {
		text = fp3_concession_lose_claim_tt
		struggle:persian_struggle = {
			every_involved_ruler = {
				save_scope_as = claim_loser
				every_claim = {
					scope:claim_loser = { remove_claim = prev }
				}
			}
		}
	}

	custom_tooltip = {
		text = fp3_concession_rebuilding_efforts_tt
		struggle:persian_struggle = {
			every_involved_ruler = {
				limit = {
					has_trait = fp3_struggle_supporter
					is_house_head = yes
					NOT = {
						primary_title = { is_mercenary_company = yes }
					}
				}
				house ?= {
					add_house_modifier = {
						modifier = fp3_house_modifier_rebuilding_efforts
						years = fp3_house_modifier_concession_ending_duration
					}
				}
			}
		}
	}

	custom_tooltip = {
		text = fp3_concession_frontier_ambitions_tt
		struggle:persian_struggle = {
			every_involved_ruler = {
				limit = {
					has_trait = fp3_struggle_detractor
					is_house_head = yes
					NOT = {
						primary_title = { is_mercenary_company = yes }
					}
				}
				house ?= {
					add_house_modifier = {

As written in game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.

The first 120 of its 130 lines; the rest is in game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt from line 717.

Where it is used

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

Struggles (1)

  • Iranian Intermezzo

Events (2)

Source: game/common/scripted_effects/05_dlc_fp3_scripted_effects.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?