Triggered modifiers.txt

From Europa Universalis 3 Wiki
Revision as of 19:23, 12 December 2014 by Meneth (talk | contribs) (→‎See also: Remove import category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Triggered modifiers.txt is a game file that defines all Triggered modifiers. These are country flags which are checked every month. They have some triggers and effects.

Example:

 christian_mecca = {
 	potential = {
 		has_discovered = 385	# Mecca
 	}
 
 	trigger = {
 		owns = 385 # Mecca
 		religion_group = Christian
 	}
 
 	prestige = 0.01			#1% more yearly prestige
 	missionaries = 0.5
 	icon = 9
 }

This is a Triggered Modifier and if a Catholic country owns Mecca, it will gain extra 1 missionary/year and gain 1% prestige every year. This structure is very close to the event system. The difference is, there are no options and no mean time to happen section, as the triggered modifier fire as soon as the requirements are meet.

There are two requirements brackets, the potential is the requirement needed so that the triggered modifier appears in the list of available modifiers and the trigger that are the last conditions needed before the modifier fire. The base scope of triggered modifiers is the country scope.


See also