Scripted trigger · Silk and Silver files
suzerain_tier_to_company_size_shared_valid_trigger
suzerain_tier_to_company_size_shared_valid_trigger = yesgame/common/scripted_triggers/gdp_merchant_triggers.txt, line 2997 (32 lines). No parameters.
suzerain_tier_to_company_size_shared_valid_trigger is a scripted trigger in Crusader Kings III, in the Silk and Silver files, written at line 2997 of its file. It takes no parameters: suzerain_tier_to_company_size_shared_valid_trigger = yes (or no). The game's script calls it in 3 places, among them Forge Charter (decision), Request Merchant Charter (interaction) and You can Request Merchant Charter (important action). Its body carries 3 texts of the game's own for the player. Patch 1.21.0, from game/common/scripted_triggers/gdp_merchant_triggers.txt.
What it checks
If
suzerain ?= { highest_held_title_tier >= tier_empire }
Then
Else if
suzerain ?= { highest_held_title_tier >= tier_kingdom }
Then
Else if
suzerain ?= { highest_held_title_tier >= tier_duchy }
Then
Otherwise
always = 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 (32 lines of game script)
suzerain_tier_to_company_size_shared_valid_trigger = {
trigger_if = {
limit = { suzerain ?= { highest_held_title_tier >= tier_empire } }
custom_tooltip = {
text = merchant_charter_company_size_requirement_empire_tt
has_realm_law = company_size_huge
}
}
trigger_else_if = {
limit = { suzerain ?= { highest_held_title_tier >= tier_kingdom } }
custom_tooltip = {
text = merchant_charter_company_size_requirement_kingdom_tt
OR = {
has_realm_law = company_size_large
has_realm_law = company_size_huge
}
}
}
trigger_else_if = {
limit = { suzerain ?= { highest_held_title_tier >= tier_duchy } }
custom_tooltip = {
text = merchant_charter_company_size_requirement_duchy_tt
OR = {
has_realm_law = company_size_medium
has_realm_law = company_size_large
has_realm_law = company_size_huge
}
}
}
trigger_else = { always = yes } # other validity checks should confirm
}As written in game/common/scripted_triggers/gdp_merchant_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls suzerain_tier_to_company_size_shared_valid_trigger.
Decisions (1)
Character interactions (1)
Important actions (1)
- You can Request Merchant Charter
Source: game/common/scripted_triggers/gdp_merchant_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.