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

Scripted effect · Silk and Silver files

gdp_usury_lend_at_interest_effect

gdp_usury_lend_at_interest_effect = { BORROWER = … }

game/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 272 (22 lines). Parameters: $BORROWER$.

gdp_usury_lend_at_interest_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 272 of its file. A call passes 1 parameter: BORROWER. The game's script calls it in 3 places, among them increase_existing_loan_effect (scripted effect), loan_open_interest_effect (scripted effect) and Disguised Usury (secret types). Its body carries 2 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

What it does

• 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 (22 lines of game script)
gdp_usury_lend_at_interest_effect = {
	if = {
		limit = {
			gdp_usury_forbids_loan_trigger = {
				BORROWER = $BORROWER$
			}
		}
		custom_tooltip = gdp_usury_forbidden_loan_tt
		add_piety = medium_piety_loss
		change_spiritual_fulfillment = medium_spiritual_fulfillment_loss
	}
	else_if = {
		limit = {
			gdp_usury_condemns_loan_trigger = {
				BORROWER = $BORROWER$
			}
		}
		custom_tooltip = gdp_usury_discouraged_loan_tt
		add_piety = minor_piety_loss
		change_spiritual_fulfillment = minor_spiritual_fulfillment_loss
	}
}

As written in game/common/scripted_effects/gdp_merchant_scripted_effects.txt.

Where it is used

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

Secret types (1)

  • Disguised Usury

Source: game/common/scripted_effects/gdp_merchant_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?