Scripted effect
ep3_frankokratia_end_story_effect
ep3_frankokratia_end_story_effect = yesgame/common/scripted_effects/07_frankokratia_scripted_effects.txt, line 5000 (44 lines). No parameters.
ep3_frankokratia_end_story_effect is a scripted effect in Crusader Kings III, written at line 5000 of its file. It takes no parameters: ep3_frankokratia_end_story_effect = yes. The game's script calls it in 3 places, among them ep3_frankokratia_events.0005 (event), ep3_frankokratia_events.0061 (event) and Frankokratia (event ep3_frankokratia_events.0060). Patch 1.20.1.2, from game/common/scripted_effects/07_frankokratia_scripted_effects.txt.
What it does
global_var:byz_claimant_champion:- Loses “Prepared for Faraway Campaigns”
- One random owned story:
end_story = yes
• 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_frankokratia_end_story_effect = {
global_var:byz_claimant_champion = {
remove_character_modifier = prepared_for_daring_deeds_modifier
remove_character_flag = pope_condemned_crusader_claim
remove_character_flag = pope_endorsed_crusader_claim
random_owned_story = {
type = frankokratia_story
var:claimant ?= {
hidden_effect = {
remove_character_modifier = eager_for_empire_modifier
remove_character_flag = swore_to_convert_byz_catholic
remove_character_flag = paying_off_latins
remove_character_flag = ep3_frankokratia_events.0041_succeeded_duel
}
}
every_in_list = {
variable = frankokratia_leaders
hidden_effect = {
remove_character_modifier = grand_crusader_fleet_modifier
remove_character_flag = joining_frankokratia
remove_character_flag = had_event_frankokratia_0020
remove_character_flag = dont_send_general_event_franko
remove_variable = old_liege
remove_variable = latin_county
remove_variable = emp_beneficiary
remove_variable = emp_beneficiary_2
remove_variable = emp_beneficiary_3
remove_variable = beneficiary
remove_variable = beneficiary_2
remove_variable = beneficiary_3
remove_variable = latin_duchy
clear_variable_list = lost_titles
}
}
end_story = yes
}
remove_global_variable = byz_claimant_champion
remove_global_variable = financier_title
remove_global_variable = slaughtered_byzantines
remove_global_variable = latin_kingdom_1
remove_global_variable = latin_kingdom_2
clear_global_variable_list = slaughtered_byzantines_list
}
}As written in game/common/scripted_effects/07_frankokratia_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls ep3_frankokratia_end_story_effect.
Events (3)
- ep3_frankokratia_events.0005
- ep3_frankokratia_events.0061
- Frankokratia
ep3_frankokratia_events.0060
Source: game/common/scripted_effects/07_frankokratia_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.