Scripted trigger · Silk and Silver files
gdp_usury_forbids_loan_trigger
gdp_usury_forbids_loan_trigger = { BORROWER = … }game/common/scripted_triggers/gdp_merchant_triggers.txt, line 2167 (13 lines). Parameters: $BORROWER$.
gdp_usury_forbids_loan_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2167 of its file. A call passes 1 parameter: BORROWER. The game's script calls it in 6 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
One of these
- Their rite: The rite has Lending Gold at open Usury: Loss of Piety and Spiritual Fulfillment
or
• 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 (13 lines of game script)
gdp_usury_forbids_loan_trigger = {
OR = {
rite = {
rite_has_parameter = usury_forbidden
}
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_forbids_loan_trigger.
Character interactions (2)
Events (1)
- Exposed Interest
gdp_merchant.5000
Scripted effects (1)
Scripted triggers (2)
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.