trigger · pc_is_liberated
Definition
- Supported scope:
COUNTRY - Supported target:
none
Description
Checks if country has been liberated in the peace conference.
Example:
CZE = { pc_is_liberated = yes }
pc_is_liberatedCOUNTRYnoneChecks if country has been liberated in the peace conference.
Example:
CZE = { pc_is_liberated = 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_liberated is commonly used in post-peace conference events or decisions to determine whether a nation has just been liberated through a peace conference, thereby triggering corresponding storylines or reward effects. For example, after Czechoslovakia is liberated by Germany, it triggers a chain of events for national reconstruction:
# In the trigger block of an event
trigger = {
CZE = {
pc_is_liberated = yes
}
}
[has_capitulated](/wiki/trigger/has_capitulated): Typically check whether the target nation has capitulated first, then combine with pc_is_liberated to confirm it was liberated in the peace conference rather than remaining under occupation.[exists](/wiki/trigger/exists): After liberation, the country tag will exist again; combine with exists to ensure subsequent operations on that country don't fail due to a missing tag.[has_country_flag](/wiki/trigger/has_country_flag): Can be combined with country flags; set a flag after the liberation event triggers to prevent the same logic from triggering repeatedly.[days_since_capitulated](/wiki/trigger/days_since_capitulated): Used to define a time window within a certain number of days after capitulation while also being liberated, making the condition more precise.pc_is_liberated must be called within a COUNTRY scope. Writing it at the top level or within a STATE scope will cause script errors or always return false. Always use the explicit form CZE = { pc_is_liberated = yes } to switch to the target country's scope.on_peace_conference_ended to ensure the check occurs at the correct moment.