EventChanged this version
The Founding of Target Country
An unlikely alliance between the pirate captains Target Character Last Name and Target Character2 Last Name has united the pirates of Madagascar into a single community. Naming their republic Target Country, the pirates follow a utopian doctrine of radical liberty and communalism.
They reject slavery and statecraft, governing through majority voting and recruiting liberated slaves from nearby ports to strengthen their ranks. While this ragtag republic is sure to attract the anger of Europe's colonial powers, whose merchant ships they target, these idealists will attempt to flourish against the odds.
Definitionin_game/events/situations/golden_age_of_piracy.txt:377
378type = country_event
379category = situation_event
380fire_only_once = yes
381title = great_pirate_era.2.title The Founding of Target Country
382desc = great_pirate_era.2.desc An unlikely alliance between the pirate captains Target Character Last Name and Target Character2 Last Name has united the pirates of Madagascar into a single community. Naming their republic Target Country, the pirates follow a utopian doctrine of radical liberty and communalism.
They reject slavery and statecraft, governing through majority voting and recruiting liberated slaves from nearby ports to strengthen their ranks. While this ragtag republic is sure to attract the anger of Europe's colonial powers, whose merchant ships they target, these idealists will attempt to flourish against the odds.
They reject slavery and statecraft, governing through majority voting and recruiting liberated slaves from nearby ports to strengthen their ranks. While this ragtag republic is sure to attract the anger of Europe's colonial powers, whose merchant ships they target, these idealists will attempt to flourish against the odds.
383outcome = neutral
384historical_info = great_pirate_era.2.historical_info Libertalia, a legendary pirate colony, was said to be founded by Captain James Misson in Madagascar during the late 17th century. It was envisioned as a utopia of radical liberty, where pirates rejected slavery and state rule, governing through democratic means. Though most historians consider Libertalia more myth than fact, its ideals of freedom and communalism remain a powerful symbol of resistance to authoritarianism.
385trigger = {
386current_year > 1689
387current_year < 1720
388NOT = {
388has_reform = government_reform:pirate_brethren_reform
}
389NOT = {
389country_exists = c:LIB
}
390location:maroantsetra = {
391has_owner = yes
392integration_level = core
393trigger_if = {
394limit = {
395owner ?= {
395is_human = yes
}
}
397owner = root
}
399trigger_else = {
400top_owner = ROOT
}
402owner ?= {
403num_of_non_rural >= 2
}
405is_capital = no
406OR = {
407local_control < 0.5
408average_satisfaction < 0.5
}
}
}
414immediate = {
415location:maroantsetra = {
415save_scope_as = target_location
}
416scope:target_location = {
417construct_building = {
419instant = yes
420cost_multiplier = 0
421cost_multiplier_reason = "game_concept_event"
}
423create_country_from_location = {
425if = {
426limit = {
426navy_size_percentage < 1
}
427custom_tooltip = {
428text = build_galleys_to_navy_size_percentage_tt A fleet of galley Ships will be constructed in Target Location
429scope:target_location = {}
}
}
449name = {
450name = LIB Libertalia
}
452add_reform = government_reform:pirate_brethren_reform
462save_scope_as = target_country
466add_gold = 1000
467create_character = {}
478create_character = {}
489set_new_ruler = scope:target_character
490change_country_type = navy
491define_unique_country_tag = LIB Libertalia
492change_country_flag = LIB Libertalia
}
}
}