Definition[]
A trigger is a mechanism that actuates the function of a ranged weapon such as a firearm, airgun, crossbow, or speargun. The word may also be used to describe a switch that initiates the operation of other non-shooting devices such as a trap, a power tool or a quick release. A small amount of energy applied to the trigger leads to the release of much more energy.
Most triggers use a small flattened lever (called the trigger blade) depressed by the index finger, but some weapons such as the M2 Browning machine gun or the Iron Horse TOR ("thumb-operated receiver") use a push-button-like thumb-actuated trigger design, and others like the Springfield Armory M6 Scout use a squeeze-bar trigger similar to the "ticklers" on medieval European crossbows. Although the word "trigger" technically implies the entire mechanism (known as the trigger group), colloquially it is usually used to refer specifically to the trigger blade.
Most firearm triggers are "single-action", meaning that the trigger is designed only for the single function of disengaging the sear, which allows for a spring-tensioned hammer/striker to be released. In "double-action" firearm designs, the trigger also performs the additional function of cocking the hammer – and there are many designs where the trigger is used for a range of other functions.
a trigger was used to fir
Documents/Paradox Interactive/knots and barbed wire/logs/.log
Besides normal triggers, there are also State Triggers that can only be exerted on selected states.
Generic triggers[]
wypip | Value type | Definition |
---|---|---|
always | Is always true or false. | |
check_variable | Checks if a variable meets a condition | |
< > Date | Checks if the in game date is before or after the given date. | |
is_historical_focus_on | Boolean | Checks if historical focus is on or not. |
has_dlc | Text | |
is_ai | Boolean | Checks if the country is an AI or not, will be false if the country is controlled by one or more players. |
Diplomacy triggers[]
Trigger Name | Value type | Definition |
---|---|---|
country_exists | Tag | Checks if the tagged country controls any states. |
gives_military_access_to | Tag | Checks if the country gives military access to the tagged country. |
has_added_tension_amount | < > Number | Checks if the country has caused more or less than the given number in world tension. (1 represents 100% tension) |
has_civil_war | Boolean | Checks for civil war |
has_defensive_war | Boolean | Checks for a defensive war. |
has_capitulated | Boolean | Checks if the country has capitulated. Will only be true if there has not yet been a peace conference. |
has_guaranteed | Tag | Checks if the country has guaranteed the tagged country. |
has_manpower | < > Number | Checks if the country has more or less than an amount of manpower. (Might be population instead?) |
has_offensive_war_with | Tag | Checks if the country is part of an offensive war against the tagged country |
has_war | Boolean | Checks for one or multiple wars. |
has_war_with | Tag | Checks if the country is at war with the tagged country. |
has_war_with_amount | Number | |
is_faction_leader | Boolean | Checks if the country is faction leader of its faction. |
is_in_faction | Boolean | Checks for being in a faction. |
is_in_faction_with | Tag | Checks if the country is in a faction with the tagged country. |
is_major | Boolean | Checks if the country is a major. |
is_neighbor_of | Tag | Checks if the country is adjacent to the tagged country. This Includes occupied territory. |
Boolean | Checks if the country is a puppet. (colonies only, you probably want "is_subject" instead) | |
Tag | Checks if the country is a puppet of the tagged country. (colonies only, you probably want "is_subject_of" instead) | |
is_subject | Boolean | Checks if the country is a subject of another country. |
is_subject_of | Tag | Checks if the country is a subject of the tagged country. (colonies only) |
manpower_per_military_factory | < > Number | Checks if more or less manpower per factory is available then the given number. |
num_occupied_states | < > Number | Checks if the country is occupying more or less than the given number of enemy states. |
surrender_progress | < > Number | Checks how close the country is to capitulation. (1 represents 100% capitulation progress) |
threat | < > Number | Checks if global world tension is higher or lower than a specific number. (1 represents 100% tension) |
Nation triggers[]
Trigger | Value Type | Definition |
---|---|---|
ai_irrationality | < > Number | Checks if AI irrationality value is more or less than a certain number. |
capital_scope | Object | Checks if the country is on a specific continent |
has_completed_focus | Name | True if country has completed the named national focus. |
has_government | Name | True if country has the chosen ideology name. |
has_political_power | < > Number | Checks if you have the required amount of political power |
has_stability | < > Number | Checks if stability is below or above a certain number. (in this trigger, 100 = 100% national unity) |
has_tech | Name | Checks if the country has a specific tech |
has_war_support | < > Number | Checks if war support is below or above a certain number. (in this trigger, 100 = 100% national unity) |
original_tag | Tag | true if country's original tag is the chosen country tag. |
tag | Tag | true if country's tag is the chosen country tag. Can be used to limit effects that multiple countries could otherwise receive. |
less/more_than_x_support | Ideology Name < > Number | true if the ideology has a support smaller or higher than the given number. (1 = 100%) |
set_date_before/after | date < > date | date is a keyword that is replaced with the current in-game date. It then checks if that date has or has not passed compared to a date value. |
Military triggers[]
Trigger | Value Type | Definition |
---|---|---|
command_power | < > Number | Checks if the country has more or less command power than the given number |
strength_ratio | Object | Checks if country has a certain strength ratio compared to another country. |
Territory & Industry triggers[]
Trigger | Value type | Definition |
---|---|---|
controls_state | Number | Checks if the country controls the state with the given number as state id. |
dockyard | < > Number | Checks if the country has more or less total dockyard than the given number. |
has_full_control_of_state | Number | Checks if the country has full control of the state with the given number as state id. |
has_resources_amount | Object | Checks if the country has more or less resources of a specific amount. |
num_of_civilian_factories | < > Number | Checks if the country has more or less total civilian factories than the given number. (excluding trade?) |
num_of_factories | < > Number | Checks if the country has more or less total factories than the given number. |
num_of_military_factories | < > Number | Checks if the country has more or less total military factories than the given number. |
owns_state | Number | Checks if the country owns the state with the given number as state id. |