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_either_party_condemns_loan_trigger

gdp_usury_either_party_condemns_loan_trigger = { BORROWER = … LENDER = … }

game/common/scripted_triggers/gdp_merchant_triggers.txt, line 2188 (10 lines). Parameters: $BORROWER$, $LENDER$.

gdp_usury_either_party_condemns_loan_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2188 of its file. A call passes 2 parameters: BORROWER and LENDER. The game's script calls it in 4 places, among them Loan Gold (interaction), add_disguised_usury_secret_effect (scripted effect) and gdp_move_disguised_usury_secret_effect (scripted effect). Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.

The comment above it in the file

Either the lender's or the borrower's rite discourages or shuns this loan.

What it checks

  • One of these

    • $LENDER$ = { … }
    • or

      $BORROWER$ = { … }

• 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 (10 lines of game script)
gdp_usury_either_party_condemns_loan_trigger = {
	OR = {
		$LENDER$ = {
			gdp_usury_condemns_loan_trigger = { BORROWER = $BORROWER$ }
		}
		$BORROWER$ = {
			gdp_usury_borrower_condemns_loan_trigger = { LENDER = $LENDER$ }
		}
	}
}

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_either_party_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?