Scripted effect · Legacy of Persia files
fp3_struggle_ending_vassalize_caliph_effects
fp3_struggle_ending_vassalize_caliph_effects = yesgame/common/scripted_effects/05_dlc_fp3_scripted_effects.txt, line 379 (63 lines). No parameters.
fp3_struggle_ending_vassalize_caliph_effects is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 379 of its file. It takes no parameters: fp3_struggle_ending_vassalize_caliph_effects = yes. The game's script calls it in 2 places, among them Abbasid Humiliation (decision) and Foundation: A Subjugated Caliphate (event fp3_struggle.0100). Its body carries 2 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
- Arabian Empire:
change_title_holder_include_vassals = { holder = root change = scope:change }
title:d_sunni.holder:change_liege = { liege = root change = scope:change }
- Their dynasty: The dynasty gains +5,000 Renown
- Gains the Nickname 'the Protector of the Caliphate'
- Gain +5,000 Prestige
- Their house:
- Your House unlocks the Request Honorary Title interaction
- Your House unlocks Request House Unity Interference interaction
• 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 (63 lines of game script)
fp3_struggle_ending_vassalize_caliph_effects = {
# We vassalize the caliph, their vassals might use the confusion to declare independence
create_title_and_vassal_change = { # Note: do not attempt to simulate faction logic, it is too volatile
type = usurped
save_scope_as = change
}
title:e_arabia.holder = {
every_vassal = {
add_to_list = vassals_to_transfer
}
add_to_list = vassals_to_transfer
}
title:e_arabia = {
change_title_holder_include_vassals = {
holder = root
change = scope:change
}
save_scope_as = title_e_arabia
}
title:d_sunni.holder = {
change_liege = {
liege = root
change = scope:change
}
}
hidden_effect = {
every_in_list = {
list = vassals_to_transfer
limit = {
root != liege
}
change_liege = {
liege = root
change = scope:change
}
}
}
resolve_title_and_vassal_change = scope:change
dynasty ?= {
add_dynasty_prestige = 5000
}
give_nickname = nick_the_caliph_protector
add_prestige = 5000
# Unlocks permanent bonuses:
house = {
custom_tooltip = fp3_struggle_request_honorary_title_interactions_rewards_tt
custom_tooltip = fp3_struggle_request_unity_interference_interactions_rewards_tt
}
if = {
limit = { is_ai = no }
add_character_flag = {
flag = fp3_vassalize_the_caliph_achievement_unlocked
years = 4
}
}
}As written in game/common/scripted_effects/05_dlc_fp3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls fp3_struggle_ending_vassalize_caliph_effects.
Decisions (1)
Events (1)
- Foundation: A Subjugated Caliphate
fp3_struggle.0100
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.