Scripted effect · Roads to Power files
ep3_war_loss_adventurer_tt_effect
ep3_war_loss_adventurer_tt_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 10403 (44 lines). No parameters.
ep3_war_loss_adventurer_tt_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 10403 of its file. It takes no parameters: ep3_war_loss_adventurer_tt_effect = yes. The game's script calls it in 21 places, among them Bloc Expansion (casus belli), Claim (casus belli) and County Conquest (casus belli). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
The comment above it in the file
EP3 Laamp possibility warning
What it does
If
None of these
- Any held title:
One of these
is_landless_type_title = yesor
The … is a Noble Family Title
- Any held title:
- If any in list:
One of these
or
Every held title:One of these
is_in_list = target_titlesor
target_is_de_jure_liege_or_above = scope:war_loser.primary_title
Then
- … may become an Adventurer
• 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 (44 lines of game script)
ep3_war_loss_adventurer_tt_effect = {
save_scope_as = war_loser
if = {
limit = {
has_ep3_dlc_trigger = yes
NOT = {
any_held_title = {
OR = {
is_landless_type_title = yes
is_noble_family_title = yes
}
}
}
trigger_if = {
limit = { any_in_list = { list = target_titles } }
OR = {
# You are losing all your counties and have no vassals to steal from
AND = {
any_held_county = {
count = all
OR = {
is_in_list = target_titles
target_is_de_jure_liege_or_above = scope:war_loser.primary_title
}
}
any_vassal = {
count = 0
highest_held_title_tier >= tier_county
}
}
# You are losing all your held titles
any_held_title = {
count = all
OR = {
is_in_list = target_titles
target_is_de_jure_liege_or_above = scope:war_loser.primary_title
}
}
}
}
}
custom_tooltip = laamp_may_become_adventurer_tt
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_war_loss_adventurer_tt_effect.
Casus belli (20)
Events (1)
- The … Expands
tgp_japan_general.8800
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.