Scripted effect · All Under Heaven files
tgp_japan_soryo_eradicate_cb_transfer_effect
tgp_japan_soryo_eradicate_cb_transfer_effect = yesgame/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt, line 3648 (54 lines). No parameters.
tgp_japan_soryo_eradicate_cb_transfer_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 3648 of its file. It takes no parameters: tgp_japan_soryo_eradicate_cb_transfer_effect = yes. The game's script calls it in 2 places, among them Eradicate Rival House (casus belli) and Eradicate the … (event tgp_japan_general.9551). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
What it does
- Every in list:
- Where:
is_landless_type_title = no- Title tier exactly Duchy
change_title_holder_include_vassals = { holder = scope:winner change = scope:change }
- Where:
- Every in list:
- Where:
is_landless_type_title = no
change_title_holder_include_vassals = { holder = scope:winner change = scope:change }
- Where:
• 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 (54 lines of game script)
tgp_japan_soryo_eradicate_cb_transfer_effect = {
scope:loser = {
every_held_title = {
limit = {
# Prevent completely breaking realms
trigger_if = {
limit = {
scope:loser = {
highest_held_title_tier >= tier_kingdom
any_held_title = { is_landless_type_title = yes }
}
}
NOR = {
this = scope:loser.capital_county
this = scope:loser.capital_county.duchy
}
}
is_landless_type_title = no
tier > tier_barony
tier < tier_kingdom
}
add_to_list = seized_titles
}
}
create_title_and_vassal_change = {
type = conquest
save_scope_as = change
add_claim_on_loss = yes
}
every_in_list = {
list = seized_titles
limit = {
is_landless_type_title = no
tier = tier_duchy
}
change_title_holder_include_vassals = {
holder = scope:winner
change = scope:change
}
}
every_in_list = {
list = seized_titles
limit = {
is_landless_type_title = no
}
change_title_holder_include_vassals = {
holder = scope:winner
change = scope:change
}
}
resolve_title_and_vassal_change = scope:change
}As written in game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls tgp_japan_soryo_eradicate_cb_transfer_effect.
Casus belli (1)
Events (1)
- Eradicate the …
tgp_japan_general.9551
Source: game/common/scripted_effects/10_dlc_tgp_japan_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.