Scripted Effect
set_up_wokou_nation_in_immediate
- Asia
- Target location
- Will be owned by Root
- Forms a new country
- Becomes a Core of Target country
- Changes its integration level to core
- Change max raw material workers: +1,000
- Target country
- Embraces RootCulture as Primary Culture
- Converts to the RootReligion Religion
- Will become a
Republic - Unlock the
Pirate Brethren Government Reform - Adds the
Pirate Brethren Government Reform - Changes Succession Law to
Pirate Elective - change_religion_for_ruler_and_family: Country: Target country · Religion: RootReligionNot shown in the game's tooltipTarget country↗IfRulerOwner: Target countryThen
- HeirIfOwner: Target countryThenConverts to the RootReligion Religion
- Ruler
- If
- At least one of
- Is NOT a Religious Figure
- Religious Figure: NotCardinal
- Owner: Not
Catholicism › Religious head
ThenConverts to the RootReligion Religion - Every descendantwhere
- Owner: Target country
- At least one of
- Is NOT a Religious Figure
- Religious Figure: NotCardinal
- Owner: Not
Catholicism › Religious head
Converts to the RootReligion Religion - Every spousewhere
- Owner: Target country
- At least one of
- Is NOT a Religious Figure
- Religious Figure: NotCardinal
- Owner: Not
Catholicism › Religious head - IfTarget countryHeir existsThenThis: NotTarget countryHeir
Converts to the RootReligion Religion
- Heir
- create_wokou_nation
- Add to global variable list
- Name:
wokou_nation_list - Target: This
- Name:
- Capital
- While
- Count: 5
- Create sub unit of category:
sub_unit_category:navy_galley
- Gains +1
Pirate Stronghold - Gains +1
Pirate Haven
- While
- Add gold
- Add sailors
- Add to global variable list
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$era_specific_trigger$
Grants 3
Government Reforms
Pirate BrethrenScope:target country
Government Types
RepublicScope:target country
Heir Selections
Pirate ElectiveScope:target country
Used by 2
A Band of Piratesera_specific_trigger = land_viable_for_early_wokouAs soon as it happens
Family Turns to Piracyera_specific_trigger = land_viable_for_latter_wokouAs soon as it happens
Scripting 4
Uses 4
Scripted Effects
- change_religion_for_ruler_and_familycountry = scope:target_country · religion = ROOT.religionScope:target country
- create_wokou_nationScope:target country
- unlock_government_reform_effecttype = pirate_brethren_reformScope:target country
Scripted Triggers
- can_spawn_wokou_nation_hereContinent:asia
random_location_in_continent = {
save_scope_as = target_location
}
}