
SituationChanged this version
Golden Age of Piracy
The wealth of the New World has attracted more than great empires to its waters — an unending tide of brigands and disgruntled sailors has also embarked, more than willing to follow the call of adventure, treasure, and freedom... even if they risk ending their escapades dangling from a noose.
AbsolutismAgecan startstrongest_pirate_variableVariableon monthlyDefinitionin_game/common/situations/golden_age_of_piracy.txt:1
3hint_tag = hint_golden_age_of_piracy
5can_start = {
7any_american_colonial_country = {
8count >= 5
}
}
14visible = {
16trigger_if = {
20navy_size_percentage >= 0.25
}
23OR = {
24AND = {
25OR = {
26has_presence_in = continent:america
27any_subject = {
27has_presence_in = continent:america
}
}
}
31country_type = navy
32has_reform = government_reform:pirate_brethren_reform
}
}
37on_start = {
38every_country = {
39limit = {
40OR = {
41country_type = navy
42AND = {
43OR = {
44has_presence_in = continent:america
45any_subject = {
45has_presence_in = continent:america
}
}
}
}
}
}
}
55on_monthly = {
56every_country_of_country_type = {
57type = navy
58limit = {
58has_reform = government_reform:pirate_brethren_reform
}
59random_list = {
6075 = {
}
}
}
78ordered_country_of_country_type = {
79type = navy
80limit = {
81has_reform = government_reform:pirate_brethren_reform
82is_subject = no
}
84order_by = navy_size
85check_range_bounds = no
86max = 1
87save_scope_as = target_pirate_country
88add_country_modifier = {
90years = -1
91desc = as_long_as_strongest_pirate_desc as long as they are the strongest pirates
92mode = replace
}
}
96if = {
97limit = {
}
}
}
109on_ended = {
111if = {
112limit = {
113any_country_of_country_type = {
114type = navy
115has_reform = government_reform:pirate_brethren_reform
116is_subject = no
}
}
119ordered_country_of_country_type = {
120type = navy
121limit = {
122has_reform = government_reform:pirate_brethren_reform
123is_subject = no
}
125order_by = navy_size
126check_range_bounds = no
127max = 1
128save_scope_as = target_pirate_country
}
130every_country = {
}
}
135else = {
136every_country = {
}
}
}
143tooltip = {
145if = {
146limit = {
147OR = {
148owner ?= {
149has_reform = government_reform:pirate_brethren_reform
}
151any_foreign_building_countries_in_location = {
152has_reform = government_reform:pirate_brethren_reform
}
}
}
156custom_tooltip = "GAOP_PIRATE_MAP_TT"
}
159else_if = {
160limit = {
161owner ?= {
162any_country_at_war_with = {
163has_reform = government_reform:pirate_brethren_reform
}
}
}
167custom_tooltip = "GAOP_WAR_WITH_PIRATE_MAP_TT"
}
170else_if = {
171limit = {
172owner ?= {
173any_related_country = {
174type = alliance
175has_reform = government_reform:pirate_brethren_reform
}
}
}
179custom_tooltip = "GAOP_SUPPORT_PIRATE_MAP_TT"
}
182else_if = {
183limit = {
184owner ?= {
185any_subject_or_below = {
186has_reform = government_reform:pirate_brethren_reform
}
}
}
190custom_tooltip = "GAOP_PIRATE_OVERLORD_MAP_TT"
}
}
194map_color = {
196if = {
197limit = {
198OR = {
199owner ?= {
200has_reform = government_reform:pirate_brethren_reform
}
202any_foreign_building_countries_in_location = {
203has_reform = government_reform:pirate_brethren_reform
}
}
}
207value = black
}
210else_if = {
211limit = {
212owner ?= {
213any_country_at_war_with = {
214has_reform = government_reform:pirate_brethren_reform
}
}
}
218value = red
}
221else_if = {
222limit = {
223owner ?= {
224any_related_country = {
225type = alliance
226has_reform = government_reform:pirate_brethren_reform
}
}
}
230value = green
}
233else_if = {
234limit = {
235owner ?= {
236any_subject_or_below = {
237has_reform = government_reform:pirate_brethren_reform
}
}
}
241value = blue
}
}
245legend_key = {
246desc = "[pirates|e]"
247color = black
248require_color_on_map = yes
}
250legend_key = {
251desc = "LEGEND_KEY_WAR_ENEMY"
252color = red
253require_color_on_map = yes
}
255legend_key = {
256desc = "IO_PARLIAMENT_VOTERS"
257color = green
258require_color_on_map = yes
}
260legend_key = {
261desc = "game_concept_subjugate"
262color = blue
263require_color_on_map = yes
}