Scripted effect
diarch_syphon_treasury_interaction_syphon_control_effect
diarch_syphon_treasury_interaction_syphon_control_effect = { LOSS = … }game/common/scripted_effects/00_diarchy_scripted_effects.txt, line 610 (24 lines). Parameters: $LOSS$.
diarch_syphon_treasury_interaction_syphon_control_effect is a scripted effect in Crusader Kings III, written at line 610 of its file. A call passes 1 parameter: LOSS. The game's script calls it in 1 place, among them Skim the Coffers (interaction). Patch 1.20.1.2, from game/common/scripted_effects/00_diarchy_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (24 lines of game script)
diarch_syphon_treasury_interaction_syphon_control_effect = {
# First, configure the control loss to be divided.
save_scope_value_as = {
name = county_attribute_loss
value = $LOSS$
}
# Now, execute our general effects.
while = {
count = syphon_treasury_recipient_county_tally
random_held_county = {
limit = {
NOT = {
save_temporary_scope_as = current_county
any_in_list = {
list = syphon_treasury_affected_counties
this = scope:current_county
}
}
}
change_county_control = syphon_treasury_county_attribute_loss_fraction
add_to_list = syphon_treasury_affected_counties
}
}
}As written in game/common/scripted_effects/00_diarchy_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls diarch_syphon_treasury_interaction_syphon_control_effect.
Character interactions (1)
Source: game/common/scripted_effects/00_diarchy_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.