Scripted effect · Legacy of Persia files
give_seljuk_title_effect
give_seljuk_title_effect = yesgame/common/scripted_effects/01_dlc_fp3_scripted_effects.txt, line 190 (30 lines). No parameters.
give_seljuk_title_effect is a scripted effect in Crusader Kings III, in the Legacy of Persia files, written at line 190 of its file. It takes no parameters: give_seljuk_title_effect = yes. The game's script calls it in 1 place, among them spawn_seljuk_character_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt.
The comment above it in the file
Set up default title
What it does
create_dynamic_title = { tier = duchy name = fp3_seljuk_horde_title_title adj = fp3_seljuk_horde_title_adj }scope:new_title:set_capital_county = scope:seljuk_birthplace.countyset_landless_title = yes- The coat of arms changes
set_destroy_if_invalid_heir = yesset_destroy_on_gain_same_tier = yesset_delete_on_destroy = yesset_no_automatic_claims = yesset_definitive_form = yesset_can_be_named_after_dynasty = noset_can_use_nomadic_naming = no- Gains the … Title (lead seljuk)
• 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 (30 lines of game script)
give_seljuk_title_effect = {
create_dynamic_title = {
tier = duchy
name = fp3_seljuk_horde_title_title
adj = fp3_seljuk_horde_title_adj
}
create_title_and_vassal_change = {
type = created
save_scope_as = change
add_claim_on_loss = no
}
scope:new_title = {
set_capital_county = scope:seljuk_birthplace.county
set_landless_title = yes
set_coa = house:house_seljuk
set_destroy_if_invalid_heir = yes
set_destroy_on_gain_same_tier = yes
set_delete_on_destroy = yes
set_no_automatic_claims = yes
set_definitive_form = yes
set_can_be_named_after_dynasty = no
set_can_use_nomadic_naming = no
change_title_holder = {
holder = scope:lead_seljuk
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
}As written in game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls give_seljuk_title_effect.
Scripted effects (1)
Source: game/common/scripted_effects/01_dlc_fp3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.