Scripted trigger
secret_disguised_usury_is_valid_trigger
secret_disguised_usury_is_valid_trigger = { OWNER = … TARGET = … }game/common/scripted_triggers/00_secret_type_triggers.txt, line 583 (13 lines). Parameters: $OWNER$, $TARGET$.
secret_disguised_usury_is_valid_trigger is a scripted trigger in Crusader Kings III, written at line 583 of its file. A call passes 2 parameters: OWNER and TARGET. The game's script calls it in 1 place, among them Disguised Usury (secret types). Patch 1.21.0, from game/common/scripted_triggers/00_secret_type_triggers.txt.
The comment above it in the file
SECRET DISGUISED USURY
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (13 lines of game script)
secret_disguised_usury_is_valid_trigger = {
exists = $TARGET$
$TARGET$ = {
has_existing_loan_from_with_instrument_trigger = {
LENDER = $OWNER$
INSTRUMENT = flag:disguised
}
}
gdp_usury_either_party_condemns_loan_trigger = {
LENDER = $OWNER$
BORROWER = $TARGET$
}
}As written in game/common/scripted_triggers/00_secret_type_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls secret_disguised_usury_is_valid_trigger.
Secret types (1)
- Disguised Usury
Source: game/common/scripted_triggers/00_secret_type_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.