+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 21 to 40 of 42

Thread: Christianity in Japan

  1. #21
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    Okay, final version. I think the pace of it is working well - it's not an instant conversion, but a player who is interested in converting will be able to convert within a decade, and it can cause havok with the AI.

    Here's my last test run:

    July 1590: Game begins.

    July 1592: 3 Missionary Events.

    Provinces with a Catholic presence: 8: Iwami, Harima, Iyo, Awa, Kii, Musashi, Dewa, Ezochi.
    Provinces with a Catholic minority: 0.
    Provinces with a significant Catholic minority: 0.
    Provinces with a large Catholic minority: 0.
    Catholic provinces: 0.

    July 1594: An incredible 6 missionary events!

    Provinces with a Catholic presence: 6: Aki, Inaba, Settsu, Yamashiro, Mino, Echigo.
    Provinces with a Catholic minority: 3: Mutsu, Dewa, Shimotsuke.
    Provinces with a significant Catholic minority: 0.
    Provinces with a large Catholic minority: 0.
    Catholic provinces: Ezochi, Musashi, Kii, Harima, Iwami.

    In August 1594 the next missionary event fired, and since Musashi was Catholic, my entire country converted to Catholicism. (Ironically, just weeks earlier the province of Iwami had gotten the rare "Christianity in Decline" event and become Buddhist again)

    So it seems to work. The process is sped up in your case since you had so many Missionary events previously, and their modifiers are still in place in Japan. Normally it will be the work of more than a decade to get to this point (I think).

    Anyway, here you go: just copy and paste this code over the event already in your DG_Catholic.txt event file.
    Code:
    	country_event = {
    		#The Black Robes visit $CAPITAL$
    		id = 551061
    		trigger = {
    			PAP = {
    				has_country_flag = jesuits_founded
    			}
    			NOT = {
    				has_country_flag = jesuits_arrive
    			}
    			num_of_ports = 1
    			NOT = {
    				religion_group = muslim
    			}
    			NOT = {
    				religion_group = christian
    			}
    			OR = {
    				technology_group = chinese
    				technology_group = sub_saharan
    				technology_group = indian
    				AND = {
    					has_global_flag = magna_mundi
    					OR = {
    						technology_group = asia
    						technology_group = africa
    						technology_group = india
    					}
    				}
    			}
    		}
    		mean_time_to_happen = {
    			months = 600
    			modifier = {
    				has_country_flag = tanegashima#Magna Mundi Sengoku
    				factor = 0.7
    			}
    			modifier = {
    				any_neighbor_country = {
    					has_country_flag = jesuit_influence
    				}
    				factor = 0.25
    			}
    			modifier = {
    				any_neighbor_country = {
    					religion = catholic
    				}
    				factor = 0.5
    			}
    			modifier = {
    				NOT = {
    					ai = yes
    				}
    				factor = 0.5
    			}
    			modifier = {
    				advisor = jesuit_missionary
    				factor = 0.5
    			}
    			modifier = {
    				advisor = jesuit_ambassador
    				factor = 0.5
    			}
    			modifier = {
    				any_neighbor_country = {
    					has_country_flag = jesuits_arrive
    					culture_group = THIS
    				}
    				factor = 0.5
    			}
    			modifier = {
    				any_neighbor_country = {
    					has_country_flag = jesuits_arrive
    					primary_culture = THIS
    				}
    				factor = 0.25
    			}
    			modifier = {
    				NOT = {
    					stability = 2
    				}
    				factor = 0.75
    			}
    			modifier = {
    				NOT = {
    					stability = 0
    				}
    				factor = 0.75
    			}
    		}
    		title = "EVTNAME551061"
    		desc = "EVTDESC551061"
    		option = {
    			name = "EVTOPTA551061"#Encourage them to stay
    			ai_chance = {
    				factor = 25
    				modifier = {
    					check_variable = {
    						which = "religious_fervor"
    						value = 5
    					}
    					factor = 0.7
    				}
    				modifier = {
    					check_variable = {
    						which = "religious_fervor"
    						value = 9
    					}
    					factor = 0.7
    				}
    			}
    			set_variable = {
    				which = "jesuit_influence"
    				value = 3
    			}
    			innovative_narrowminded = -1
    			random_owned = {
    				limit = {
    					owner = {
    						NOT = {
    							advisor = jesuit_ambassador
    						}
    					}
    				}
    				owner = {
    					create_advisor = jesuit_ambassador
    				}
    			}
    			add_country_modifier = {
    				name = "western_arms"
    				duration = 18250#50 years
    			}
    			set_country_flag = jesuits_arrive
    			random_owned = {
    				limit = {
    					owner = {
    						NOT = {
    							num_of_cities = 5
    						}
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 1825
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				owner = {
    					land_tech = +100
    					government_tech = +100
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 5
    						NOT = {
    							num_of_cities = 9
    						}
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 1825
    				}
    				random_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 1825
    					}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    				}
    				owner = {
    					land_tech = +200
    					government_tech = +200
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 9
    						NOT = {
    							num_of_cities = 13
    						}
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 1825
    				}
    				any_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 1825
    					}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    				}
    				owner = {
    					land_tech = +400
    					government_tech = +400
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 13
    						NOT = {
    							num_of_cities = 17
    						}
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 3650
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				any_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 1825
    					}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    				}
    				owner = {
    					land_tech = +600
    					government_tech = +600
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 17
    						NOT = {
    							num_of_cities = 25
    						}
    					}
    				}
    				religion = catholic
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 3650
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				any_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 3650
    					}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    				}
    				owner = {
    					land_tech = +800
    					government_tech = +800
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 25
    					}
    				}
    				religion = catholic
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 3650
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				any_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 3650
    					}
    				}
    				owner = {
    					land_tech = +1200
    					government_tech = +1200
    				}
    			}
    			any_neighbor_country = {
    				limit = {
    					religion = catholic
    				}
    				relation = {
    					who = THIS
    					value = 50
    				}
    			}
    			PAP = {
    				set_country_flag = jesuit_contacts
    				relation = {
    					who = THIS
    					value = 50
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					has_country_flag = jesuit_influence_strong
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 100
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_strong
    					}
    					has_country_flag = jesuit_influence_moderate
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 50
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_moderate
    					}
    					has_country_flag = jesuit_influence
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 25
    				}
    			}
    			random_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    				}
    				PAP = {
    					clr_country_flag = jesuit_contacts
    				}
    			}
    		}
    		option = {
    			name = "EVTOPTB551061"#Allow them limited access
    			ai_chance = {
    				factor = 50
    			}
    			set_variable = {
    				which = "jesuit_influence"
    				value = 2
    			}
    			set_country_flag = jesuits_arrive
    			random_owned = {
    				limit = {
    					owner = {
    						NOT = {
    							advisor = jesuit_ambassador
    						}
    					}
    				}
    				owner = {
    					random = {
    						chance = 50
    						create_advisor = jesuit_ambassador
    					}
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 4
    						NOT = {
    							num_of_cities = 13
    						}
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 1825
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				owner = {
    					land_tech = +100
    					government_tech = +100
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 13
    						NOT = {
    							num_of_cities = 16
    						}
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 1825
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				random_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 1825
    					}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    				}
    				owner = {
    					land_tech = +200
    					government_tech = +200
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 17
    						NOT = {
    							num_of_cities = 25
    						}
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 1825
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				any_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 1825
    					}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    				}
    				owner = {
    					land_tech = +400
    					government_tech = +400
    				}
    			}
    			random_owned = {
    				limit = {
    					owner = {
    						num_of_cities = 25
    					}
    				}
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 3650
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    				any_neighbor_province = {
    					limit = {
    						owned_by = THIS
    					}
    					add_province_modifier = {
    						name = "jesuit_mission"
    						duration = 1825
    					}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    				}
    				owner = {
    					land_tech = +600
    					government_tech = +600
    				}
    			}
    			any_neighbor_country = {
    				limit = {
    					religion = catholic
    				}
    				relation = {
    					who = THIS
    					value = 25
    				}
    			}
    			PAP = {
    				set_country_flag = jesuit_contacts
    				relation = {
    					who = THIS
    					value = 25
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					has_country_flag = jesuit_influence_strong
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 50
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_strong
    					}
    					has_country_flag = jesuit_influence_moderate
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 25
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_moderate
    					}
    					has_country_flag = jesuit_influence
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 10
    				}
    			}
    			random_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    				}
    				PAP = {
    					clr_country_flag = jesuit_contacts
    				}
    			}
    		}
    		option = {
    			name = "EVTOPTC551061"#Expel the foreign devils
    			ai_chance = {
    				factor = 25
    				modifier = {
    					advisor = jesuit_ambassador
    					factor = 0.7
    				}
    				modifier = {
    					advisor = jesuit_missionary
    					factor = 0.7
    				}
    				modifier = {
    					check_variable = {
    						which = "religious_fervor"
    						value = 5
    					}
    					factor = 1.4
    				}
    				modifier = {
    					check_variable = {
    						which = "religious_fervor"
    						value = 9
    					}
    					factor = 1.4
    				}
    			}
    			remove_advisor = jesuit_ambassador
    			remove_advisor = jesuit_missionary
    			remove_advisor = jesuit_confessor
    			set_country_flag = jesuits_arrive
    			innovative_narrowminded = 1
    			any_neighbor_country = {
    				limit = {
    					religion = catholic
    				}
    				relation = {
    					who = THIS
    					value = -50
    				}
    				casus_belli = { type = cb_insult months = 12 target = THIS }
    			}
    			PAP = {
    				set_country_flag = jesuits_attacked
    				relation = {
    					who = THIS
    					value = -50
    				}
    				casus_belli = { type = cb_insult months = 12 target = THIS }
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    					has_country_flag = jesuit_influence_strong
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = -100
    				}
    				casus_belli = { type = cb_insult months = 12 target = THIS }
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_strong
    					}
    					has_country_flag = jesuit_influence_moderate
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = -50
    				}
    				casus_belli = { type = cb_insult months = 12 target = THIS }
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_moderate
    					}
    					has_country_flag = jesuit_influence
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = -25
    				}
    			}
    			random_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    				}
    				PAP = {
    					clr_country_flag = jesuits_attacked
    				}
    			}
    		}
    	}
    	province_event = {
    		#Christian Missionaries
    		id = 551062
    		trigger = {
    			NOT = {
    				religion_group = christian
    			}
    			owner = {
    				check_variable = {
    					which = "jesuit_influence"
    					value = 2
    				}
    			}
    			owner = {
    				NOT = {
    					religion_group = christian
    				}
    			}
    			owner = {
    				NOT = {
    					has_country_flag = christians_expelled
    				}
    			}
    			OR = {
    				has_province_modifier = jesuit_mission
    				any_neighbor_province = {
    					religion_group = christian
    				}
    				port = yes
    			}
    		}
    		mean_time_to_happen = {
    			months = 240
    			modifier = {
    				owner = {
    					advisor = jesuit_ambassador
    				}
    				factor = 0.5
    			}
    			modifier = {
    				owner = {
    					advisor = jesuit_missionary
    				}
    				factor = 0.5
    			}
    			modifier = {
    				has_province_modifier = jesuit_mission
    				factor = 0.5
    			}
    			modifier = {
    				citysize = 5000
    				factor = 1.5
    			}
    			modifier = {
    				citysize = 10000
    				factor = 1.5
    			}
    			modifier = {
    				citysize = 25000
    				factor = 1.5
    			}
    			modifier = {
    				citysize = 50000
    				factor = 1.5
    			}
    			modifier = {
    				citysize = 100000
    				factor = 1.5
    			}
    			modifier = {
    				citysize = 250000
    				factor = 1.5
    			}
    			modifier = {
    				citysize = 500000
    				factor = 1.5
    			}
    		}
    		title = "EVTNAME551062"
    		desc = "EVTDESC551062"
    		option = {
    			name = "EVTOPTA551062"#They are harmless
    			ai_chance = {
    				factor = 35
    				modifier = {
    					owner = {
    						check_variable = {
    							which = "religious_fervor"
    							value = 5
    						}
    					}
    					factor = 0.5
    				}
    				modifier = {
    					owner = {
    						check_variable = {
    							which = "religious_fervor"
    							value = 9
    						}
    					}
    					factor = 0
    				}
    				modifier = {
    					owner = {
    						NOT = {
    							check_variable = {
    								which = "religious_fervor"
    								value = 1
    							}
    						}
    					}
    					factor = 1.4
    				}
    				modifier = {
    					owner = {
    						NOT = {
    							check_variable = {
    								which = "religious_fervor"
    								value = -3
    							}
    						}
    					}
    					factor = 1.4
    				}
    			}
    			owner = {
    				land_tech = +50
    				government_tech = +50
    				random_owned = {
    					limit = {
    						owner = {
    							NOT = {
    								advisor = jesuit_ambassador
    							}
    						}
    					}
    					owner = {
    						random = {
    							chance = 5
    							create_advisor = jesuit_ambassador
    						}
    					}
    				}
    				any_country = {
    					limit = {
    						religion = catholic
    						has_country_flag = jesuit_influence
    					}
    					relation = {
    						who = THIS
    						value = 10
    					}
    				}
    				random_owned = {
    					limit = {
    						THIS = {
    							has_province_modifier = jesuit_mission
    							has_province_modifier = heresy
    						}
    					}
    					THIS = {
    						religion = catholic
    						change_variable = { which = "catholic" value = 3 }
    						change_variable = { which = "province_religion" value = -3 }
    						add_province_modifier = {
    							name = "conversion_tensions"
    							duration = 1825
    						}
    					}
    				}
    				random_owned = {
    					limit = {
    						THIS = {
    							has_province_modifier = jesuit_mission
    							NOT = {
    								has_province_modifier = heresy
    							}
    						}
    					}
    					THIS = {
    						change_variable = { which = "catholic" value = 2 }
    						change_variable = { which = "province_religion" value = -2 }
    						add_province_modifier = {
    							name = "heresy"
    							duration = 18250
    						}
    					}
    				}
    				random_owned = {
    					limit = {
    						THIS = {
    							NOT = {
    								has_province_modifier = jesuit_mission
    							}
    						}
    					}
    					THIS = {
    						add_province_modifier = {
    							name = "jesuit_mission"
    							duration = 18250
    						}
    						change_variable = { which = "catholic" value = 1 }
    						change_variable = { which = "province_religion" value = -1 }
    					}
    				}
    			}
    		}
    		option = {
    			name = "EVTOPTC551062"#Embrace this new faith
    			ai_chance = {
    				factor = 5
    				modifier = {
    					owner = {
    						check_variable = {
    							which = "religious_fervor"
    							value = 5
    						}
    					}
    					factor = 0.7
    				}
    				modifier = {
    					owner = {
    						check_variable = {
    							which = "religious_fervor"
    							value = 9
    						}
    					}
    					factor = 0
    				}
    			}
    			owner = {
    				land_tech = +100
    				government_tech = +100
    				change_variable = {
    					which = "jesuit_influence"
    					value = 0.5
    				}
    				random_owned = { 
    					limit = { 
    						has_province_modifier = jesuit_mission
    						has_province_modifier = heresy							
    						owner = { NOT = { ai = yes } } 
    						}
    					owner = { 
    						capital_scope = { 
    						change_variable = { which = "catholic" value = 1 }
    						change_variable = { which = "province_religion" value = -1 }
    						} 
    					}
    				}
    				random_owned = {
    					limit = {
    						owner = {
    							capital_scope = {
    								NOT = {
    									religion = catholic
    								}
    							}
    						}
    					}
    					owner = {
    						any_neighbor_country = {
    							limit = {
    								religion = catholic
    							}
    							relation = {
    								who = THIS
    								value = 20
    							}
    						}
    						any_neighbor_country = {
    							limit = {
    								religion = THIS
    							}
    							relation = {
    								who = THIS
    								value = -50
    							}
    						}
    					}
    				}
    				random_owned = {
    					limit = {
    						owner = {
    							capital_scope = {
    								NOT = {
    									religion = catholic
    								}
    							}
    						}
    					}
    					owner = {
    						create_advisor = jesuit_ambassador
    					}
    				}
    				random_owned = {
    					limit = {
    						owner = {
    							capital_scope = {
    								religion = catholic
    							}
    						}
    						owner = {
    							innovative_narrowminded = 1
    							NOT = {
    								idea = divine_supremacy
    							}
    						}
    					}
    					owner = {
    						add_idea = divine_supremacy
    					}
    				}
    				random_owned = {
    					limit = {
    						owner = {
    							capital_scope = {
    								religion = catholic
    							}
    						}
    						owner = {
    							NOT = {
    								innovative_narrowminded = 0
    							}
    							NOT = {
    								idea = humanist_tolerance
    							}
    						}
    					}
    					owner = {
    						add_idea = humanist_tolerance
    					}
    				}
    				random_owned = {
    					limit = {
    						owner = {
    							capital_scope = {
    								religion = catholic
    							}
    						}
    					}
    					owner = {
    						any_neighbor_country = {
    							limit = {
    								religion = catholic
    							}
    							relation = {
    								who = THIS
    								value = 100
    							}
    						}
    						any_neighbor_country = {
    							limit = {
    								religion = THIS
    							}
    							relation = {
    								who = THIS
    								value = -250
    							}
    						}
    						create_advisor = jesuit_confessor
    						religion = catholic
    						clr_country_flag = true_faith
    					}
    				}
    				any_owned = {
    					limit = {
    						has_province_modifier = jesuit_mission
    						has_province_modifier = heresy
    						}
    					change_variable = { which = "catholic" value = 1 }
    					change_variable = { which = "province_religion" value = -1 }
    					}
    				}
    				random_owned = {
    					limit = {
    						has_province_modifier = jesuit_mission
    						NOT = { has_province_modifier = heresy }
    						}
    					add_province_modifier = { name = "heresy" duration = 18250 }
    					change_variable = { which = "catholic" value = 2 }
    					change_variable = { which = "province_religion" value = -2 }
    					}
    				random_owned = {
    					limit = {
    						THIS = { NOT = { has_province_modifier = jesuit_mission } }
    						}
    					THIS = {
    						add_province_modifier = {
    							name = "jesuit_mission"
    							duration = 18250
    							}
    						change_variable = { which = "catholic" value = 1 }
    						change_variable = { which = "province_religion" value = -1 }
    					}
    				}
    			any_neighbor_province = {
    				add_province_modifier = {
    					name = "jesuit_mission"
    					duration = 3650
    				}
    				change_variable = { which = "catholic" value = 1 }
    				change_variable = { which = "province_religion" value = -1 }
    			}
    			PAP = {
    				set_country_flag = jesuit_contacts
    				relation = {
    					who = THIS
    					value = 20
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					has_country_flag = jesuit_influence_strong
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 20
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_strong
    					}
    					has_country_flag = jesuit_influence_moderate
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 10
    				}
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_moderate
    					}
    					has_country_flag = jesuit_influence
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = 5
    				}
    			}
    			random_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuit_contacts
    					}
    				}
    				PAP = {
    					clr_country_flag = jesuit_contacts
    				}
    			}
    		}
    		option = {
    			name = "EVTOPTD551062"#Discourage their efforts
    			ai_chance = {
    				factor = 35
    			}
    			owner = {
    				remove_advisor = jesuit_ambassador
    				land_tech = +25
    				government_tech = +25
    				remove_country_modifier = western_arms
    				change_variable = {
    					which = "jesuit_influence"
    					value = -1
    				}
    				any_country = {
    					limit = {
    						religion = catholic
    						has_country_flag = jesuit_influence
    					}
    					relation = {
    						who = THIS
    						value = -5
    					}
    				}
    			}
    		}
    		option = {
    			name = "EVTOPTB551062"#Expel the foreigners
    			ai_chance = {
    				factor = 25
    				modifier = {
    					owner = {
    						check_variable = {
    							which = "religious_fervor"
    							value = 5
    						}
    					}
    					factor = 1.4
    				}
    				modifier = {
    					owner = {
    						check_variable = {
    							which = "religious_fervor"
    							value = 9
    						}
    					}
    					factor = 1.4
    				}
    				modifier = {
    					owner = {
    						NOT = {
    							check_variable = {
    								which = "religious_fervor"
    								value = 1
    							}
    						}
    					}
    					factor = 0.7
    				}
    				modifier = {
    					owner = {
    						NOT = {
    							check_variable = {
    								which = "religious_fervor"
    								value = -3
    							}
    						}
    					}
    					factor = 0.7
    				}
    			}
    			owner = {
    				remove_advisor = jesuit_ambassador
    				remove_advisor = jesuit_missionary
    				remove_advisor = jesuit_confessor
    			}
    			PAP = {
    				set_country_flag = jesuits_attacked
    				relation = {
    					who = THIS
    					value = -50
    				}
    				casus_belli = { type = cb_insult months = 12 target = THIS }
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    					has_country_flag = jesuit_influence_strong
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = -100
    				}
    				casus_belli = { type = cb_insult months = 12 target = THIS }
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_strong
    					}
    					has_country_flag = jesuit_influence_moderate
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = -50
    				}
    				casus_belli = { type = cb_insult months = 12 target = THIS }
    			}
    			any_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    					NOT = {
    						has_country_flag = jesuit_influence_moderate
    					}
    					has_country_flag = jesuit_influence
    					num_of_cities = 1
    				}
    				relation = {
    					who = THIS
    					value = -25
    				}
    			}
    			random_country = {
    				limit = {
    					PAP = {
    						has_country_flag = jesuits_attacked
    					}
    				}
    				PAP = {
    					clr_country_flag = jesuits_attacked
    				}
    			}
    			owner = {
    				remove_country_modifier = western_arms
    				set_variable = {
    					which = "jesuit_influence"
    					value = 0
    				}
    				set_country_flag = christians_expelled
    				random_owned = {
    					limit = {
    						owner = {
    							stability = 3
    						}
    					}
    					owner = {
    						prestige = 0.05
    					}
    				}
    				random_owned = {
    					limit = {
    						owner = {
    							NOT = {
    								stability = 3
    							}
    						}
    					}
    					owner = {
    						stability = 1
    					}
    				}
    				any_neighbor_country = {
    					limit = {
    						religion = catholic
    					}
    					relation = {
    						who = THIS
    						value = -50
    					}
    					casus_belli = { type = cb_insult months = 12 target = THIS }
    				}
    				any_owned = {
    					limit = {
    						religion = catholic
    					}
    					religious_rebels = 1
    				}
    				any_owned = {
    					limit = {
    						has_province_modifier = jesuit_mission
    					}
    					religious_rebels = 0
    					remove_province_modifier = jesuit_mission
    				}
    				any_owned = {
    					limit = {
    						has_province_modifier = conversion_tensions
    					}
    					religious_rebels = 0
    					remove_province_modifier = conversion_tensions
    				}
    			}
    		}
    		}
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  2. #22
    First Lieutenant
    Europa Universalis 3

    Join Date
    Nov 2010
    Location
    Gorzˇw Wlkp.
    Posts
    224
    Dharper, I just wanted to say big huge thank you for taking so much of your time to help me, although you didn't even had to!
    If any other problems arise, I'll be sure to write about them here.

  3. #23
    First Lieutenant
    Europa Universalis 3

    Join Date
    Nov 2010
    Location
    Gorzˇw Wlkp.
    Posts
    224
    OK, I mean, not OK:
    -Catholic provinces still revert to Mahayana after few months
    -during 2 years, I got 2 Catholic Presences
    -option to embrace Catholicism is back, but it doesn't actually change religion, at least on the hover-over (I haven't checked what it actually does)
    -generally, after I get Conversion Tensions modifier, it does not add a new Christian minority, but just states that I have an already-existing minority, which was in there before the event
    -frequency with which Jesuit events appear has lowered even further
    -I don't know what is going on, I thought I'll get the same effects as you

  4. #24
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    Quote Originally Posted by JacktheJumper View Post
    OK, I mean, not OK:
    -Catholic provinces still revert to Mahayana after few months
    That's normal - not WAD, but hard to fix in a day. Ignore event-based conversions for now. Actually, I thought I'd taken that out of the event - guess I missed one. Sorry about that!
    -during 2 years, I got 2 Catholic Presences
    How many missionary events did you get in that time? In one test game (I edited the event several times) I got no missionary events in 2 years. In another I got 6 - much higher than normal. It's all random. Give it longer than 2 years! Remember, in my test game I got 3 missionary events in the first two years - which is actually a decent number of them (I sometimes had only 1 or 2, and once 0). If you still haven't seen major Catholic conversions in 10 years, something has definitely gone wrong.
    -option to embrace Catholicism is back, but it doesn't actually change religion, at least on the hover-over (I haven't checked what it actually does)
    It will convert your state religion if your capital is Catholic. The rest of the time, it will simply have a stronger conversion effect on your provinces, so choose it every time if you want to become Catholic. Notice that in my example game above, it took me 11 total times choosing "embrace this new religion" before my country converted state religions.
    -generally, after I get Conversion Tensions modifier, it does not add a new Christian minority, but just states that I have an already-existing minority, which was in there before the event
    That's fine, ignore it for now. Sorry that it's not very clear, but again, hard to fix in a day.
    -frequency with which Jesuit events appear has lowered even further
    I did not touch the MTTH for the events. It's just random chance - sometimes you will get a lot, sometimes you will get very few. To help ensure you get a lot of them, keep your stability high and hire any Jesuit ambassador that you get (you ought to get one from one of the Christian Missionary events, although not always).

    Keep trying - it's not an instant panacea, but you ought to see Japan convert within 10 years if you keep embracing Christianity. (It will take longer to convert the whole country, probably decades)
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  5. #25
    First Lieutenant
    Europa Universalis 3

    Join Date
    Nov 2010
    Location
    Gorzˇw Wlkp.
    Posts
    224
    Ah, thanks for reply!
    So, I understand I shouldn't choose "They are harmless", but "Embrace this new faith" every time?
    That's cool with me, if it's going to help me convert Japan, then alright.
    Thank you once again, I'll comment after some years of further gameplay

  6. #26
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    Quote Originally Posted by JacktheJumper View Post
    Ah, thanks for reply!
    So, I understand I shouldn't choose "They are harmless", but "Embrace this new faith" every time?
    Yes, that's right. "They are harmless" will convert Japan, but only very slowly. "Embrace this new faith" makes it much faster.

    Let me know how it goes.

    EDIT: Just played another test game with your first save - Japan converted its state religion in May 1599, almost ten years after starting play. At that point it had 9 Catholic provinces, however, so maybe it's luckier in a way.
    Last edited by dharper; 28-12-2011 at 19:40.
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  7. #27
    Lt. General chals's Avatar
    HoI AnthologyCrusader Kings IIDeus VultEuropa Universalis 3Heir to the Throne
    Europa Universalis III: In NomineEU3 Napoleon's AmbitionEuropa Universalis: RomeSupreme Ruler 2020Victoria 2

    Join Date
    Jul 2005
    Location
    denmark(moved to aarhus)
    Posts
    1,529
    Blog Entries
    1
    It was not personal dharper, I like your good work, just missed the asia effekt..
    Jesus...hmm.. Lover of my soul :-)




    Restoration-of-Charlemagne-(MMU)-from-Bergyndy ARR

  8. #28
    General gabor's Avatar
    Crusader Kings IIEuropa Universalis 3Heir to the ThroneEuropa Universalis III: In NomineEU3 Napoleon's Ambition

    Join Date
    Jan 2008
    Location
    1802
    Posts
    2,410
    dharper, a question

    as the same no-effect happens in India when black robes arrive; that is you get the jummy jesuit ambassadors but the make-up of provs doesn't change (the minorities do not appear); will your fix help there as well?

  9. #29
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    Quote Originally Posted by gabor View Post
    as the same no-effect happens in India when black robes arrive; that is you get the jummy jesuit ambassadors but the make-up of provs doesn't change (the minorities do not appear); will your fix help there as well?
    Yes, it should. However, I'm working on a more general fix to the system that ought to make every wrong-religion conversion work.
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  10. #30
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    As a general note, I believe I've solved the problem that was stopping wrong-religion conversions by event from having any effect in the mod. I had to write a couple hundred more lines of code to the event, but that shouldn't be too noticeable with a half-decent computer.
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  11. #31
    Quote Originally Posted by dharper View Post
    I had to write a couple hundred more lines of code to the event, but that shouldn't be too noticeable with a half-decent computer.
    But you know, no biggie.


    Wow, amazing Dharper.

  12. #32
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    Quote Originally Posted by Iamwinterborn View Post
    But you know, no biggie.
    Actually, it really was no biggie. Although my code often looks byzantine, it's usually much less complicated than it appears. Anything I write for one religion has to be copied for all 26 religions in the game, so even a simple five- or six-line code becomes a hundred by itself. In this case, it needed about four separate sections of code, each one copied for each religion.

    Also, it was quite embarassing when I finally found the bug - the game was carefully noting that a province was converted, then carefully calculating how much to convert, then applying it against the _current_ religion of the province - which means the change was exactly zero, by definition.

    I'll try and post a new version of the mod today or tomorrow.
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  13. #33
    Wow, Great! So Glad to see this fixed. Thanks alot, and Welcome Back!

  14. #34
    First Lieutenant
    Europa Universalis 3

    Join Date
    Nov 2010
    Location
    Gorzˇw Wlkp.
    Posts
    224
    Sorry for not responding for so long.
    Currently, it is 1638, I've converted to Christianity in AD 1632, after I filled up my NI slot with desirable option, so that HT won't take it. Also, HT is really hurting, I think I'd be better off with some idea good for conversions, as I have only 6 Christian provinces, I'm thinking about swapping HT for Church Attendance.
    So, that's for now.

  15. #35
    Lt. General chals's Avatar
    HoI AnthologyCrusader Kings IIDeus VultEuropa Universalis 3Heir to the Throne
    Europa Universalis III: In NomineEU3 Napoleon's AmbitionEuropa Universalis: RomeSupreme Ruler 2020Victoria 2

    Join Date
    Jul 2005
    Location
    denmark(moved to aarhus)
    Posts
    1,529
    Blog Entries
    1
    church Attendance is better as well, as it gives religus buildings(Universities!!)+some evens and so on.. + burns BB, as you will much likely get Cardinals
    Jesus...hmm.. Lover of my soul :-)




    Restoration-of-Charlemagne-(MMU)-from-Bergyndy ARR

  16. #36
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    Quote Originally Posted by JacktheJumper View Post
    Sorry for not responding for so long.
    Currently, it is 1638, I've converted to Christianity in AD 1632, after I filled up my NI slot with desirable option, so that HT won't take it. Also, HT is really hurting, I think I'd be better off with some idea good for conversions, as I have only 6 Christian provinces, I'm thinking about swapping HT for Church Attendance.
    So, that's for now.
    You get Humanist Tolerance if you convert when your country is innovative. You get Divine Supremacy if you convert when your country is traditional.
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  17. #37
    First Lieutenant
    Europa Universalis 3

    Join Date
    Nov 2010
    Location
    Gorzˇw Wlkp.
    Posts
    224
    Quote Originally Posted by dharper View Post
    You get Humanist Tolerance if you convert when your country is innovative. You get Divine Supremacy if you convert when your country is traditional.
    Ohm, that makes sense! But if I knew this I'd wait until I had traditional slider settings... Kinda missed an opportunity there :sadfrog:
    What the event gives if one has this slider completely in the middle?

  18. #38
    Quote Originally Posted by JacktheJumper View Post
    Ohm, that makes sense! But if I knew this I'd wait until I had traditional slider settings... Kinda missed an opportunity there :sadfrog:
    What the event gives if one has this slider completely in the middle?
    I'm guessing the code is written NOT = something_narrowminded = 1 -> give Humanist Tolerance, and something_narrowminded = 1 -> give Divine Supremacy.

  19. #39
    Dei Gratia author dharper's Avatar
    Crusader Kings IIEU3 CompleteDivine WindFor The GloryHearts of Iron III
    Heir to the ThroneEuropa Universalis III: In NomineMarch of the EaglesEU3 Napoleon's AmbitionVictoria: Revolutions
    Europa Universalis: RomeSengokuVictoria 2Victoria II: A House DividedVictoria II: Heart of Darkness
    Rome: Vae VictisEU3 Collectors Edition500k clubEuropa Universalis IV: Pre-orderEUIV: Wealth of Nations
    EUIV: Conquest of ParadiseEUIV: Res Publica

    Join Date
    Aug 2002
    Location
    Province #989 (EU3/4)
    Posts
    15,205
    Quote Originally Posted by JacktheJumper View Post
    Ohm, that makes sense! But if I knew this I'd wait until I had traditional slider settings... Kinda missed an opportunity there :sadfrog:
    What the event gives if one has this slider completely in the middle?
    If you are in the middle you get nothing - not necessarily a bad thing, as it lets you choose your next idea.
    A mod for Europa Universalis IV that enhances religion in the age of faith and reason
    Over 700 events for over 30 religions
    Wiki
    Version 1.7.02 compatible with the Res Publica expansion
    Download available (July 24, 2014) or subscribe on Steam to get updates automatically
    Project Cryptic: 10% complete

  20. #40
    *Casts thread necro* Will this work/be needed on MMU?

+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts