Triggered modifiers

From Europa Universalis 3 Wiki
(Redirected from Triggered modifier)
Jump to navigation Jump to search

This article is accurate for the latest versions of EU3, Napoleon’s Ambition, In Nomine and Heir to the Throne 4.1b.
Please help update this page to include information on the DW expansion.

A triggered modifier is like an event, only that it consists of only a trigger and modifiers. In short it is a piece of code that checks if certain triggers are true. If they are, the coded effect is applied immediately, without an intervening mean time to happen. If the triggers are false, they are not. Triggered modifiers are checked monthly, and the effecting modifiers are either on or off.

As an example, we will look at the Western influences triggered modifier:

western_arms_trade = {
    trigger = {
          NOT = { technology_group = Latin }
          any_neighbor_country = {
              technology_group = Latin
              relation = { who = THIS value = 150 }
    prestige = -0.01      #1% less yearly prestige
    land_tech_investment = 6

The triggers are true for any country not in the western (Latin) technology group that has a western country as their neighbour and good relations with this neighbour. For as long as these conditions are true, the country will gain +6 to land tech per month, and lose a little prestige. Once e.g. the relations drops below the threashold, the effect disappears.

Modding triggered modifiers

You can as always change, remove or add triggered modifiers as you please. They are located in the triggered modifiers.txt file in the common folder.

What is important to keep in mind here is that a triggered modifier isn't an event that happens once or several times - it is either on or off. This means that regular event effects do not apply. Instead you use modifiers.

See also