trigger · pc_is_winner
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
Checks if country is a winner in the peace conference.
Example:
ENG = { pc_is_winner = yes }
pc_is_winnerCOUNTRYnoneChecks if country is a winner in the peace conference.
Example:
ENG = { pc_is_winner = 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_winner is commonly used in events or decisions during the peace conference settlement phase to determine whether your nation participated as a victor, thereby granting victory bonuses, unlocking special decisions, or triggering narrative events. For example, in a post-WWII peace settlement mod, you can decide whether to grant territorial rewards or diplomatic bonuses based on whether you were on the winning side:
# In a country event triggered after the peace conference
trigger = {
pc_is_winner = yes
}
# Effect block exclusive to the victor
effect = {
if = {
limit = {
pc_is_winner = yes
}
add_political_power = 100
add_stability = 0.05
}
}
[has_capitulated](/wiki/trigger/has_capitulated): Typically used in conjunction to first check if the target nation has capitulated, then combine with pc_is_winner to confirm whether your nation entered the peace conference as a victor, avoiding logical contradictions.[any_enemy_country](/wiki/trigger/any_enemy_country): Used when iterating through enemy nations to filter out cases where your side was indeed the victor in the peace conference, then execute subsequent checks against defeated nations.[add_state_core](/wiki/effect/add_state_core): Victors often need to add core territories after the peace conference; use pc_is_winner = yes as a prerequisite condition to ensure only true victors receive this effect.[country_event](/wiki/effect/country_event): Trigger different narrative branches depending on whether you were the victor, the most common synergy pattern in peace conference narrative mods.pc_is_winner can only be used under the COUNTRY scope. Beginners sometimes call it directly within STATE or CHARACTER scopes, causing script errors or conditions that never evaluate to true. Always verify that your current scope is set to country.no. It is recommended to use it in events specifically triggered during the peace conference phase rather than attaching it to regular on_action hooks.