# Author(s): Angriest Bird leader_traits = { ################################## # operative traits ################################## operative_commando = { type = operative trait_type = basic_trait new_commander_weight = { base = 1 modifier = { set_temp_variable = { trait_chance = FROM.modifier@commando_trait_chance_factor } add_to_temp_variable = { var = trait_chance value = 1 } factor = trait_chance } modifier = { factor = 0.2 FROM = { NOT = { has_done_agency_upgrade = upgrade_commando_training } } } } cost = 600 gain_xp_leader = { ROOT = { has_done_agency_upgrade = upgrade_commando_training } } modifier = { own_operative_detection_chance_factor = -0.1 target_sabotage_factor = 0.25 target_sabotage_risk = -0.25 operation_capture_cipher_outcome = 0.25 operation_capture_cipher_risk = -0.25 } } operative_seducer = { type = operative trait_type = personality_trait modifier = { operation_infiltrate_outcome = 0.25 operation_infiltrate_risk = -0.25 own_operative_detection_chance_factor = -0.2 } } operative_infiltrator = { type = operative trait_type = basic_trait new_commander_weight = { factor = 0.5 } cost = 400 # the following operative_leader_operation are not an operative gain_xp_leader = { OR = { operative_leader_operation = operation_rescue_operative operative_leader_operation = operation_infiltrate_civilian operative_leader_operation = operation_infiltrate_armed_forces_army operative_leader_operation = operation_infiltrate_armed_forces_navy operative_leader_operation = operation_infiltrate_armed_forces_airforce operative_leader_operation = operation_make_resistance_contacts } } modifier = { operation_infiltrate_outcome = 0.25 operation_infiltrate_risk = -0.25 } } operative_master_interrogator = { type = operative trait_type = basic_trait #new_commander_weight = { #} # the following 2 are not operative_leader_mission cost = 400 gain_xp_leader = { OR = { operative_leader_mission = root_out_resistance operative_leader_mission = counter_intelligence } } modifier = { intelligence_agency_defense = 0.2 } } #TALLeis - taken from the R56 mod operative_linguist = { type = operative trait_type = basic_trait new_commander_weight = { base = 1 } cost = 400 # no_mission is NOT an operative error gain_xp_leader = { NOT = { operative_leader_mission = no_mission } NOT = { has_nationality = FROM } } modifier = { # something good } } operative_double_agent = { type = operative trait_type = personality_trait new_commander_weight = { factor = 0 # only from events } modifier = { own_operative_capture_chance_factor = -0.2 intel_network_gain_factor = 0.15 } } operative_tough = { type = operative trait_type = personality_trait #new_commander_weight = { #} modifier = { enemy_operative_intel_extraction_rate = -0.5 } } operative_safe_cracker = { type = operative trait_type = personality_trait new_commander_weight = { factor = 0.5 } modifier = { operation_capture_cipher_outcome = 0.25 operation_steal_tech_risk = -0.25 operation_steal_tech_outcome = 0.25 } } operative_well_groomed = { type = operative trait_type = basic_trait #new_commander_weight = { #} cost = 400 gain_xp_leader = { OR = { operative_leader_mission = diplomatic_pressure operative_leader_mission = control_trade } } modifier = { control_trade_mission_factor = 0.2 diplomatic_pressure_mission_factor = 0.2 } } operative_natural_orator = { type = operative trait_type = basic_trait gain_xp_leader = { OR = { operative_leader_mission = propaganda # THIS IS NOT AN OPERATIVE_LEADER_MISSION operative_leader_mission = boost_ideology } } cost = 400 modifier = { own_operative_capture_chance_factor = -0.2 boost_ideology_mission_factor = 0.2 } } operative_escape_artist = { type = operative trait_type = basic_trait #gained through script when successfully executing an escape operation modifier = { operation_rescue_operative_risk = -0.1 operation_rescue_operative_cost = -0.1 } } operative_demolition_expert = { type = operative trait_type = basic_trait cost = 400 gain_xp_leader = { OR = { operative_leader_operation = operation_targeted_sabotage_industry operative_leader_operation = operation_targeted_sabotage_infrastructure operative_leader_operation = operation_targeted_sabotage_resources } } modifier = { target_sabotage_factor = 0.25 target_sabotage_cost = -0.25 boost_resistance_factor = 0.25 } } #New Operatives operative_revolutionary = { type = operative trait_type = personality_trait #new_commander_weight = { #} modifier = { boost_ideology_mission_factor = 0.25 target_sabotage_factor = 0.15 target_sabotage_cost = -0.15 operation_collaboration_government_outcome = 0.25 } } operative_scientist = { type = operative trait_type = personality_trait new_commander_weight = { factor = 0.5 } modifier = { operation_capture_cipher_risk = -0.15 operation_capture_cipher_outcome = 0.15 operation_steal_tech_risk = -0.15 operation_steal_tech_outcome = 0.15 } } operative_insurgent = { type = operative trait_type = basic_trait #new_commander_weight = { #} modifier = { operation_boost_resistance_risk = -0.15 operation_boost_resistance_outcome = 0.15 operation_make_resistance_contacts_risk = -0.15 operation_make_resistance_contacts_cost = -0.15 target_sabotage_factor = 0.15 } cost = 400 gain_xp_leader = { OR = { operative_leader_operation = operation_targeted_sabotage_industry operative_leader_operation = operation_targeted_sabotage_infrastructure operative_leader_operation = operation_targeted_sabotage_resources operative_leader_operation = operation_make_resistance_contacts operative_leader_operation = operation_coup_government } } } operative_web_of_lies = { type = operative trait_type = basic_trait modifier = { intel_network_gain_factor = 0.3 } cost = 800 gain_xp_leader = { OR = { operative_leader_operation = operation_infiltrate_civilian operative_leader_operation = operation_infiltrate_armed_forces_army operative_leader_operation = operation_infiltrate_armed_forces_navy operative_leader_operation = operation_infiltrate_armed_forces_airforce operative_leader_operation = operation_fake_intel operative_leader_mission = build_intel_network } } } operative_spyhunter = { type = operative trait_type = basic_trait new_commander_weight = { factor = 0.5 } modifier = { enemy_operative_capture_chance_factor = 0.10 enemy_operative_detection_chance_factor = 0.10 enemy_intel_network_gain_factor_over_occupied_tag = -0.10 } cost = 800 gain_xp_leader = { OR = { operative_leader_mission = root_out_resistance operative_leader_mission = counter_intelligence } } } }