Scripted effect · Silk and Silver files
merchant_corner_the_market_effect
merchant_corner_the_market_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 1079 (15 lines). No parameters.
merchant_corner_the_market_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1079 of its file. It takes no parameters: merchant_corner_the_market_effect = yes. The game's script calls it in 4 places, among them spend_merchant_competitive_pressure_effect (scripted effect), spend_merchant_competitive_pressure_merge_company_effect (scripted effect) and spend_merchant_competitive_pressure_organize_venture_effect (scripted effect). Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
What it does
If
- Government is Merchant
- Has the Fringe Authority Perk
Then
- Gains the modifier “Cornering the Market” for 2 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 (15 lines of game script)
merchant_corner_the_market_effect = {
if = {
limit = {
government_has_flag = government_is_merchant
has_perk = soldiers_of_lesser_fortune_perk
}
hidden_effect = {
remove_all_character_modifier_instances = merchant_cornering_the_market_modifier
}
add_character_modifier = {
modifier = merchant_cornering_the_market_modifier
years = 2
}
}
}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 merchant_corner_the_market_effect.
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.