Scripted effect · Silk and Silver files
gdp_provide_patrician_house_support_effect
gdp_provide_patrician_house_support_effect = { SUPPORT_GAINEE = … SUPPORT_PROVIDER = … }game/common/scripted_effects/gdp_republic_effects.txt, line 1425 (22 lines). Parameters: $SUPPORT_GAINEE$, $SUPPORT_PROVIDER$.
gdp_provide_patrician_house_support_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1425 of its file. A call passes 2 parameters: SUPPORT_GAINEE and SUPPORT_PROVIDER. The game's script calls it in 4 places, among them Negotiate Release (interaction), Request Patrician Support (interaction) and Secure Assembly Vote (interaction). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_republic_effects.txt.
The comment above it in the file
Effect for one patrician to lend house support to another
What it does
- … will support … House and increase … Patrician Rating for 10 years (or until … … away) · … Patrician Rating: -20 · … Patrician Rating: +20
• 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 (22 lines of game script)
gdp_provide_patrician_house_support_effect = {
# Save scopes
$SUPPORT_PROVIDER$ = { save_scope_as = support_provider }
$SUPPORT_GAINEE$ = { save_scope_as = support_gainee }
# Tooltip
custom_tooltip = gdp_provide_patrician_house_support_desc
# Update variable lists for the patrician rating to take effect
scope:support_provider.house ?= {
add_to_variable_list = {
name = patrician_house_support_provided
target = scope:support_gainee
years = provide_patrician_house_support_duration_value
}
}
scope:support_gainee.house ?= {
add_to_variable_list = {
name = patrician_house_support_gained
target = scope:support_provider
years = provide_patrician_house_support_duration_value
}
}
}As written in game/common/scripted_effects/gdp_republic_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls gdp_provide_patrician_house_support_effect.
Character interactions (4)
Source: game/common/scripted_effects/gdp_republic_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.