Scripted effect · Silk and Silver files
gdp_merchant_forgive_debtors_effect
gdp_merchant_forgive_debtors_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 2657 (13 lines). No parameters.
gdp_merchant_forgive_debtors_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 2657 of its file. It takes no parameters: gdp_merchant_forgive_debtors_effect = yes. The game's script calls it in 2 places, among them gdp_merchant_becomes_patrician_effect (scripted effect) and gdp_merchant_procures_estate_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
What it does
- Every in list › Every owned story:
- Where:
story_type = story_cycle_loan- Lender is scope:forgiving merchant
forgive_loan_effect = yes
- Where:
• 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_merchant_forgive_debtors_effect = {
save_temporary_scope_as = forgiving_merchant
every_in_list = {
variable = owes_me_money
every_owned_story = {
limit = {
story_type = story_cycle_loan
var:lender = scope:forgiving_merchant
}
forgive_loan_effect = yes
}
}
}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_merchant_forgive_debtors_effect.
Scripted effects (2)
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.