ColonialNation.txt

(101 KB) Pobierz
namespace = colonial_nation

# Tariffs Too High
country_event = {
	id = colonial_nation.1
	title = "colonial_nation.EVTNAME1"
	desc = "colonial_nation.EVTDESC1"
	picture = HARBOUR_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		any_subject_country = {
			is_colonial_nation_of = ROOT
			tariff_value = 0.25
			OR = {
				NOT = { has_country_flag = increased_tariffs }
				had_country_flag = { flag = increased_tariffs days = 3650 }
			}
			OR = {
				NOT = { has_country_flag = reduced_tariffs }
				had_country_flag = { flag = reduced_tariffs days = 3650 }
			}
		}
	}

	mean_time_to_happen = {
		days = 1
		modifier = {
			factor = 1.25
			tariff_value = 0.5
		}
		modifier = {
			factor = 1.25
			tariff_value = 0.75
		}
		modifier = {
			factor = 1.1
			is_year = 1650
		}
		modifier = {
			factor = 1.1
			is_year = 1700
		}
		modifier = {
			factor = 1.1
			is_year = 1750
		}
		modifier = {
			factor = 1.1
			is_year = 1800
		}
	}
	
	option = {
		name = "colonial_nation.EVTOPTA1"	# Better show them who rule the colonies
		ai_chance = { factor = 50 }
		random_country = {
			limit = {
				is_colonial_nation_of = ROOT
			}
			tooltip = {
				add_liberty_desire = 10
				add_tariff_value = 0.10
			}
			hidden_effect = {
				set_country_flag = increased_tariffs
				country_event = { id = colonial_nation.2 days = 1 }
			}
		}
	}
	option = {
		name = "colonial_nation.EVTOPTB1"	# Accept to lower the tariffs
		ai_chance = { factor = 50 }
		random_country = {
			limit = {
				is_colonial_nation_of = ROOT
			}
			tooltip = {
				add_liberty_desire = -10
				add_tariff_value = -0.10
			}
			hidden_effect = {
				set_country_flag = reduced_tariffs
				country_event = { id = colonial_nation.3 days = 1 }
			}
		}
	}
}

# Increased Tariffs
country_event = {
	id = colonial_nation.2
	title = "colonial_nation.EVTNAME2"
	desc = "colonial_nation.EVTDESC2"
	picture = HARBOUR_eventPicture
	
	is_triggered_only = yes
	
	option = {
		name = "colonial_nation.EVTOPTA2"	# Push us far enough...
		add_liberty_desire = 10
		add_tariff_value = 0.1
	}
}

# Decreased Tariffs
country_event = {
	id = colonial_nation.3
	title = "colonial_nation.EVTNAME3"
	desc = "colonial_nation.EVTDESC3"
	picture = HARBOUR_eventPicture
	
	is_triggered_only = yes
	
	option = {
		name = "colonial_nation.EVTOPTA3"	# Good news!
		add_liberty_desire = -10
		add_tariff_value = -0.1
	}
}

# Freedom Fighter or Rebel?
country_event = {
	id = colonial_nation.4
	title = "colonial_nation.EVTNAME4"
	desc = "colonial_nation.EVTDESC4"
	picture = CONQUEST_eventPicture

	is_triggered_only = yes
	
	trigger = {
		is_colonial_nation = yes
		liberty_desire = 50
		NOT = { has_country_flag = colonial_nation_freedom_fighter }
	}

	mean_time_to_happen = {
		days = 1
		modifier = {
			factor = 1.25
			liberty_desire = 60
		}
		modifier = {
			factor = 1.25
			liberty_desire = 70
		}
		modifier = {
			factor = 1.25
			liberty_desire = 80
		}
		modifier = {
			factor = 1.25
			liberty_desire = 90
		}
		modifier = {
			factor = 1.25
			is_year = 1650
		}
		modifier = {
			factor = 1.25
			is_year = 1700
		}
		modifier = {
			factor = 1.25
			is_year = 1750
		}
		modifier = {
			factor = 1.25
			is_year = 1800
		}
	}
	
	immediate = {
		set_country_flag = colonial_nation_freedom_fighter
	}
	
	option = {
		name = "colonial_nation.EVTOPTA4"	# Promote him to general!
		ai_chance = { factor = 75 }
		create_general = 150
		add_liberty_desire = 1
		hidden_effect = {
			colonial_parent = {
				country_event = { id = colonial_nation.5 days = 1 }
			}
		}
	}
	option = {
		name = "colonial_nation.EVTOPTB4"	# He must be executed!
		ai_chance = { factor = 25 }
		add_liberty_desire = 10
		hidden_effect = {
			colonial_parent = {
				country_event = { id = colonial_nation.6 days = 1 }
			}
		}
	}
}

# Trouble in COLONYNAME
country_event = {
	id = colonial_nation.5
	title = "colonial_nation.EVTNAME5"
	desc = "colonial_nation.EVTDESC5"
	picture = CONQUEST_eventPicture

	is_triggered_only = yes
	
	option = {
		name = "colonial_nation.EVTOPTA5"	# How dare they?!
		tooltip = {
			FROM = {
				add_liberty_desire = 1
			}
		}
	}
}

# Colonial Rebel Executed
country_event = {
	id = colonial_nation.6
	title = "colonial_nation.EVTNAME6"
	desc = "colonial_nation.EVTDESC6"
	picture = STREET_SPEECH_eventPicture

	is_triggered_only = yes
	
	option = {
		name = "colonial_nation.EVTOPTA6"	# Perhaps a too swift solution...
		tooltip = {
			FROM = {
				add_liberty_desire = 10
			}
		}
	}
}

# Colonial Wars
country_event = {
	id = colonial_nation.10
	title = "colonial_nation.EVTNAME10"
	desc = "colonial_nation.EVTDESC10"
	picture = BORDER_TENSION_eventPicture
	
	is_triggered_only = yes
	
	trigger = {
		any_subject_country = {
			is_colonial_nation_of = ROOT
			cb_on_primitives = yes
			NOT = { has_country_modifier = the_proclamation_of_year_timer }
			OR = {
				NOT = { has_country_flag = the_proclamation_of_year }
				had_country_flag = { flag = the_proclamation_of_year days = 10950 }
			}
			any_neighbor_country = {
				primitives = yes
				OR = {
					alliance_with = ROOT
					has_opinion = {
						who = ROOT
						value = 100
					}
				}
			}
		}
	}

	mean_time_to_happen = {
		days = 1
		modifier = {
			factor = 1.25
			any_country = {
				primitives = yes
				alliance_with = ROOT
			}
		}
	}
	
	immediate = {
		random_country = {
			limit = {
				is_colonial_nation_of = ROOT
				cb_on_primitives = yes
				NOT = { has_country_modifier = the_proclamation_of_year_timer }
				OR = {
					NOT = { has_country_flag = the_proclamation_of_year }
					had_country_flag = { flag = the_proclamation_of_year days = 10950 }
				}
				any_neighbor_country = {
					primitives = yes
					OR = {
						alliance_with = ROOT
						has_opinion = {
							who = ROOT
							value = 100
						}
					}
				}
			}
			set_country_flag = the_proclamation_of_year_country
		}
	}
	
	option = {
		name = "colonial_nation.EVTOPTA10"	# Keep them on a tight leash!
		ai_chance = { factor = 25 }
		random_country = {
			limit = {
				has_country_flag = the_proclamation_of_year_country
				is_colonial_nation_of = ROOT
				cb_on_primitives = yes
				NOT = { has_country_modifier = the_proclamation_of_year_timer }
				OR = {
					NOT = { has_country_flag = the_proclamation_of_year }
					had_country_flag = { flag = the_proclamation_of_year days = 10950 }
				}
				any_neighbor_country = {
					primitives = yes
					OR = {
						alliance_with = ROOT
						has_opinion = {
							who = ROOT
							value = 100
						}
					}
				}
			}
			tooltip = {
				add_liberty_desire = 25
				custom_tooltip = "proclamation_tooltip"
			}
			hidden_effect = {
				country_event = { id = colonial_nation.11 days = 1 }
			}
		}
		every_country = {
			limit = {
				primitives = yes
				OR = {
					alliance_with = ROOT
					has_opinion = {
						who = ROOT
						value = 100
					}
				}
				any_neighbor_country = {
					has_country_flag = the_proclamation_of_year_country
					is_colonial_nation_of = ROOT
					cb_on_primitives = yes
					NOT = { has_country_modifier = the_proclamation_of_year_timer }
					OR = {
						NOT = { has_country_flag = the_proclamation_of_year }
						had_country_flag = { flag = the_proclamation_of_year days = 10950 }
					}
				}
			}
			add_opinion = { who = ROOT modifier = the_proclamation_of_year }
		}
	}
	option = {
		name = "colonial_nation.EVTOPTB10"	# It is not in our interest
		ai_chance = {
			factor = 75
			modifier = {
				factor = 0
				any_subject_country = {
					is_colonial_nation_of = ROOT
					cb_on_primitives = yes
					NOT = { has_country_modifier = the_proclamation_of_year_timer }
					OR = {
						NOT = { has_country_flag = the_proclamation_of_year }
						had_country_flag = { flag = the_proclamation_of_year days = 10950 }
					}
					any_neighbor_country = {
						primitives = yes
						alliance_with = ROOT
					}
				}
			}
		}
		every_country = {
			limit = {
				primitives = yes
				OR = {
					alliance_with = ROOT
					has_opinion = {
						who = ROOT
						value = 100
					}
				}
				any_neighbor_country = {
					has_country_flag = the_proclamation_of_year_country
					is_colonial_nation_of = ROOT
					cb_on_primitives = yes
					NOT = { has_country_modifier = the_proclamation_of_year_timer }
					OR = {
						NOT = { has_country_flag = the_proclamation_of_year }
						had_country_flag = { flag = the_proclamation_of_year days = 10950 }
					}
				}
			}
			add_opinion = { who = ROOT modifier = non_restricted_colonial_wars }
		}
		hidden_effect = {
			random_country = {
				limit = {
					has_country_flag = the_proclamation_of_year_country
					is_colonial_nation_of = ROOT
					cb_on_primitives = yes
					NOT = { has_country_modifier = the_proclamation_of_year_timer }
					OR = {
						NOT = { has_country_flag = the_proclamation_of_year }
						had_country_flag = { flag = the_proclamation_of_year days = 10950 }
					}
					any_neighbor_country = {
						primitives = yes
						OR = {
							alliance_with = ROOT
							has_opinion = {
								who = ROOT
								value = 100
							}
						}
					}
				}
				clr_country_flag = the_proclamation_of_year_country
			}
		}
	}
}

# The Proclamation of YEAR
country_event = {
	id = colonial_nation.11
	title = "colonial_nation.EVTNAME11"
	desc = "colonial_nation.EVTDESC11"
	picture = COURT_eventPicture
	
	is_triggered_only = yes

	option = {
		name = "colonial_nation.EVTOPTA11"	# This is an outrage!
		add_lib...
Zgłoś jeśli naruszono regulamin