Scripted effect · Coronations files
coronation_oath_cleanup_effect
coronation_oath_cleanup_effect = yesgame/common/scripted_effects/10_ach_effects.txt, line 858 (127 lines). No parameters.
coronation_oath_cleanup_effect is a scripted effect in Crusader Kings III, in the Coronations files, written at line 858 of its file. It takes no parameters: coronation_oath_cleanup_effect = yes. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/10_ach_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (120 lines of game script)
coronation_oath_cleanup_effect = {
# Diplomacy
if = {
limit = {
NOT = { has_variable = diplomacy_oath_1 }
}
remove_variable = diplomacy_oath_1_timer
}
if = {
limit = {
NOT = { has_variable = diplomacy_oath_2 }
}
remove_variable = diplomacy_oath_2_timer
}
# Martial
if = {
limit = {
NOT = { has_variable = martial_oath_1 }
}
remove_variable = martial_oath_1_timer
remove_variable = oath_reconquest_title
}
if = {
limit = {
NOT = { has_variable = martial_oath_2 }
}
remove_variable = martial_oath_2_timer
remove_variable = oath_conquest_size
}
# Stewardship
if = {
limit = {
NOT = { has_variable = stewardship_oath_1 }
}
remove_variable = stewardship_oath_1_timer
}
if = {
limit = {
NOT = { has_variable = stewardship_oath_2 }
}
remove_variable = stewardship_oath_2_timer
}
# Learning
if = {
limit = {
NOT = { has_variable = learning_oath_1 }
}
remove_variable = learning_oath_1_timer
remove_variable = learning_oath_cost
remove_variable = learning_oath_1_university_exists
}
# De Jure rights
if = {
limit = {
NOT = { has_variable = purge_pretenders_oath }
}
remove_variable = purge_pretenders_oath_timer
remove_variable = purge_pretenders_target_title
}
# End the struggle
if = {
limit = {
NOT = { has_variable = end_the_struggle_oath }
}
remove_variable = end_the_struggle_oath_timer
remove_variable = end_the_struggle_oath_type_var
}
# Greatest Hunter
if = {
limit = {
NOT = { has_variable = greatest_hunter_oath }
}
remove_variable = greatest_hunter_oath_timer
remove_variable = greatest_hunter_oath_l_counter
remove_variable = greatest_hunter_oath_r_counter
}
# Heir Preparation
if = {
limit = {
NOT = { has_variable = heir_preparation_oath }
}
remove_variable = heir_preparation_oath_timer
}
# Install Claimants
if = {
limit = {
NOT = { has_variable = install_claimants_oath }
}
remove_variable = install_claimants_oath_timer
}
# Mend the Fracture
if = {
limit = {
NOT = { has_variable = mend_the_fracture_oath }
}
remove_variable = mend_the_fracture_oath_timer
}
# Provide for the Warriors
if = {
limit = {
NOT = { has_variable = provide_for_the_warriors_oath }
}
remove_variable = provide_for_the_warriors_oath_timer
}
# Provide for the Faithful
if = {
limit = {
NOT = { has_variable = provide_for_the_faithful_oath }
}
remove_variable = provide_for_the_faithful_oath_timer
}
# Provide for the Poor
if = {
limit = {
NOT = { has_variable = provide_for_the_poor_oath }
}
remove_variable = provide_for_the_poor_oath_timer
}
# Repent
if = {As written in game/common/scripted_effects/10_ach_effects.txt.
The first 120 of its 127 lines; the rest is in game/common/scripted_effects/10_ach_effects.txt from line 858.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_effects/10_ach_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.