Scripted effect · Silk and Silver files
spend_merchant_competitive_pressure_put_on_notice_effect
spend_merchant_competitive_pressure_put_on_notice_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 1039 (19 lines). No parameters.
spend_merchant_competitive_pressure_put_on_notice_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 1039 of its file. It takes no parameters: spend_merchant_competitive_pressure_put_on_notice_effect = yes. The game's script calls it in 1 place, among them Put on Notice (interaction). 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 (19 lines of game script)
spend_merchant_competitive_pressure_put_on_notice_effect = {
custom_tooltip = {
text = merchant_competitive_pressure_put_on_notice_spend_tt
hidden_effect = {
change_variable = {
name = merchant_competitive_pressure
subtract = merchant_competitive_pressure_put_on_notice_cost_value
}
if = {
limit = { 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_put_on_notice_effect.
Character interactions (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.