Professional Documents
Culture Documents
days = 35
network_strength = 30
operatives = 1
visible = {
network_national_coverage = {
target = FROM
value > 0
}
FROM = {
has_captured_operative = ROOT
}
}
available = {
equipment = {
}
risk_chance = 0.1
experience = 2
cost_multiplier = 0 # we dont scale in cost for rescues
outcome_execute = { # SCOPE_OPERATION
ROOT = {
free_random_operative = {
captured_by = FROM
all = yes
}
}
ROOT = {
hidden_effect = {
set_country_flag = just_freed_operative_flag
}
}
}
outcome_potential = {
ROOT = {
free_random_operative = {
captured_by = FROM
all = yes
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = {
free_operative_free_in_transit = { base = 33 }
free_operative_liberate_camp = { base = 33 }
free_operative_smuggle_in_escape_gear = { base = 33 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 90
network_strength = 35
operatives = 2
visible = {
network_national_coverage = {
target = FROM
value > 0
}
NOT = {
has_operation_token = {
tag = FROM
token = token_civilian
}
}
}
equipment = {
available = {
#NOT = {
#has_operation_token = {
# tag = FROM
# token = token_civilian
#}
#}
}
awarded_tokens = {
token_civilian
}
risk_chance = 0.1
outcome_extra_chance = 0.25
risk_modifiers = { operation_infiltrate_risk operation_risk }
outcome_modifiers = { operation_infiltrate_outcome operation_outcome }
cost_modifiers = { operation_infiltrate_cost operation_cost }
outcome_execute = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_civilian
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_civilian
}
add_political_power = 25
add_intel = {
target = FROM
civilian_intel = 10
}
}
}
67 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_civilian
}
add_political_power = 25
}
}
}
}
outcome_potential = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_civilian
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = { #infiltrate military
infiltrate_military_bribe = { base = 25 }
infiltrate_military_seduction = { base = 25 }
infiltrate_military_ideological_supporter = {
base = 25
modifier = {
FROM = { has_government = ROOT }
factor = 0
}
}
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 60
network_strength = 40
operatives = 2
visible = {
network_national_coverage = {
target = FROM
value > 0
}
FROM = {
has_war_with = ROOT
}
}
scale_cost_independent_of_target = yes
available = {
ROOT = {
# check if we have at most x2.5 amount units we will generate
set_temp_variable = { num_max_fake_intel_unit = num_armies }
multiply_temp_variable = { num_max_fake_intel_unit = 0.25 }
round_temp_variable = num_max_fake_intel_unit
add_to_temp_variable = { num_max_fake_intel_unit = 1 }
clamp_temp_variable = {
var = num_max_fake_intel_unit
min = 24
}
multiply_temp_variable = { num_max_fake_intel_unit = 2.5 }
round_temp_variable = num_max_fake_intel_unit
num_fake_intel_divisions < num_max_fake_intel_unit
equipment = {
required_tokens = {
}
risk_chance = 0 #there shouldn't be any risk
experience = 0.5
outcome_execute = { # SCOPE_OPERATION
ROOT = {
hidden_effect = {
if = {
# create template if not exist
limit = {
not = {
has_country_flag =
fake_intel_template_created
}
}
division_template = {
name = "Fake Intel Division"
is_fake_intel_division = yes
is_locked = yes
regiments = {
fake_intel_unit = { x = 0 y = 0 }
}
}
set_country_flag = fake_intel_template_created
}
outcome_potential = {
custom_effect_tooltip = CUSTOM_EFFECT_CREATE_FAKE_ARMIES
}
days = 75
network_strength = 40
operatives = 2
visible = {
network_strength = {
target = FROM
value > 25
}
has_tech = mechanical_computing
has_done_agency_upgrade = upgrade_form_department
NOT = {
ROOT = { is_fully_decrypted = FROM }
}
}
equipment = {
}
risk_chance = 0.2
outcome_extra_chance = 0.25
outcome_execute = {
ROOT = {
add_decryption = {
target = FROM
ratio = 0.3
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
add_decryption = {
target = FROM
ratio = 0.5
}
random_list = {
25 = {
add_intel = {
target = FROM
civilian_intel = 10
}
}
25 = {
add_intel = {
target = FROM
army_intel = 10
}
}
25 = {
add_intel = {
target = FROM
navy_intel = 10
}
}
25 = {
add_intel = {
target = FROM
airforce_intel = 10
}
}
}
}
}
67 = {
ROOT = {
add_decryption = {
target = FROM
ratio = 0.5
}
}
}
}
}
outcome_potential = {
ROOT = {
add_decryption = {
target = FROM
ratio = 0.3
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = { #capturing cyphers
capture_cyphers_bribe = { base = 20 }
capture_cyphers_raid = {
base = 20
modifier = {
ROOT = { has_war = no }
factor = 0
}
}
capture_cyphers_seduction = { base = 20 }
capture_cyphers_smuggle = { base = 20 }
capture_cyphers_reverse_engineer = { base = 20 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 75
network_strength = 50
operatives = 2
visible = {
network_national_coverage = {
target = FROM
value > 0
}
NOT = {
has_operation_token = {
tag = FROM
token = token_army
}
}
}
equipment = {
available = {
#NOT = {
# has_operation_token = {
# tag = FROM
# token = token_army
# }
#}
}
awarded_tokens = {
token_army
}
risk_chance = 0.1
risk_modifiers = { operation_infiltrate_risk operation_risk }
outcome_extra_chance = 0.25
outcome_modifiers = { operation_infiltrate_outcome operation_outcome }
cost_modifiers = { operation_infiltrate_cost operation_cost }
outcome_execute = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_army
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_army
}
army_experience = 10
add_intel = {
target = FROM
army_intel = 10
}
}
}
67 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_army
}
army_experience = 10
}
}
}
}
outcome_potential = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_army
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = { #infiltrate military
infiltrate_military_bribe = { base = 25 }
infiltrate_military_seduction = { base = 25 }
infiltrate_military_turned_pow = {
base = 25
modifier = {
FROM = { has_war = no }
factor = 0
}
}
infiltrate_military_ideological_supporter = {
base = 25
modifier = {
FROM = { has_government = ROOT }
factor = 0
}
}
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
visible = {
network_national_coverage = {
target = FROM
value > 0
}
NOT = {
has_operation_token = {
tag = FROM
token = token_navy
}
}
FROM = {
any_owned_state = {
is_coastal = yes
}
}
}
equipment = {
available = {
#NOT = {
# has_operation_token = {
# tag = FROM
# token = token_navy
# }
#}
#FROM = {
# any_owned_state = {
# is_coastal = yes
# }
#}
}
awarded_tokens = {
token_navy
}
risk_chance = 0.1
outcome_extra_chance = 0.25
risk_modifiers = { operation_infiltrate_risk operation_risk }
outcome_modifiers = { operation_infiltrate_outcome operation_outcome }
cost_modifiers = { operation_infiltrate_cost operation_cost }
outcome_execute = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_navy
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_navy
}
navy_experience = 10
add_intel = {
target = FROM
navy_intel = 10
}
}
}
67 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_navy
}
navy_experience = 10
}
}
}
}
outcome_potential = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_navy
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = { #infiltrate military
infiltrate_military_bribe = { base = 25 }
infiltrate_military_seduction = { base = 25 }
infiltrate_military_turned_pow = {
base = 25
modifier = {
FROM = { has_war = no }
factor = 0
}
}
infiltrate_military_ideological_supporter = {
base = 25
modifier = {
FROM = { has_government = ROOT }
factor = 0
}
}
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 75
network_strength = 50
operatives = 2
visible = {
network_national_coverage = {
target = FROM
value > 0
}
NOT = {
has_operation_token = {
tag = FROM
token = token_airforce
}
}
}
equipment = {
}
available = {
#NOT = {
# has_operation_token = {
# tag = FROM
# token = token_airforce
# }
#}
}
awarded_tokens = {
token_airforce
}
risk_chance = 0.1
outcome_extra_chance = 0.25
risk_modifiers = { operation_infiltrate_risk operation_risk }
outcome_modifiers = { operation_infiltrate_outcome operation_outcome }
cost_modifiers = { operation_infiltrate_cost operation_cost }
outcome_execute = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_airforce
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_airforce
}
air_experience = 10
add_intel = {
target = FROM
airforce_intel = 10
}
}
}
67 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_airforce
}
air_experience = 10
}
}
}
}
outcome_potential = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_airforce
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = { #infiltrate military
infiltrate_military_bribe = { base = 25 }
infiltrate_military_seduction = { base = 25 }
infiltrate_military_turned_pow = {
base = 25
modifier = {
FROM = { has_war = no }
factor = 0
}
}
infiltrate_military_ideological_supporter = {
base = 25
modifier = {
FROM = { has_government = ROOT }
factor = 0
}
}
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 180
network_strength = 70
operatives = 2
visible = {
network_strength = {
target = FROM
value > 35
}
NOT = { has_completed_focus = SPR_regional_defense_council_of_aragon }
}
equipment = {
infantry_equipment = 12000
}
# Cannot spawn a civil war in the capital
selection_target_state = {
is_capital = no
}
selection_target = {
targets = { FROM }
}
allowed = {
NOT = {
has_game_rule = {
rule = allow_coups
option = BLOCKED
}
}
}
available = {
FROM = {
has_civil_war = no
NOT = {
has_government = var:PREV.ROOT.current_party_ideology_group
}
if = {
limit = {
PREV.ROOT = { has_government = fascism }
}
fascism > 0.2
}
if = {
limit = {
PREV.ROOT = { has_government = communism }
}
communism > 0.2
}
if = {
limit = {
PREV.ROOT = { has_government = democratic }
}
democratic > 0.2
}
if = {
limit = {
PREV.ROOT = { has_government = neutrality }
}
neutrality > 0.2
}
#set_temp_variable = { coup_ideology@ROOT =
PREV.ROOT.current_party_ideology_group }
#set_temp_variable = { coup_ideology_popularity@ROOT =
party_popularity@ROOT.coup_ideology }
#check_variable = { ROOT.coup_ideology_popularity > 0.2 }
OR = {
AND = {
is_major = no
has_war = no
has_stability < 0.7 #majors are harder to coup
}
AND = {
has_war = no
has_stability < 0.5
}
has_stability < 0.35 #can always coup at low stability
}
}
OR = {
has_game_rule = {
rule = allow_coups
option = FREE
}
AND = {
has_game_rule = {
rule = allow_coups
option = AI_ONLY
}
FROM = {
is_ai = yes
}
}
}
}
on_start = { #SCOPE_OPERATION
FROM = {
set_variable = { coup_operation_party@ROOT =
PREV.ROOT.current_party_ideology_group }
}
}
risk_chance = 0.3
experience = 2.5
cost_modifiers = { operation_coup_cost }
outcome_execute = { # SCOPE_OPERATION
FROM = {
if = {
limit = {
controls_state = FROM.FROM
}
set_temp_variable = { coup_civil_war_capital = FROM.FROM }
}
else = {
random_controlled_state = {
FROM = { set_temp_variable = { coup_civil_war_capital
= PREV } }
}
}
}
}
add_to_temp_variable = { civil_war_navy_fraction = 0.15 }
}
# Clear State
clear_variable = coup_operation_party@ROOT
hidden_effect = {
ROOT = {
every_operative = {
if = {
limit = {
has_trait = operative_seducer
}
ROOT = { set_country_flag =
achievement_seducer_spy }
}
}
add_to_variable = {
var = total_coups
value = 1
}
}
}
}
}
outcome_potential = {
FROM = {
if = {
limit = {
has_variable = coup_operation_party@ROOT
}
start_civil_war = {
ideology = var:civil_war_party
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = { lar_fra_coup_pre_position_units = { base = 100 } }
phases = { lar_fra_launch_coup = { base = 100 } }
}
cost_multiplier = 0.25
days = 50
network_strength = 35
operatives = 2
visible = {
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
selection_target = {
targets = { FROM }
}
selection_target_state = {
has_resistance = yes
}
equipment = {
required_tokens = {
token_resistance_contacts
}
risk_chance = 0.2
experience = 1.5
outcome_extra_chance = 0.25
outcome_modifiers = { boost_resistance_factor }
outcome_execute = {
FROM.FROM = {
add_resistance_target = {
amount = 10
tooltip = intelligency_agency_resistance_boost_tt
}
subtract_from_variable = { boost_resistance_chance = 10 }
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = { #critical success
FROM.FROM = {
add_resistance_target = {
amount = 20
tooltip =
intelligency_agency_resistance_boost_tt
}
subtract_from_variable = { boost_resistance_chance =
10 }
}
FROM.FROM = {
add_compliance = -10
}
}
67 = { #normal success
FROM.FROM = {
add_resistance_target = {
amount = 20
tooltip =
intelligency_agency_resistance_boost_tt
}
subtract_from_variable = { boost_resistance_chance =
10 }
}
}
}
}
outcome_potential = {
FROM.FROM = {
add_resistance_target = {
amount = 10
tooltip = intelligency_agency_resistance_boost_tt
}
}
}
target_weight = {
base = 100
modifier = {
add = boost_resistance_chance
}
modifier = {
set_temp_variable = { t = distance_to@ROOT.capital }
divide_temp_variable = { t = 600 }
clamp_temp_variable = { var = t min = 0 max = 1 }
multiply_temp_variable = { t = -40 }
add = t
}
}
phases = { #infiltration
infiltration_border = { base = 50 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
}
}
phases = { #resistance support
resistance_support_arms_depots = { base = 25 }
resistance_support_distribute_weapons = { base = 25 }
resistance_support_organize_training = { base = 25 }
resistance_support_coordinate_groups = {
base = 25
modifier = {
FROM.FROM = {
resistance < 40
}
factor = 30
}
}
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 60
network_strength = 40
operatives = 2
visible = {
network_national_coverage = {
target = FROM
value > 0
}
FROM = {
any_controlled_state = {
has_resistance = yes
}
}
NOT = {
has_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
FROM = {
any_controlled_state = {
has_resistance = yes
}
}
}
equipment = {
selection_target = {
targets = { FROM }
}
selection_target_state = {
has_resistance = yes
}
available = {
#NOT = {
# has_operation_token = {
# tag = FROM
# token = token_resistance_contacts
# }
#}
#
#FROM = {
# any_controlled_state = {
# has_resistance = yes
# }
#}
}
awarded_tokens = {
token_resistance_contacts
}
risk_chance = 0.1
outcome_extra_chance = 0.25
risk_modifiers = { operation_infiltrate_risk operation_risk }
outcome_modifiers = { operation_infiltrate_outcome operation_outcome }
cost_modifiers = { operation_infiltrate_cost operation_cost }
outcome_execute = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
FROM.FROM = {
add_resistance_target = {
amount = 10
tooltip =
intelligency_agency_resistance_boost_tt
days = 180
}
subtract_from_variable = { boost_resistance_chance =
10 }
}
}
67 = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
FROM.FROM = {
add_resistance_target = {
amount = 10
tooltip =
intelligency_agency_resistance_boost_tt
days = 60
}
subtract_from_variable = { boost_resistance_chance =
10 }
}
}
}
}
outcome_potential = {
ROOT = {
add_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
}
target_weight = {
base = 100
modifier = {
add = boost_resistance_chance
}
modifier = {
set_temp_variable = { t = distance_to@ROOT.capital }
divide_temp_variable = { t = 600 }
clamp_temp_variable = { var = t min = 0 max = 1 }
multiply_temp_variable = { t = -40 }
add = t
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
}
phases = { #resistance contacts
resistance_contacts_radio_circuits = { base = 33 }
resistance_support_pidgeons = { base = 33 }
resistance_contacts_briefings = { base = 33 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 90
network_strength = 50
operatives = 2
cost_multiplier = 0.25
visible = {
network_strength = {
target = FROM
value > 25
}
}
equipment = {
support_equipment = 200
infantry_equipment = 1000
civilian_factories = {
amount = 10
days = 60
}
}
allowed = {
has_rule = can_create_collaboration_government
}
available = {
has_collaboration = {
target = FROM
value < 1.0
}
}
risk_chance = 0.1
experience = 1.5
outcome_extra_chance = 0.33
outcome_execute = { # SCOPE_OPERATION
ROOT = {
add_collaboration = {
target = FROM
value = 0.3
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
ROOT = {
add_collaboration = {
target = FROM
value = 0.45
}
}
}
outcome_potential = {
ROOT = {
add_collaboration = {
target = FROM
value = 0.3
}
}
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = {
collaboration_government_set_up_planning_committees = { base = 33 }
collaboration_government_train_paramilitary_forces = { base = 33 }
collaboration_government_contact_military_officers = { base = 33 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 3
network_strength = 70
operatives = 2
visible = {
network_strength = {
target = FROM
value > 35
}
NOT = {
has_war_with = FROM
}
}
equipment = {
civilian_factories = {
amount = 15
days = 5
}
}
available = {
NOT = {
has_war_with = FROM
}
has_wargoal_against = FROM
can_declare_war_on = FROM
}
target_type = strategic_region
selection_target = {
targets = { FROM }
}
execute_operation_coordinated_strike = {
# Amount determines how often the mission simulation is run
amount = 12 #1 attack per 6 hours --> 12 attacks = 3 days
}
}
outcome_potential = {
custom_effect_tooltip = coordinated_strike_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
}
}
phases = { #preparing
coordinated_strike_scout_target = { base = 50 }
coordinate_strike_mark_targets = { base = 50 }
}
phases = { #execution
coordinated_strike_sabotage_communications = { base = 34 }
coordinated_strike_direct_units = { base = 34 }
coordinated_strike_occupy_bridges = {
base = 34
modifier = {
NOT = {
FROM = {
any_neighbor_country = {
tag = ROOT #no land connection between
FROM and ROOT
}
}
}
factor = 0
}
}
}
}
days = 120
network_strength = 35
operatives = 3
cost_multiplier = 0.05
visible = {
num_of_operatives > 0
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_civilian
}
}
equipment = {
required_tokens = {
token_civilian
}
risk_chance = 0.2
experience = 2
outcome_extra_chance = 0.25
risk_modifiers = { operation_steal_tech_risk operation_risk }
outcome_modifiers = { operation_steal_tech_outcome operation_outcome }
cost_modifiers = { operation_cost }
outcome_execute = {
ROOT = {
steal_random_tech_bonus = {
folder = electronics_folder
folder = industry_folder
bonus = 3.0
name = operation_steal_tech_civilian
target = FROM
dynamic = yes
instant = yes
uses = 1
}
remove_operation_token = {
tag = FROM
token = token_civilian
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
steal_random_tech_bonus = {
folder = electronics_folder
folder = industry_folder
bonus = 3.0
ahead_reduction = 2
dynamic = yes
instant = yes
name = operation_steal_tech_civilian
target = FROM
uses = 1
}
}
}
67 = {
ROOT = {
steal_random_tech_bonus = {
folder = electronics_folder
folder = industry_folder
bonus = 3.0
ahead_reduction = 1
dynamic = yes
instant = yes
name = operation_steal_tech_civilian
target = FROM
uses = 1
}
}
}
}
}
outcome_potential = {
ROOT = {
steal_random_tech_bonus = {
folder = electronics_folder
folder = industry_folder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_civilian
target = FROM
uses = 1
}
}
custom_effect_tooltip = operation_outcome_consumes_token_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = { #blueprint theft
steal_blueprints_bribe = { base = 40 }
steal_blueprints_seduction = { base = 40 }
steal_blueprints_middle_manager = { base = 20 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 90
network_strength = 35
operatives = 3
visible = {
num_of_operatives > 1
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
requirements = {
FROM = {
any_controlled_state = {
has_resistance = yes
}
}
}
selection_target = {
targets = { FROM }
}
selection_target_state = {
has_resistance = yes
}
required_tokens = { token_resistance_contacts }
equipment = {
risk_chance = 0.2
experience = 2
outcome_extra_chance = 0.25
outcome_modifiers = { target_sabotage_factor operation_risk }
risk_modifiers = { target_sabotage_risk operation_outcome }
cost_modifiers = { target_sabotage_cost operation_cost }
outcome_execute = {
FROM.FROM = {
add_to_variable = {
var = targeted_sabotage_industry
value = 5
}
custom_effect_tooltip = targeted_sabotage_industry_2_tt
}
ROOT = {
remove_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
FROM.FROM = {
add_to_variable = {
var = targeted_sabotage_industry
value = 8
}
custom_effect_tooltip = targeted_sabotage_industry_3_tt
}
}
outcome_potential = {
custom_effect_tooltip = operation_outcome_sabotage_industry_tt
custom_effect_tooltip = operation_outcome_consumes_token_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = { #exfiltration
targeted_sabotage_plant_explosives = { base = 90 }
targeted_sabotage_organize_more_meetings = { base = 10 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 90
network_strength = 35
operatives = 3
visible = {
num_of_operatives > 1
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
requirements = {
FROM = {
any_controlled_state = {
has_resistance = yes
}
}
}
selection_target_state = {
has_resistance = yes
}
selection_target = {
targets = { FROM }
}
required_tokens = { token_resistance_contacts }
equipment = {
}
risk_chance = 0.2
experience = 2
outcome_extra_chance = 0.25
outcome_modifiers = { target_sabotage_factor operation_risk }
risk_modifiers = { target_sabotage_risk operation_outcome }
cost_modifiers = { target_sabotage_cost operation_cost }
outcome_execute = {
FROM.FROM = {
add_to_variable = {
var = targeted_sabotage_infrastructure
value = 5
}
custom_effect_tooltip = targeted_sabotage_infrastructure_2_tt
}
ROOT = {
remove_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
FROM.FROM = {
add_to_variable = {
var = targeted_sabotage_infrastructure
value = 8
}
custom_effect_tooltip = targeted_sabotage_infrastructure_3_tt
}
}
outcome_potential = {
custom_effect_tooltip = operation_outcome_sabotage_infrastructure_tt
custom_effect_tooltip = operation_outcome_consumes_token_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = {
targeted_sabotage_destroy_bridge = { base = 25 }
targeted_sabotage_collapse_tunnel = { base = 25 }
targeted_sabotage_remove_roadsigns = { base = 25 }
targeted_sabotage_immobilize_rolling_stock = { base = 25 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 90
network_strength = 35
operatives = 3
visible = {
num_of_operatives > 1
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
requirements = {
FROM = {
any_controlled_state = {
has_resistance = yes
}
}
}
selection_target_state = {
has_resistance = yes
}
selection_target = {
targets = { FROM }
}
required_tokens = { token_resistance_contacts }
equipment = {
}
risk_chance = 0.2
experience = 2
outcome_extra_chance = 0.25
outcome_modifiers = { target_sabotage_factor operation_outcome }
risk_modifiers = { target_sabotage_risk operation_risk }
cost_modifiers = { target_sabotage_cost operation_cost }
outcome_execute = {
FROM.FROM = {
add_to_variable = {
var = targeted_sabotage_resources
value = 5
}
custom_effect_tooltip = targeted_sabotage_resources_2_tt
}
ROOT = {
remove_operation_token = {
tag = FROM
token = token_resistance_contacts
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
FROM.FROM = {
add_to_variable = {
var = targeted_sabotage_resources
value = 8
}
custom_effect_tooltip = targeted_sabotage_resources_2_tt
}
}
outcome_potential = {
custom_effect_tooltip = operation_outcome_sabotage_resources_tt
custom_effect_tooltip = operation_outcome_consumes_token_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = {
targeted_sabotage_burn_storage = { base = 50 }
targeted_sabotage_destroy_mining_equipment = { base = 50 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 120
network_strength = 50
operatives = 3
cost_multiplier = 0.05
visible = {
num_of_operatives > 1
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_army
}
}
equipment = {
required_tokens = {
token_army
}
risk_chance = 0.2
experience = 2
risk_modifiers = { operation_steal_tech_risk operation_risk }
outcome_extra_chance = 0.25
outcome_modifiers = { operation_steal_tech_outcome operation_outcome }
cost_modifiers = { operation_cost }
outcome_execute = {
ROOT = {
steal_random_tech_bonus = {
folder = armour_folder
folder = artillery_folder
folder = infantry_folder
folder = support_folder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_army
target = FROM
uses = 1
}
remove_operation_token = {
tag = FROM
token = token_army
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
steal_random_tech_bonus = {
folder = armour_folder
folder = artillery_folder
folder = infantry_folder
folder = support_folder
bonus = 3.0
ahead_reduction = 2
dynamic = yes
instant = yes
name = operation_steal_tech_army
target = FROM
uses = 1
}
}
}
67 = {
ROOT = {
steal_random_tech_bonus = {
folder = armour_folder
folder = artillery_folder
folder = infantry_folder
folder = support_folder
bonus = 3.0
dynamic = yes
instant = yes
ahead_reduction = 1
name = operation_steal_tech_army
target = FROM
uses = 1
}
}
}
}
}
outcome_potential = {
ROOT = {
steal_random_tech_bonus = {
folder = armour_folder
folder = artillery_folder
folder = infantry_folder
folder = support_folder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_army
target = FROM
uses = 1
}
}
custom_effect_tooltip = operation_outcome_consumes_token_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = { #blueprint theft
steal_blueprints_bribe = { base = 50 }
steal_blueprints_seduction = { base = 50 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 120
network_strength = 50
operatives = 3
cost_multiplier = 0.05
visible = {
num_of_operatives > 1
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_navy
}
}
equipment = {
required_tokens = {
token_navy
}
risk_chance = 0.2
experience = 2
outcome_extra_chance = 0.25
risk_modifiers = { operation_steal_tech_risk operation_risk }
outcome_modifiers = { operation_steal_tech_outcome operation_outcome }
cost_modifiers = { operation_cost }
outcome_execute = {
if = {
limit = { has_dlc = "Man the Guns"}
ROOT = {
steal_random_tech_bonus = {
folder = mtgnavalfolder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_navy
target = FROM
uses = 1
}
remove_operation_token = {
tag = FROM
token = token_navy
}
}
}
else = {
ROOT = {
steal_random_tech_bonus = {
folder = naval_folder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_navy
target = FROM
uses = 1
}
remove_operation_token = {
tag = FROM
token = token_navy
}
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
if = {
limit = { has_dlc = "Man the Guns"}
ROOT = {
steal_random_tech_bonus = {
folder = mtgnavalfolder
bonus = 3.0
ahead_reduction = 2
dynamic = yes
instant = yes
name = operation_steal_tech_navy
target = FROM
uses = 1
}
}
}
else = {
ROOT = {
steal_random_tech_bonus = {
folder = naval_folder
bonus = 3.0
ahead_reduction = 2
dynamic = yes
instant = yes
name = operation_steal_tech_navy
target = FROM
uses = 1
}
}
}
}
67 = {
if = {
limit = { has_dlc = "Man the Guns"}
ROOT = {
steal_random_tech_bonus = {
folder = mtgnavalfolder
bonus = 3.0
ahead_reduction = 1
dynamic = yes
instant = yes
name = operation_steal_tech_navy
target = FROM
uses = 1
}
}
}
else = {
ROOT = {
steal_random_tech_bonus = {
folder = naval_folder
bonus = 3.0
ahead_reduction = 1
dynamic = yes
instant = yes
name = operation_steal_tech_navy
target = FROM
uses = 1
}
}
}
}
}
}
outcome_potential = {
ROOT = {
steal_random_tech_bonus = {
folder = naval_folder
folder = mtgnavalfolder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_navy
target = FROM
uses = 1
}
}
custom_effect_tooltip = operation_outcome_consumes_token_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = { #blueprint theft
steal_blueprints_bribe = { base = 40 }
steal_blueprints_seduction = { base = 40 }
steal_blueprints_infiltrate_naval_design_office = { base = 20 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}
days = 120
network_strength = 50
operatives = 3
cost_multiplier = 0.05
visible = {
num_of_operatives > 1
network_national_coverage = {
target = FROM
value > 0
}
has_operation_token = {
tag = FROM
token = token_airforce
}
}
equipment = {
required_tokens = {
token_airforce
}
risk_chance = 0.2
experience = 2
outcome_extra_chance = 0.25
risk_modifiers = { operation_steal_tech_risk operation_risk }
outcome_modifiers = { operation_steal_tech_outcome operation_outcome }
cost_modifiers = { operation_cost }
outcome_execute = {
ROOT = {
steal_random_tech_bonus = {
folder = air_techs_folder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_airforce
target = FROM
uses = 1
}
remove_operation_token = {
tag = FROM
token = token_airforce
}
}
}
outcome_extra_execute = { # SCOPE_OPERATION
random_list = {
33 = {
ROOT = {
steal_random_tech_bonus = {
folder = air_techs_folder
bonus = 3.0
ahead_reduction = 2
dynamic = yes
instant = yes
name = operation_steal_tech_airforce
target = FROM
uses = 1
}
}
}
67 = {
ROOT = {
steal_random_tech_bonus = {
folder = air_techs_folder
bonus = 3.0
ahead_reduction = 1
dynamic = yes
instant = yes
name = operation_steal_tech_airforce
target = FROM
uses = 1
}
}
}
}
}
outcome_potential = {
ROOT = {
steal_random_tech_bonus = {
folder = air_techs_folder
bonus = 3.0
dynamic = yes
instant = yes
name = operation_steal_tech_airforce
target = FROM
uses = 1
}
}
custom_effect_tooltip = operation_outcome_consumes_token_tt
}
phases = { #infiltration
infiltration_border = { base = 25 }
infiltration_submarine = { base = 25 }
infiltration_paradrop = {
base = 25
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
infiltration_diplomatic = {
base = 25
modifier = {
factor = 20
ROOT = { has_war = no }
FROM = {
has_war = no
}
}
modifier = {
FROM = {
has_war_with = ROOT
}
factor = 0
}
}
}
phases = { #blueprint theft
steal_blueprints_bribe = { base = 40 }
steal_blueprints_seduction = { base = 40 }
steal_blueprints_steal_prototype = { base = 20 }
}
phases = { #exfiltration
exfiltration_air_pickup = {
base = 15
modifier = {
ROOT = {
has_equipment = {
transport_plane_equipment < 1
}
}
factor = 0.1 #less likely if we have no transports
}
}
exfiltration_border = { base = 30 }
exfiltration_go_to_ground = { base = 30 }
exfiltration_submarine_pickup = { base = 25 }
}
}