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

Scripted effect

clear_loanee_variables_effect

clear_loanee_variables_effect = yes

game/common/scripted_effects/00_scripted_effects.txt, line 60 (20 lines). No parameters.

clear_loanee_variables_effect is a scripted effect in Crusader Kings III, written at line 60 of its file. It takes no parameters: clear_loanee_variables_effect = yes. The game's script calls it in 4 places, among them Repay Loan (decision), death_management.0001 (event) and Monetary Ministrations (event vassal.2205). Patch 1.20.1.2, from game/common/scripted_effects/00_scripted_effects.txt.

What it does

Every line of it is script with no tooltip text: the script is below.

The script as written (20 lines of game script)
clear_loanee_variables_effect = {
	remove_variable = loan_amount_owed
	remove_variable = loan_holder
	if = {
		limit = { has_character_flag = promised_repayment }
		remove_character_flag = promised_repayment
	}
	if = {
		limit = { exists = var:has_reminded_about_loan }
		remove_variable = has_reminded_about_loan
	}
	if = {
		limit = { exists = var:original_loan_holder }
		remove_variable = original_loan_holder
	}
	if = {
		limit = { exists = var:original_lender }
		remove_variable = original_lender
	}
}

As written in game/common/scripted_effects/00_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls clear_loanee_variables_effect.

Decisions (1)

On actions (the game's own hooks) (1)

  • on_holy_order_destroyed

Source: game/common/scripted_effects/00_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?