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

Scripted trigger · Silk and Silver files

gdp_usury_condemns_loan_trigger

gdp_usury_condemns_loan_trigger = { BORROWER = … }

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 2150 (16 lines). Parameters: $BORROWER$.

gdp_usury_condemns_loan_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2150 of its file. A call passes 1 parameter: BORROWER. The game's script calls it in 10 places, among them Demand Repayment (interaction), Loan Gold (interaction) and Exposed Interest (event gdp_merchant.5000). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.

What it checks

• 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 (16 lines of game script)
gdp_usury_condemns_loan_trigger = {
	OR = {
		rite = {
			rite_has_parameter = usury_forbidden
		}
		rite = {
			rite_has_parameter = usury_discouraged
		}
		AND = {
			rite = {
				rite_has_parameter = usury_outsiders_only
			}
			religion = $BORROWER$.religion
		}
	}
}

As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.

Where it is used

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

Source: game/common/scripted_triggers/gdp_merchant_triggers.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?