Scripted effect · Silk and Silver files
undercut_the_competition_effect
undercut_the_competition_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 1109 (10 lines). No parameters.
undercut_the_competition_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1109 of its file. It takes no parameters: undercut_the_competition_effect = yes. The game's script calls it in 1 place, among them Undercut the Competition (decision). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
What it does
add_merchant_competitive_pressure_effect = { VALUE = merchant_competitive_pressure_undercut_competition_gain_value TOOLTIP = merchant_competitive_pressure_gain_2_tt }- Gains the modifier “Ruthless Undercutting” for 5 years
• 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 (10 lines of game script)
undercut_the_competition_effect = {
add_merchant_competitive_pressure_effect = {
VALUE = merchant_competitive_pressure_undercut_competition_gain_value
TOOLTIP = merchant_competitive_pressure_gain_2_tt
}
add_character_modifier = {
modifier = merchant_undercut_the_competition_modifier
years = 5
}
}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 undercut_the_competition_effect.
Decisions (1)
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.