Hands-On Usage
In intelligence system-related mods, if you want a certain decision or focus to be available only when your country has an active decryption bonus enabled, you can use this trigger as a gating check. For example, designing a "Deep Decryption Operation" decision that requires the target nation to currently have an active decryption bonus from your country before it can be triggered:
available = {
is_active_decryption_bonuses_enabled = GER
decryption_progress = {
target = GER
value > 0.5
}
}
Synergy
[decryption_progress](/wiki/trigger/decryption_progress): Typically used in conjunction with this trigger. First confirm that the active decryption bonus is enabled, then further check whether the decryption progress against the target nation reaches the threshold. Together they form a complete intelligence condition chain.
[add_decryption](/wiki/effect/add_decryption): Used in effect blocks to increase the decryption value against the target nation. It commonly serves as a reward effect after satisfying this trigger's conditions, forming a logic loop of "activate bonus → detect → enhance decryption".
[compare_intel_with](/wiki/trigger/compare_intel_with): After confirming that the decryption bonus is active, further compare whether the intelligence amount against the target nation is sufficient. Together they enable multi-layered intelligence condition judgments.
Common Pitfalls
- Scope confusion: This trigger must be used under COUNTRY scope. The tag on the right side of the equals sign is the target nation being monitored, not "who activated the bonus"—newcomers often mistakenly think the right side should contain their own nation tag, causing the logic to be completely inverted.
- Misunderstanding one-way relationships: This trigger checks whether the current scope nation has enabled an active decryption bonus against the specified nation on the right side. To check both directions, you need to write two separate triggers; a single trigger cannot cover bidirectional relationships.