flavorGUA.txt

(6 KB) Pobierz
########################################
# Events for Guarani
#
# written by Sara Wendel-Örtqvist
####################################

namespace = flavor_gua
normal_or_historical_nations = yes

# Bandeirantes
country_event = {
	id = flavor_gua.1
	title = flavor_gua.1.t
	desc = flavor_gua.1.d
	picture = BATTLE_eventPicture

	fire_only_once = yes
	
	trigger = {
		tag = GUA
		any_neighbor_country = {
			OR = {
				capital_scope = {
					continent = europe
				}
				colonial_parent = {
					capital_scope = {
						continent = europe
					}
				}
			}
			knows_country = ROOT
			ROOT = {
				knows_country = PREV
			}
		}
	}
	mean_time_to_happen = {
		months = 32
	}
	
	option = {
		name = flavor_gua.1.a
		add_stability = -1
		random_neighbor_country = {
			limit = {
				capital_scope = { continent = europe }
			}
			country_event = {
				id = flavor_gua.2
				days = 7
				tooltip = flavor_gua.2.tt
			}
		}
	}
	option = {
		name = flavor_gua.1.b
		add_stability_or_adm_power = yes
		random_neighbor_country = {
			limit = {
				capital_scope = { continent = europe }
				knows_country = ROOT
				ROOT = {
					knows_country = PREV
				}
			}
			add_opinion = { who = ROOT modifier = gua_oppose_bandeirantes }
		}
	}
}

# Bandeirantes
country_event = {
	id = flavor_gua.2
	title = flavor_gua.2.t
	desc = flavor_gua.2.d
	picture = BATTLE_eventPicture

	is_triggered_only = yes
	
	option = {
		name = flavor_gua.2.a
		random_owned_province = {
			limit = {
				any_neighbor_province = {
					owned_by = FROM
				}
			}
			add_base_tax = 1
		}
		tooltip = {
			add_opinion = { who = FROM modifier = gua_accept_bandeirantes }
		}
		tooltip = {
			FROM = {
				country_event = {
					id = flavor_gua.3
					days = 7
					tooltip = flavor_gua.3.tta
				}
				country_event = {
					id = flavor_gua.3
					days = 7
					tooltip = flavor_gua.3.ttb
				}
			}
		}
		hidden_effect = {
			FROM = {
				country_event = {
					id = flavor_gua.3
					days = 7
				}
			}
		}
	}
}

# Bandeirantes
country_event = {
	id = flavor_gua.3
	title = flavor_gua.3.t
	desc = flavor_gua.3.d
	picture = BATTLE_eventPicture

	is_triggered_only = yes
	
	option = {
		name = flavor_gua.3.a
		reverse_add_opinion = { who = FROM modifier = gua_accept_bandeirantes }
		add_ruler_modifier = {
			name = gua_bandeirantes
			duration = 3650
		}			
	}
	option = {
		name = flavor_gua.3.b
		add_stability_or_adm_power = yes
		reverse_add_opinion = { who = FROM modifier = gua_oppose_bandeirantes }
	}
}

## Yerba Mate
country_event = {
	id = flavor_gua.4
	title = flavor_gua.4.t
	desc = flavor_gua.4.d
	picture = TRADEGOODS_eventPicture

	#fire_only_once = yes
	
	trigger = {
		tag = GUA
		is_at_war = no
		has_regency = no
		NOT = {
			has_ruler_modifier = gua_yerba_mate
		}
		any_owned_province = {
			trade_goods = tea
		}
	}
	
	mean_time_to_happen = {
		months = 120
	}
	
	option = {
		name = flavor_gua.4.a
		add_adm_power = -10
		add_ruler_modifier = {
			name = gua_yerba_mate
		}
	}
	option = {
		name = flavor_gua.4.b
		add_prestige = -5
		random_owned_province = {
			limit = {
				trade_goods = tea
			}
			add_province_modifier = {
				name = gua_yerba_mate_production
				duration = 1825
			}
		}
	}
}

# Nheçu
country_event = {
	id = flavor_gua.5
	title = flavor_gua.5.t
	desc = flavor_gua.5.d
	picture = BATTLE_eventPicture

	fire_only_once = yes
	
	trigger = {
		tag = GUA
		NOT = {
			religion = catholic
		}
		any_neighbor_country = {
			OR = {
				capital_scope = {
					continent = europe
				}
				colonial_parent = {
					capital_scope = {
						continent = europe
					}
				}
			}
			religion = catholic
		}
	}
	
	mean_time_to_happen = {
		months = 32
	}
	
	option = {
		name = flavor_gua.5.a
		add_stability_or_adm_power = yes
		random_neighbor_country = {
			limit = {
				OR = {
					capital_scope = {
						continent = europe
					}
					colonial_parent = {
						capital_scope = {
							continent = europe
						}
					}
				}
				religion = catholic
			}
			add_opinion = { who = ROOT modifier = gua_killed_jesuits }
		}
	}
	option = {
		name = flavor_gua.5.b
		random_neighbor_country = {
			limit = {
				OR = {
					capital_scope = {
						continent = europe
					}
					colonial_parent = {
						capital_scope = {
							continent = europe
						}
					}
				}
				religion = catholic
			}
			add_opinion = { who = ROOT modifier = gua_saved_jesuits }
		}
		every_owned_province = {
			limit = {
				any_neighbor_province = {
					owner = {
						capital_scope = { continent = europe }
						religion = catholic
					}
				}
			}
			add_province_modifier = {
				name = add_unrest_5_modifier
				duration = 1825
			}
		}
	}
}

# Sepé Tiaraju
country_event = {
	id = flavor_gua.6
	title = flavor_gua.6.t
	desc = flavor_gua.6.d
	picture = BATTLE_eventPicture

	fire_only_once = yes
	
	trigger = {
		tag = GUA
		NOT = {
			religion = catholic
		}
		any_neighbor_country = {
			OR = {
				capital_scope = {
					continent = europe
				}
				colonial_parent = {
					capital_scope = {
						continent = europe
					}
				}
			}
			religion = catholic
			knows_country = ROOT
			ROOT = {
				knows_country = PREV
			}
			any_owned_province = {
				is_core = ROOT
			}
		}
	}
	
	mean_time_to_happen = {
		months = 32
	}
	
	option = {
		name = flavor_gua.6.a
		define_general = {
			name = "Sepé Tiaraju"
			shock = 3
			fire = 2
			manuever = 2
			siege = 2
		}
	}
}
 
# Karai Pyhare
country_event = {
	id = flavor_gua.7
	title = flavor_gua.7.t
	desc = flavor_gua.7.d
	picture = BATTLE_eventPicture

	fire_only_once = yes
	
	trigger = {
		tag = GUA
		is_at_war = no
		any_neighbor_country = {
			OR = {
				capital_scope = {
					continent = europe
				}
				colonial_parent = {
					capital_scope = {
						continent = europe
					}
				}
			}
			religion = catholic
			knows_country = ROOT
		}
	}
	
	mean_time_to_happen = {
		months = 50
		
		modifier = {
			factor = 0.5
			NOT = {
				religion = catholic
			}
		}
		modifier = {
			factor = 2
			religion = catholic
		}
	}
	
	option = {
		name = flavor_gua.7.a
		add_years_of_income = -0.1
		random_owned_province = {
			add_province_modifier = {
				name = remove_unrest_5_modifier
				duration = 1825
			}
		}
	}
	option = {
		name = flavor_gua.7.b
		add_prestige = 5
		random_owned_province = {
			add_province_modifier = {
				name = add_unrest_5_modifier
				duration = 1825
			}
		}
	}
}
Zgłoś jeśli naruszono regulamin