Scripted effect · Silk and Silver files
trade_route_created_summary_effect
trade_route_created_summary_effect = yesgame/common/scripted_effects/gdp_merchant_scripted_effects.txt, line 7838 (15 lines). No parameters.
trade_route_created_summary_effect is a scripted effect in Crusader Kings III, in the Silk and Silver files, written at line 7838 of its file. It takes no parameters: trade_route_created_summary_effect = yes. The game's script calls it in 1 place, among them on_trade_route_created (on action). Its body carries 2 texts 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
If
- Their domicile:
is_domicile_type = merchant_company
Then
- Your House Relation with other Merchant Companies may become more tense
- Their domicile:
- If played by a person: New Trade Opportunities become available to you
• 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)
trade_route_created_summary_effect = {
if = {
limit = {
domicile ?= { is_domicile_type = merchant_company }
}
custom_tooltip = trade_route_summary_competition_tt
}
if = {
limit = {
is_ai = no
exists = scope:trader
}
custom_tooltip = trade_route_created_summary_opportunities_tt
}
}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 trade_route_created_summary_effect.
On actions (the game's own hooks) (1)
- on_trade_route_created
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.