NativeAmerican.txt

(21 KB) Pobierz
namespace = native_americans

# Frozen Lands - colonizing arctic
province_event = {
	id = native_americans.1
	title = "native_americans.1.t"
	desc = "native_americans.1.d"
	picture = EXPLORERS_eventPicture

	trigger = {
		has_dlc = "Conquest of Paradise"
		owner = {
			government = native_council
			NOT = {
				capital_scope = {
					has_climate = arctic
				}
			}
			NOT = { has_country_flag = natives_adapted_arctic }
		}
		is_colony = yes
		colonysize = 100
		NOT = { colonysize = 500 }
		has_climate = arctic
		OR = {
			is_month = 10
			NOT = { is_month = 5 }
		}
	}

	mean_time_to_happen = {
		months = 240
	}

	option = {
		name = "native_americans.1.a"
		ai_chance = { factor = 75 }
		add_colonysize = 200
		owner = {
			add_stability = -1
			set_country_flag = natives_adapted_arctic
		}
	}

	option = {
		name = "native_americans.1.b"
		ai_chance = { factor = 25 }
		add_colonysize = -100
	}
}

# Parched Lands - colonizing arid
province_event = {
	id = native_americans.2
	title = "native_americans.2.t"
	desc = "native_americans.2.d"
	picture = FAMINE_eventPicture

	trigger = {
		has_dlc = "Conquest of Paradise"
		owner = {
			government = native_council
			NOT = {
				capital_scope = {
					has_climate = arid
				}
			}
			NOT = { has_country_flag = natives_adapted_arid }
		}
		is_colony = yes
		colonysize = 100
		NOT = { colonysize = 500 }
		has_climate = arid
		is_month = 5
		NOT = { is_month = 10 }
	}

	mean_time_to_happen = {
		months = 240
	}

	option = {
		name = "native_americans.2.a"
		ai_chance = { factor = 75 }
		add_colonysize = 200
		owner = {
			add_stability = -1
			set_country_flag = natives_adapted_arid
		}
	}

	option = {
		name = "native_americans.2.b"
		ai_chance = { factor = 25 }
		add_colonysize = -100
	}
}

# Our New Home in the North - migrating to arctic
province_event = {
	id = native_americans.3
	title = "native_americans.3.t"
	desc = "native_americans.3.d"
	picture = EXPLORERS_eventPicture

	trigger = {
		has_dlc = "Conquest of Paradise"
		owner = {
			government = native_council
			# Check if the tribe is still migrating
			NOT = { num_of_cities = 2 }
			NOT = { num_of_colonies = 1 }
			any_neighbor_country = {
				capital_scope = {
					has_climate = arctic
				}
			}
			NOT = { has_country_flag = natives_adapted_arctic }
		}
		has_climate = arctic
		OR = {
			is_month = 10
			NOT = { is_month = 5 }
		}
	}

	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = native_americans.3.a
		owner = {
			random_neighbor_country = {
				limit = {
					capital_scope = {
						has_climate = arctic
					}
				}
				add_opinion = { who = ROOT modifier = opinion_pleased }
				set_country_flag = natives_adapted_arctic
			}
			add_prestige = -10
		}
	}

	option = {
		name = native_americans.3.b
		add_province_modifier = {
			name = "learning_from_the_land"
			duration = 365
		}
		owner = {
			add_manpower = -2
			set_country_flag = natives_adapted_arctic
		}
	}
}

# Our New Home in the Desert - migrating to arid
province_event = {
	id = native_americans.4
	title = "native_americans.4.t"
	desc = "native_americans.4.d"
	picture = EXPLORERS_eventPicture

	trigger = {
		has_dlc = "Conquest of Paradise"
		owner = {
			government = native_council
			# Check if the tribe is still migrating
			NOT = { num_of_cities = 2 }
			NOT = { num_of_colonies = 1 }
			any_neighbor_country = {
				capital_scope = {
					has_climate = arctic
				}
			}
			NOT = { has_country_flag = natives_adapted_arid }
		}
		has_climate = arid
		is_month = 5
		NOT = { is_month = 10 }
	}

	mean_time_to_happen = {
		months = 480
	}
	
	option = {
		name = native_americans.4.a
		owner = {
			random_neighbor_country = {
				limit = {
					capital_scope = {
						has_climate = arctic
					}
				}
				add_opinion = { who = ROOT modifier = opinion_pleased }
				set_country_flag = natives_adapted_arid
			}
			add_prestige = -10
		}
	}

	option = {
		name = native_americans.4.b
		add_province_modifier = {
			name = "learning_from_the_land"
			duration = 365
		}
		owner = {
			add_manpower = -2
			set_country_flag = natives_adapted_arid
		}
	}
}

# Counting Coup - retaining or rejecting traditions of proving courage
country_event = {
	id = native_americans.5
	title = "native_americans.5.t"
	desc = "native_americans.5.d"
	picture = DEBATE_REPUBLICAN_eventPicture

	trigger = {
		has_dlc = "Conquest of Paradise"
		government = native_council
		NOT = { has_country_flag = natives_discounting_coup }
		advisor = army_reformer
	}

	mean_time_to_happen = {
		months = 480
	}
	
	# Stop counting coup
	option = {
		name = "native_americans.5.a"
		add_mil_power = 100
		add_prestige = -20
		set_country_flag = natives_discounting_coup
	}

	# Continue counting coup
	option = {
		name = "native_americans.5.b"
		add_ruler_modifier = {
			name = "counting_coup"
		}
	}
}

# Appointing a War Chief - select mil-strong leader during times of war
country_event = {
	id = native_americans.6
	title = "native_americans.6.t"
	desc = "native_americans.6.d"
	picture = LAND_MILITARY_eventPicture
	
	trigger= {
		has_dlc = "Conquest of Paradise"
		government = native_council
		is_at_war = yes
		NOT = { has_country_flag = appointed_war_chief }
		army_tradition = 20
	}

	mean_time_to_happen = {
		months = 96
		modifier = {
			factor = 0.5
			has_ruler_modifier = "counting_coup"
		}
	}

	# Appoint a war chief
	option = {
		name = "native_americans.6.a"
		set_country_flag = appointed_war_chief
		define_ruler = {
			adm = 0
			dip = 1
			mil = 5
			fixed = yes
		}
	}

	# Retain peace chief
	option = {
		name = "native_americans.6.b"
		add_dip_power = 10
	}
}

# Appointing a Peace Chief - removing the War Chief from previous event on peace
country_event = {
	id = native_americans.7
	title = "native_americans.7.t"
	desc = "native_americans.7.d"
	picture = CONQUEST_eventPicture

	is_triggered_only = yes

	trigger = {
		has_dlc = "Conquest of Paradise"
		has_country_flag = appointed_war_chief
	}

	# Peace Chief appointed, random traits but decent adm/dip
	option = {
		name = "native_americans.7.a"
		define_ruler = {
			adm = 2
			dip = 2
		}
		clr_country_flag = appointed_war_chief
	}

	# War Chief remains in power, military coup
	option = {
		name = "native_americans.7.b"
		add_stability = -1
	}
}

# Those who Travel and Those who Stay - exchange between nomadic and settled indians
# First event suggests the exchange to the settled party
country_event = {
	id = native_americans.8
	title = "native_americans.8.t"
	desc = "native_americans.8.d"
	picture = MERCHANTS_TALKING_eventPicture

	trigger = {
		has_dlc = "Conquest of Paradise"
		government = native_council
		num_of_cities = 2
		any_neighbor_country = {
			government = native_council
			NOT = { num_of_cities = 2 }
			NOT = { num_of_colonies = 1 }
		}
	}

	mean_time_to_happen = {
		months = 720
	}

	# Suggest exchange to nomadic
	option = {
		name = "native_americans.8.a"
		random_neighbor_country = {
			limit = {
				government = native_council
				NOT = { num_of_cities = 2 }
				NOT = { num_of_colonies = 1 }
			}			
			country_event = { id = native_americans.9 days = 10 tooltip = native_americans.8.a.tt }
		}
	}

	# Reject the idea, insulting the nomads as inferior
	option = {
		name = "native_americans.8.b"
		add_prestige = 10
		random_neighbor_country = {
			limit = {
				government = native_council
				NOT = { num_of_cities = 2 }
				NOT = { num_of_colonies = 1 }
			}
			add_opinion = { who = ROOT modifier = opinion_insulted }
		}
	}
}

# Those who Travel and Those who Stay, continued
# Nomads receive suggestion
country_event = {
	id = native_americans.9
	title = "native_americans.8.t"
	desc = "native_americans.9.d"
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	# Accept, the exchange will happen
	option = {
		name = "native_americans.9.a"
		add_adm_power = 25
		add_dip_power = 25
		add_country_modifier = {
			name = "intercultural_exchange"
			duration = 1825
		}
		FROM = {
			add_opinion = { who = ROOT modifier = reconciling_differences }
			hidden_effect = {
				country_event = { id = native_americans.11 days = 10 }
			}
		}
	}

	# Reject, insulting the settled tribe
	option = {
		name = "native_americans.9.b"
		add_prestige = 10
		FROM = {
			add_opinion = { who = ROOT modifier = opinion_insulted }
			hidden_effect = {
				country_event = { id = native_americans.10 days = 10 }
			}
		}
	}
}

# Those who Travel and Those who Stay, continued
# Settlers get event when nomads reject and insult them
country_event = {
	id = native_americans.10
	title = "native_americans.8.t"
	desc = "native_americans.10.d"
	picture = BORDER_TENSION_eventPicture

	is_triggered_only = yes

	option = {
		name = "native_americans.10.a"
	}
}

# Those who Travel and Those who Stay, continued
# Settlers get final event from nomads who accepted, exchange goes through
country_event = {
	id = native_americans.11
	title = "native_americans.8.t"
	desc = "native_americans.11.d"
	picture = MERCHANTS_TALKING_eventPicture

	is_triggered_only = yes

	# Give the settlers the modifier and power
	option = {
		name = "native_americans.11.a"
		add_adm_power = 25
		add_dip_power = 25
		add_country_modifier = {
			name = "intercultural_exchange"
			duration = 1825
		}
	}
}

# Holy Smoke - event on deciding whether to curb or enourage provincial tobacco use
province_event = {
	id = native_americans.12
	title = "native_americans.12.t"
	des...
Zgłoś jeśli naruszono regulamin