EventChanged this version
Privateer Defects

The captain of the Target Navy fleet, Target Character, has made quite a name for himself/herself in the service of the Target Country Adjective Navy. The payment he/she has been receiving for his/her ventures, however, is much less than the full value of the ventures themselves.
Like many savvy captains, he/she has realized that he/she could make a greater profit by turning pirate. he/she has tossed his/her letter of marque overboard and charted a course for our coasts. As a pirate of the Country, he/she will be free to plunder to his/her heart's content and keep the spoils he/she has rightfully stolen.
Definitionin_game/events/pirate_events.txt:323
324type = country_event
325title = pirate_events.7.title Privateer Defects
326desc = pirate_events.7.desc The captain of the Target Navy fleet, Target Character, has made quite a name for himself/herself in the service of the Target Country Adjective Navy. The payment he/she has been receiving for his/her ventures, however, is much less than the full value of the ventures themselves.
Like many savvy captains, he/she has realized that he/she could make a greater profit by turning pirate. he/she has tossed his/her letter of marque overboard and charted a course for our coasts. As a pirate of the Country, he/she will be free to plunder to his/her heart's content and keep the spoils he/she has rightfully stolen.
Like many savvy captains, he/she has realized that he/she could make a greater profit by turning pirate. he/she has tossed his/her letter of marque overboard and charted a course for our coasts. As a pirate of the Country, he/she will be free to plunder to his/her heart's content and keep the spoils he/she has rightfully stolen.
327outcome = neutral
328trigger = {
329has_reform = government_reform:pirate_brethren_reform
331any_neighbor_country = {
332at_war = no
333NOT = {
333is_subject_of = root
}
335has_ports = yes
336any_unit = {
337has_commander = yes
338leader = {
339is_ruler = no
340is_regent = no
341is_consort = no
342is_heir = no
}
344is_navy = yes
}
}
}
349image = "gfx/interface/illustrations/situation/golden_age_of_piracy.dds"
351major = yes
353major_trigger = {
354this = scope:target_country
}
357immediate = {
358random_neighbor_country = {
359limit = {
360at_war = no
361NOT = {
361is_subject_of = root
}
363has_ports = yes
364any_unit = {
365has_commander = yes
366leader = {
367is_ruler = no
368is_regent = no
369is_consort = no
370is_heir = no
}
372is_navy = yes
}
}
375save_scope_as = target_country
376random_unit = {
377limit = {
378has_commander = yes
379leader = {
380is_ruler = no
381is_regent = no
382is_consort = no
383is_heir = no
}
385is_navy = yes
}
387save_scope_as = target_navy
388leader = {
388save_scope_as = target_character
}
}
}
}