trigger · pc_is_on_winning_side
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
Checks if country is on the winning side in the peace conference.
Example:
CZE = { pc_is_on_winning_side = yes }
pc_is_on_winning_sideCOUNTRYnoneChecks if country is on the winning side in the peace conference.
Example:
CZE = { pc_is_on_winning_side = yes }
Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
pc_is_on_winning_side is commonly used in events or decisions triggered after peace conferences conclude, to determine whether a country belongs to the victorious faction and grant rewards (such as political power, focus tree unlocks, or idea bonuses) or branch into special narrative paths. For example, in an alternate WWII mod, you can use it to check whether Czechoslovakia participated in the conference as a victor and distribute corresponding rewards:
country_event = {
id = my_mod.100
trigger = {
tag = CZE
pc_is_on_winning_side = yes
}
option = {
name = my_mod.100.a
add_political_power = 50
add_stability = 0.05
}
}
[has_capitulated](/wiki/trigger/has_capitulated): Often paired together; filter out capitulated nations first before checking their victory status to avoid logical contradictions.[any_war_score](/wiki/trigger/any_war_score): Used to further quantify that country's contribution during the war; combining with this trigger enables a "victorious AND contribution threshold met" dual-gate system.[add_political_power](/wiki/effect/add_political_power): Victorious factions typically require rewards, making this one of the most common effect pairings.[add_ideas](/wiki/effect/add_ideas): Grant the victor a specific idea (such as postwar prestige buff), forming a typical "condition → reward" structure with this trigger.COUNTRY scope; placing it in state scope or unit leader scope will silently fail or error out. Always verify the enclosing scope is a country.focus or routine decision unrelated to peace conferences, its return value may perpetually be no, causing the condition to never be satisfied.