Scripted effect · Silk and Silver files
spend_merchant_competitive_pressure_organize_venture_effect
spend_merchant_competitive_pressure_organize_venture_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 1016 (22 lines). No parameters.
spend_merchant_competitive_pressure_organize_venture_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1016 of its file. It takes no parameters: spend_merchant_competitive_pressure_organize_venture_effect = yes. The game's script calls it in 1 place, among them organize_the_venture_effect (scripted effect). Its body carries 1 text of the game's own for the player. Patch 1.21.0, from game/common/scripted_effects/gdp_merchant_scripted_effects.txt.
What it does
- Spend 1 Competitive Pressure
merchant_corner_the_market_effect = yes
• 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)
spend_merchant_competitive_pressure_organize_venture_effect = {
custom_tooltip = {
text = merchant_competitive_pressure_organize_venture_spend_tt
hidden_effect = {
change_variable = {
name = merchant_competitive_pressure
subtract = merchant_competitive_pressure_organize_venture_cost_value
}
if = {
limit = {
has_variable = merchant_competitive_pressure
var:merchant_competitive_pressure < 0
}
set_variable = {
name = merchant_competitive_pressure
value = 0
}
}
}
}
merchant_corner_the_market_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 spend_merchant_competitive_pressure_organize_venture_effect.
Scripted effects (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.