Scripted effect · Silk and Silver files
gdp_update_usury_reputation_effect
gdp_update_usury_reputation_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 295 (39 lines). No parameters.
gdp_update_usury_reputation_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 295 of its file. It takes no parameters: gdp_update_usury_reputation_effect = yes. The game's script calls it in 13 places, among them on_faith_conversion (on action), on_faith_created (on action) and on_game_start_after_lobby (on action). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (39 lines of game script)
gdp_update_usury_reputation_effect = {
hidden_effect = {
remove_character_modifier = gdp_usury_discouraged_modifier
remove_character_modifier = gdp_usury_outsider_lending_modifier
remove_character_modifier = gdp_usury_condemned_modifier
if = {
limit = {
government_has_flag = government_is_merchant
has_realm_law = company_purpose_creditor
gdp_usury_has_public_lending_trigger = yes
}
if = {
limit = {
rite = {
rite_has_parameter = usury_forbidden
}
}
add_character_modifier = gdp_usury_condemned_modifier
}
else_if = {
limit = {
rite = {
rite_has_parameter = usury_outsiders_only
}
}
add_character_modifier = gdp_usury_outsider_lending_modifier
}
else_if = {
limit = {
rite = {
rite_has_parameter = usury_discouraged
}
}
add_character_modifier = gdp_usury_discouraged_modifier
}
}
}
}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_update_usury_reputation_effect.
On actions (the game's own hooks) (8)
- on_faith_conversion
- on_faith_created
- on_game_start_after_lobby
- on_government_change
- on_rite_change
- on_rite_updated
2 more
- on_trait_gained
- on_trait_lost
Scripted effects (4)
Secret types (1)
- Disguised Usury
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.