# Religion-specific opinion can be added to modifiers (E.G., norse_pagan_opinion = 5), but the modifier *has* to be defined in 00_modifier_definitions.txt as well. It also needs localisation. Works for groups as well

# join_crusade_if_bordering_hostile = yes # The AI won't refrain from joining a crusade simply because it borders a heathen/heretic realm

# This trigger defines who can see a character's secret religion. The character with the secret religion is FROM, while the viewer is ROOT
# Characters can always see their own secret religion. The observer can see all secret religions
secret_religion_visibility_trigger = {
	secret_religion = FROM
}

# women_can_take_consorts = yes # If set, women can take consorts as well, not just men. Defaults to "no". Has no effect if max_consorts is 0
# men_can_take_consorts = no # If set, men cannot take consorts any more. Defaults to "yes". Has no effect if max_consorts is 0
# male_temple_holders = no # If set to no, men cannot hold temples. Defaults to "yes". You might need to update your law scripts for this to fully work (see trigger "religion_allows_male_temple_holders")

communism = {
	has_coa_on_barony_only = yes
	graphical_culture = westerngfx
	crusade_cb = crusade
	playable = yes
	ai_peaceful = yes # Will make Hordes lose their super aggressiveness
	
	ai_convert_same_group = 2 # always try to convert
	ai_convert_other_group = 2 # always try to convert
	
	color = { 0.14 0.06 0.86 }
	
	# Names given only to Christian characters (base names)
	male_names = {
		Vladimir Karl Joseph Jean Pierre Bernie Clement Leon Fabien Mao Laurent Andrei Marc 
		Hans Simon Joakim Jacob Joaquin Andreu Joseph Laurence Magnus Marcus Martin Matthew Michael Nicholas Terry Paul Peter Philip 
		Johnson Samuel Sebastian Simon Stephen Thomas Eusebio Alexander Daniel Juan Job Joshua Luke Samuel
	}
	female_names = {
		Anna Beatrice Benedicta Bridget Catherine Cecilia Christina Anas Constance Dorothy Elisabeth Joan Judith Juliana Helen 
		Magdalena Margaret Maria Marine Patricia Camillia Rachel Tina Vera
		Sarah Sophia Stephania
	}
	
	marxist = {
		graphical_culture = westerngfx

		icon = 62
		heresy_icon = 63
		
		color = { 1 0 0 }
		
		crusade_name = INTERNATIONAL_WAR
		scripture_name = THE_KAPITAL
		priest_title = COMMISSAR
		
		high_god_name = GOD_COMMUNISM
		
		god_names = {
			GOD_COMMUNISM 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM
		}
		
		character_modifier = {
			stewardship = 1
			learning = 2
		}
		
		priests_can_inherit = yes
		priests_can_marry = yes
		attacking_same_religion_piety_loss = yes
		hard_to_convert = yes
		
		religious_clothing_head = 2
		religious_clothing_priest = 2

		dislike_tribal_organization = yes
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
		
	}
	bolchevik = {
		graphical_culture = westerngfx

		icon = 62
		heresy_icon = 63
		
		color = { 0.9 0.1 0.1 }
		parent = marxist
		
		crusade_name = INTERNATIONAL_WAR
		scripture_name = APRIL_THESIS
		priest_title = COMMISSAR
		
		high_god_name = GOD_LENINE
		
		god_names = {
			GOD_LENINE GOD_STALINE GREAT_SOVIET
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM
		}
		
		character_modifier = {
			martial = 1
			learning = 2
		}
		
		priests_can_inherit = no
		priests_can_marry = yes
		attacking_same_religion_piety_loss = yes
		hard_to_convert = yes
		
		
		religious_clothing_head = 2
		religious_clothing_priest = 2
		
		dislike_tribal_organization = yes
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
	}
	trotskist = {
		graphical_culture = westerngfx

		icon = 62
		heresy_icon = 63
		
		color = { 0.9 0.1 0.1 }
		parent = marxist
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = PERMANENT_REVOLUTION
		priest_title = COMMISSAR
		
		high_god_name = GOD_TROTSKI
		
		god_names = {
			GOD_TROTSKI 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM GOD_STALINE
		}
		
		character_modifier = {
			martial = 2
			learning = 1
		}
		
		priests_can_inherit = no
		priests_can_marry = yes
		hard_to_convert = yes
		
		
		religious_clothing_head = 2
		religious_clothing_priest = 2
		
		dislike_tribal_organization = yes
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
	}
	maoist = {
		graphical_culture = chinesegfx

		icon = 62
		heresy_icon = 63
		
		color = { 1 0.3 0.3 }
		parent = marxist
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = PERMANENT_REVOLUTION
		priest_title = COMMISSAR
		
		high_god_name = GOD_MAO
		
		god_names = {
			GOD_MAO 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM
		}
		
		character_modifier = {
			martial = 1
			stewardship = 2
		}
		
		priests_can_inherit = no
		priests_can_marry = yes
		hard_to_convert = yes
		
		
		religious_clothing_head = 10
		religious_clothing_priest = 10
		
		secret_religion = no

		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
	}
	
	ecosocialism = {
		graphical_culture = westerngfx

		icon = 75
		
		color = { 1 0.3 0.3 }
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = THE_KAPITAL
		priest_title = COMRADE
		
		high_god_name = GOD_COMMUNISM
		
		god_names = {
			GOD_COMMUNISM 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM
		}
		
		character_modifier = {
			diplomacy = 2
			stewardship = 2
			learning = 2
		}
		
		priests_can_inherit = yes
		priests_can_marry = yes
		feminist = yes
		pacifist = yes
		hard_to_convert = yes
		
		
		religious_clothing_head = 10
		religious_clothing_priest = 10
		
		secret_religion = no
		
		intermarry = interventionist

		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
		
	}
	
	anarchist = {
		graphical_culture = westerngfx

		icon = 69
		heresy_icon = 70
		
		color = { 0.5 0 0 }
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = PERMANENT_REVOLUTION
		priest_title = COMRADE
		
		high_god_name = GOD_ANARCHISM
		
		god_names = {
			GOD_ANARCHISM 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM GOD_LENINE GOD_STALINE GOD_TROTSKI
		}
		
		allow_looting = yes
		seafarer = yes
		feminist = yes
		priests_can_inherit = no
		priests_can_marry = yes
		hard_to_convert = yes
		
		men_can_take_consorts = yes
		women_can_take_consorts = yes
		max_consorts = 3
		
		peace_piety_gain = 2.0
		independence_war_score_bonus = 30
		
		religious_clothing_head = 2
		religious_clothing_priest = 2
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
		
		features = {
			religion_equal
		}
	}
	anarcho-syndicalism = {
		graphical_culture = westerngfx

		icon = 71
		heresy_icon = 70
		
		color = { 0.25 0.25 0.25 }
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = PERMANENT_REVOLUTION
		priest_title = COMRADE
		
		high_god_name = GOD_ANARCHISM
		
		god_names = {
			GOD_ANARCHISM 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM GOD_LENINE GOD_STALINE GOD_TROTSKI
		}
		
		allow_looting = yes
		seafarer = yes
		feminist = yes
		priests_can_inherit = yes
		priests_can_marry = yes
		hard_to_convert = yes
		
		men_can_take_consorts = yes
		women_can_take_consorts = yes
		max_consorts = 3
		
		peace_piety_gain = 2.0
		independence_war_score_bonus = 30
		
		religious_clothing_head = 2
		religious_clothing_priest = 2
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
		
		features = {
			religion_equal
		}
	}
	anarcho-mutualism = {
		graphical_culture = westerngfx

		icon = 72
		heresy_icon = 70
		
		color = { 0.6 0.2 0 }
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = PERMANENT_REVOLUTION
		priest_title = COMRADE
		
		high_god_name = GOD_ANARCHISM
		
		god_names = {
			GOD_ANARCHISM 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM GOD_LENINE GOD_STALINE GOD_TROTSKI
		}
		
		allow_looting = yes
		seafarer = yes
		priests_can_inherit = yes
		priests_can_marry = yes
		hard_to_convert = yes
		
		men_can_take_consorts = yes
		women_can_take_consorts = no
		max_consorts = 3
		
		peace_piety_gain = 2.0
		independence_war_score_bonus = 30
		
		religious_clothing_head = 2
		religious_clothing_priest = 2
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
	}
	anarcho-feminism = {
		graphical_culture = westerngfx

		icon = 73
		heresy_icon = 70
		
		color = { 0.8 0.2 0.57 }
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = PERMANENT_REVOLUTION
		priest_title = COMRADE
		
		high_god_name = GOD_ANARCHISM
		
		god_names = {
			GOD_ANARCHISM 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM GOD_LENINE GOD_STALINE GOD_TROTSKI
		}
		
		allow_looting = yes
		seafarer = yes
		feminist = yes
		pacifist = yes
		priests_can_inherit = no
		priests_can_marry = yes
		hard_to_convert = yes
		female_temple_holders = yes
		
		men_can_take_consorts = no
		women_can_take_consorts = yes
		max_consorts = 3
		
		peace_piety_gain = 2.0
		independence_war_score_bonus = 30
		
		religious_clothing_head = 2
		religious_clothing_priest = 2
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
		
		features = {
			religion_matriarchal
		}
	}
	ecoanarchism = {
		graphical_culture = westerngfx

		icon = 74
		heresy_icon = 70
		
		color = { 0 0.5 0 }
		
		crusade_name = GLOBAL_REVOLUTION
		scripture_name = PERMANENT_REVOLUTION
		priest_title = COMRADE
		
		high_god_name = GOD_ANARCHISM
		
		god_names = {
			GOD_ANARCHISM 
		}
		
		evil_god_names = {
			GOD_MONEY GOD_IMPERIALISM GOD_LENINE GOD_STALINE GOD_TROTSKI
		}
		
		allow_looting = yes
		seafarer = yes
		feminist = yes
		priests_can_inherit = no
		priests_can_marry = yes
		hard_to_convert = yes
		
		peace_piety_gain = 2.0
		independence_war_score_bonus = 30
		
		religious_clothing_head = 2
		religious_clothing_priest = 2
		
		secret_religion = no
		
		intermarry = marxist
		intermarry = bolchevik
		intermarry = trotskist
		intermarry = maoist
		
		intermarry = ecosocialism
		
		intermarry = anarchist
		intermarry = anarcho-syndicalism
		intermarry = anarcho-mutualism
		intermarry = anarcho-feminism
		intermarry = ecoanarchism
		
		features = {
			religion_equal
		}
	}
}