﻿#
# Note: the triggers are checked at certain key points in the code, not all the time
# color_key = {
#    color = "black"      # the map color
#    possible = { ... }   # the trigger to enable this color
# }
#

# Example
#dynamic_map_color_swedish_junta = {
#    color = "black"
#
#	possible = {
#		exists = c:SWE # you /must/ check that a tag exists before doing anything else
#		this = c:SWE
#
#        exists = ig:ig_armed_forces
#        ig:ig_armed_forces = {
#            is_in_government = yes
#        }
#	}
#}

prussian_germany = {
	color = "prussian_blue_color"

	possible = {
		OR = {
			exists = c:GER
			exists = c:NGF
		}
		OR = {
			AND = {
				exists = c:GER
				THIS = c:GER
			}
			AND = {
				exists = c:NGF
				THIS = c:NGF
			}
			AND = {
				exists = c:PRU
				THIS = c:PRU
			}
		}
		THIS = {
			OR = {
				any_interest_group = {
					has_ideology = ideology:ideology_junker_stratocratic
				}
				any_interest_group = {
					has_ideology = ideology:ideology_junker_paternalistic 
				}
			}
		}
	}
}
