EventChanged this version
The Target Country
The zealous displacement of minorities faithful to Islam across Iberia now includes converts suspected of secretly maintaining their old faith. This has brought forth new people to our lands, and one of the wealthy families that recently arrived has done so under threat of persecution in their former home. Settling in Target Location, they have abandoned their old lives for high seas piracy, joining forces with piratical slavers.
The newly formed Target Country is led by Target Character, a recent convert from The Hague. This development is undoubtedly a side-effect of the flourishing pirate era!
SaléCountrytrigger
SunnismReligionimmediateDefinitionin_game/events/situations/golden_age_of_piracy.txt:534
535type = country_event
536category = situation_event
537fire_only_once = yes
538title = great_pirate_era.3.title The Target Country
539desc = great_pirate_era.3.desc The zealous displacement of minorities faithful to Islam across Iberia now includes converts suspected of secretly maintaining their old faith. This has brought forth new people to our lands, and one of the wealthy families that recently arrived has done so under threat of persecution in their former home. Settling in Target Location, they have abandoned their old lives for high seas piracy, joining forces with piratical slavers.
The newly formed Target Country is led by Target Character, a recent convert from The Hague. This development is undoubtedly a side-effect of the flourishing pirate era!
The newly formed Target Country is led by Target Character, a recent convert from The Hague. This development is undoubtedly a side-effect of the flourishing pirate era!
540outcome = neutral
541historical_info = great_pirate_era.3.historical_info The Republic of Salé, established in the early 17th century on the Moroccan coast, was led by renegade pirates, including the Dutchman Jan Janszoon, who adopted the name Murat Reis after converting to Islam. It became a notorious base for Barbary corsairs, who raided European ships and coastal towns. Salé thrived as a pirate republic for several decades, with its leadership drawn from a mix of Moroccan elites and foreign renegades, before it was absorbed into local Moroccan rule.
542trigger = {
543current_year > 1588
544current_year < 1635
545NOT = {
545has_reform = government_reform:pirate_brethren_reform
}
547location:sale = {
548has_owner = yes
549integration_level = core
550trigger_if = {
551limit = {
552owner ?= {
552is_human = yes
}
}
554owner = root
}
556trigger_else = {
557top_owner = ROOT
}
559owner ?= {
560num_of_non_rural >= 2
}
562is_capital = no
563OR = {
564local_control < 0.5
565average_satisfaction < 0.5
}
}
}
571immediate = {
572location:sale = {
572save_scope_as = target_location
}
573scope:target_location = {
574construct_building = {
576instant = yes
577cost_multiplier = 0
578cost_multiplier_reason = "game_concept_event"
}
580create_country_from_location = {
582if = {
583limit = {
583navy_size_percentage < 1
}
584custom_tooltip = {
585text = build_galleys_to_navy_size_percentage_tt A fleet of galley Ships will be constructed in Target Location
586scope:target_location = {}
}
}
606name = {
607name = SLE Salé
}
609add_reform = government_reform:pirate_brethren_reform
619save_scope_as = target_country
623add_gold = 1000
624if = {
625limit = {
626current_year > 1590
627current_year < 1615
}
629create_character = {}
}
642else = {
643create_character = {}
}
653set_new_ruler = scope:target_character
654change_country_type = navy
655define_unique_country_tag = SLE Salé
656change_country_flag = SLE Salé
}
}
}