China.txt

(2 KB) Pobierz
country_decisions = {

	reparations_of_the_great_wall = {
		potential = {
			NOT = { has_country_modifier = great_wall_reparations }
			OR = {
				tag = QNG
				tag = MNG
			}
			normal_or_historical_nations = yes
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			owns = 693
			owns = 695
			owns = 696
			owns = 697
			owns = 699
			owns = 700
			owns = 707
			owns = 709
			owns = 1816
		}
		allow = {
			MIL = 5
		}
		effect = {
			add_country_modifier = {
				name = "great_wall_reparations"
				duration = -1
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					NOT = { years_of_income = 1.5 }
					NOT = { adm_power = 100 }
					NOT = { mil_power = 100 }
				}
			}
		}
	}

	build_the_forbidden_city = {
		potential = {
			OR = {
				tag = MCH
				tag = MNG
				tag = QNG
			}
			normal_or_historical_nations = yes
			OR = {
				ai = no
				is_playing_custom_nation = no
			}
			OR = {
				capital = 1816
				capital = 1821
			}
			NOT = { has_country_modifier = the_forbidden_city }
		}
		allow = {
			is_at_war = no
			OR = {
				statesman = 3
				adm = 3
			}
			OR = {
				faction_in_power = bureaucrats
				has_factions = no
			}
			stability = 3
			years_of_income = 1.0
			adm_power = 50
		}
		effect = {
			add_years_of_income = -1.0
			add_adm_power = -50
			add_country_modifier = {
				name = "the_forbidden_city"
				duration = -1
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					NOT = { years_of_income = 1.5 }
					NOT = { adm_power = 100 }
				}
			}
		}
	}
	
	no_more_celestial_empire = {
		potential = {
			government = celestial_empire
		}
		allow = {
			OR = {
				ADM = 4
				DIP = 4
				MIL = 4
			}
			has_institution = feudalism
			has_institution = renaissance
			has_institution = new_world_i
			has_institution = printing_press
			OR ={
				has_institution = global_trade
				has_institution = manufactories
				has_institution = enlightenment
			}
		}
		effect = {
			change_government = constitutional_monarchy
		}
		ai_will_do = {
			factor = 1
		}
	}
	
}
Zgłoś jeśli naruszono regulamin