Hands-On Usage
pc_total_score is commonly used in peace conference settlement events or decisions to check whether a nation has accumulated sufficient peace points to trigger special rewards, territorial claims, or story events. For example, in a custom war settlement mod, different political bonuses can be granted based on score tiers:
# Use within trigger block of peace conference-related events
trigger = {
pc_total_score > 400
has_country_flag = war_leader_flag
}
Synergy
[has_country_flag](/wiki/trigger/has_country_flag): First mark belligerent factions with country flags, then use pc_total_score to check their scores, preventing accidental triggers outside the peace conference phase.
[any_war_score](/wiki/trigger/any_war_score): Combined usage allows simultaneous validation of war score and peace conference total score, making settlement logic more robust across consecutive wars.
[add_political_power](/wiki/effect/add_political_power): Grant political power rewards when score thresholds are met; the archetypal "high score reward" settlement pattern.
[add_state_claim](/wiki/effect/add_state_claim): Add territorial claims when score is sufficient, simulating how higher-contributing nations gain more negotiating power at the conference table in historical terms.
Common Pitfalls
- Using on non-victorious side: The official documentation explicitly states this trigger only works for nations on the victorious side. If called from a defeated or neutral nation's scope, the condition will never be true and no error is logged, leading to silent logic failure. Extra care is needed during debugging.
- Calling outside peace conference phase:
pc_total_score only has practical meaning during an active peace conference. If placed in a regular focus's available or a routine event's trigger, the score value is typically 0, causing conditions to always fail. Pair it with timing checks (such as country flags or specific event chains) to strictly constrain the trigger window.