CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect

ep3_frankokratia_give_financier_sate_lands_effect

ep3_frankokratia_give_financier_sate_lands_effect = yes

game/common/scripted_effects/07_frankokratia_scripted_effects.txt, line 867 (49 lines). No parameters.

ep3_frankokratia_give_financier_sate_lands_effect is a scripted effect in Crusader Kings III, written at line 867 of its file. It takes no parameters: ep3_frankokratia_give_financier_sate_lands_effect = yes. The game's script calls it in 1 place, among them ep3_frankokratia_paying_off_latins_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/07_frankokratia_scripted_effects.txt.

What it does

  • If a check the game hides passes: the same again (1 line)
    • Every in list: Gains the … Title (financier)

    Otherwise

    • scope:financier_sate_reward_county_1: Gains the … Title (financier)
    • If a check the game hides passes: the same again (1 line)
      • scope:financier_sate_reward_county_2: Gains the … Title (financier)

• 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 (49 lines of game script)
ep3_frankokratia_give_financier_sate_lands_effect = {
	#If there's a duchy to give, give all titles in it
	if = {
		limit = {
			exists = scope:financier_sate_reward_duchy
		}
		create_title_and_vassal_change = {
			type = granted
			save_scope_as = title_change
			add_claim_on_loss = yes
		}
		every_in_list = {
			list = financier_sate_titles
			change_title_holder = {
				holder = scope:financier
				change = scope:title_change
				take_baronies = yes
			}
		}
		resolve_title_and_vassal_change = scope:title_change
	}
	else = {
		create_title_and_vassal_change = {
			type = granted
			save_scope_as = title_change
			add_claim_on_loss = yes
		}
		scope:financier_sate_reward_county_1 = {
			change_title_holder = {
				holder = scope:financier
				change = scope:title_change
				take_baronies = yes
			}
		}
		if = {
			limit = {
				exists = scope:financier_sate_reward_county_2
			}
			scope:financier_sate_reward_county_2 = {
				change_title_holder = {
					holder = scope:financier
					change = scope:title_change
					take_baronies = yes
				}
			}
		}
		resolve_title_and_vassal_change = scope:title_change
	}
}

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_give_financier_sate_lands_effect.

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.

Spotted a mistake on this page?