# AUTHOR(S): DREAD # fix in future | FOR ME (OR ANYONE ELSE) TO ADD/CHANGE AT A LATER DATE, EX. ADDITIONAL CONTENT ADDED # ROOT = { has_government = democratic } # checks if negotiator is democratic # ROOT.FROM = { tag = AUS } # Checks if the taker is Austria # ROOT.FROM.FROM.FROM = { is_core_of = AUS } # Checks if the state targeted by the peace action is a core of Austria peace_ai_desires = { # PLAYER LED PEACE CONFERENCES PLPC_enabled = { peace_action_type = { take_states puppet liberate force_government } enable = { PLPC_is_on = yes OR = { any_country = { is_in_peace_conference = yes is_ai = no OR = { is_in_faction_with = ROOT has_war_together_with = ROOT } } any_enemy_country = { is_in_peace_conference = yes any_enemy_country = { is_in_peace_conference = yes is_ai = no } } } } ai_desire = -50000 } # CHAOS PEACE CONFERENCES CPC_disabled = { peace_action_type = { take_states puppet liberate force_government } enable = { has_game_rule = { rule = allow_chaotic_PC option = no } OR = { CPC_off_western = yes CPC_off_emerging = yes CPC_off_salafist = yes CPC_off_non_aligned = yes CPC_off_nationalist = yes } ROOT.FROM.FROM.FROM = { OWNER = { OR = { pc_is_puppeted_by = FROM pc_is_forced_government_by = FROM } } } } ai_desire = -10000 } # COUNTRY SPECIFIC # AFG AFG_pashto_claims = { # AFGHANISTAN SHOULD OVERRIDE TO YOINK CLAIMS IN PASHTO REGION peace_action_type = { take_states } enable = { AFG = { OR = { has_completed_focus = AFG_aggresive_foreign_policy has_government = fascism has_government = nationalist } } tag = AFG FROM = { tag = ROOT } ROOT.FROM.FROM.FROM = { is_claimed_by = AFG } } ai_desire = 500 } AFG_taliban_bad_stop_puppeting_them = { # AFGHANISTAN WILL STOP TRYING TO PUPPET TALIBAN IN PAKISTAN peace_action_type = { puppet } enable = { tag = AFG ROOT.FROM = { tag = ROOT } ROOT.FROM.FROM.FROM = { is_core_of = TAL } } ai_desire = -1000 } AFG_pakistani_puppetmaster = { # HOPING THIS RESOLVES THE PUPPETING ISSUE 2.0, AFGHANISTAN PLEASE, YOU'RE KILLIN' YOUR DA peace_action_type = { puppet } enable = { tag = AFG ROOT.FROM = { tag = ROOT } ROOT.FROM.FROM.FROM = { is_core_of = PAK } } ai_desire = 400 } # ALA - THIS IS TO STOP THE AI RELEASING THEM ALL THE DAMN TIME ALA_go_away_your_content_isnt_finished_yet = { peace_action_type = { liberate puppet } enable = { tag = ROOT ROOT.FROM = { tag = ROOT } ROOT.FROM.FROM.FROM = { is_core_of = ALA } } ai_desire = -1000 } # BLR BLR_belarusvia_annexation = { peace_action_type = { take_states } enable = { ROOT = { tag = BLR has_government = nationalist } FROM.FROM = { OR = { tag = LAT tag = LIT } is_ai = yes } ROOT.FROM.FROM.FROM = { OR = { is_core_of = LAT is_core_of = LIT } } } ai_desire = 1000 } # CHI CHI_reverse_ghengis = { peace_action_type = { take_states } enable = { ROOT = { tag = CHI has_completed_focus = CHI_OMG_mandarin_education } FROM.FROM = { tag = MON is_ai = yes } ROOT.FROM.FROM.FROM = { is_core_of = MON } } ai_desire = 1000 } CHI_puppet_siberia = { peace_action_type = { puppet } enable = { ROOT = { tag = CHI } FROM.FROM = { tag = ESB } ROOT.FROM.FROM.FROM = { is_core_of = ESB } } ai_desire = 1000 } # DRU - ANOTHER ISSUE OF THE AI LEAVING THEM GO TOO MUCH DRU_same_as_alawites_come_back_later = { peace_action_type = { liberate puppet } enable = { tag = ROOT ROOT.FROM = { tag = ROOT } ROOT.FROM.FROM.FROM = { is_core_of = DRU } } ai_desire = -1000 } # ITA ITA_cringe_roman_shit = { # AFTER TERRITORIAL CLAIMS FOCUS ITALY WILL YOINK CLAIMED STATES peace_action_type = { take_states } enable = { tag = ITA ITA = { has_completed_focus = ITA_territorial_claims } FROM = { tag = ROOT } ROOT.FROM.FROM.FROM = { is_claimed_by = ITA } } ai_desire = 500 } ITA_romanisation_go_brrrt = { # AFTER TERRITORIAL CLAIMS FOCUS ITALY WON'T PUPPET CLAIMS peace_action_type = { puppet } enable = { tag = ITA ITA = { has_completed_focus = ITA_territorial_claims } ROOT.FROM = { tag = ROOT } ROOT.FROM.FROM.FROM = { is_claimed_by = ITA } } ai_desire = -1000 } # IRQ IRQ_isntreal = { enable = { ROOT = { tag = IRQ OR = { has_completed_focus = IRQ_liberation_of_the_quds has_completed_focus = IRQ_the_clock_hits_midnight } } ROOT.FROM = { pc_is_liberated = yes tag = PAL } ROOT.FROM.FROM.FROM = { is_core_of = PAL } } ai_desire = 1000 } IRQ_syrian_golan = { peace_action_type = { liberate } enable = { ROOT = { tag = IRQ } ROOT.FROM = { tag = SYR } ROOT.FROM.FROM.FROM = { is_core_of = SYR is_owned_by = ISR } } ai_desire = 1000 } IRQ_khuzestan_core = { peace_action_type = { take_states } enable = { ROOT = { tag = IRQ has_completed_focus = IRQ_liberate_arabs_in_khuzestan } ROOT.FROM.FROM.FROM = { state = 399 } } ai_desire = 1000 } IRQ_lions_den_SOLO = { peace_action_type = { puppet } enable = { ROOT = { tag = IRQ has_completed_focus = IRQ_king_of_the_animal_kingdom NOT = { pc_is_on_same_side_as = SAU } } FROM.FROM = { tag = PER } ROOT.FROM.FROM.FROM = { is_core_of = PER } } ai_desire = 800 } IRQ_lions_den_SAU = { peace_action_type = { take_states puppet liberate force_government } enable = { ROOT = { tag = IRQ has_completed_focus = IRQ_king_of_the_animal_kingdom pc_is_on_same_side_as = SAU } FROM.FROM = { tag = PER } ROOT.FROM.FROM.FROM = { state = 399 } } ai_desire = -1000 } IRQ_lions_den_KUR = { peace_action_type = { liberate } enable = { ROOT = { tag = IRQ } ROOT.FROM = { tag = KUR } ROOT.FROM.FROM.FROM = { is_core_of = KUR is_owned_by = PER } } ai_desire = 1000 } # KUR KUR_northern_isolation = { peace_action_type = { take_states puppet liberate force_government } enable = { NOT = { has_global_flag = IRQ_defeated_in_war } ROOT = { tag = KUR } ROOT.FROM.FROM.FROM = { is_core_of = IRQ } } ai_desire = -1000 } # LBA LBA_maintain_borders_take = { peace_action_type = { take_states } enable = { ROOT = { tag = LBA } ROOT.FROM.FROM.FROM = { LBA_was_original_state = yes } } ai_desire = 1000 } LBA_maintain_borders_dont_puppet = { peace_action_type = { puppet liberate force_government } enable = { ROOT = { tag = LBA } ROOT.FROM.FROM.FROM = { LBA_was_original_state = yes } } ai_desire = -1000 } LBA_aozou_strippin = { peace_action_type = { take_states } enable = { ROOT = { tag = LBA } ROOT.FROM.FROM.FROM = { state = 580 } } ai_desire = 1000 } LBA_jihadi_muammar = { peace_action_type = { take_states } enable = { ROOT = { tag = LBA has_government = fascism } ROOT.FROM.FROM.FROM = { LBA_salafist_claim = yes } } ai_desire = 1000 } LBA_caliphate_puppets = { peace_action_type = { puppet liberate force_government } enable = { ROOT = { tag = LBA has_government = fascism } ROOT.FROM.FROM.FROM = { LBA_salafist_claim = yes } } ai_desire = -1000 } LBA_liberate_sahrawi = { peace_action_type = { liberate } enable = { ROOT = { tag = LBA has_government = communism } ROOT.FROM.FROM.FROM = { is_core_of = SHA } } ai_desire = 1000 } LBA_liberate_tuaregs = { peace_action_type = { liberate } enable = { ROOT = { tag = LBA has_completed_focus = LBA_protect_toubou_and_tuaregs } ROOT.FROM.FROM.FROM = { is_core_of = TUA } } ai_desire = 1000 } LBA_liberate_tibesti = { peace_action_type = { liberate } enable = { ROOT = { tag = LBA has_completed_focus = LBA_protect_toubou_and_tuaregs NOT = { has_completed_focus = LBA_utilise_toubou } } ROOT.FROM.FROM.FROM = { is_core_of = TUA } } ai_desire = 1000 } LBA_gaddafi_knows_tibesti = { peace_action_type = { puppet } enable = { ROOT = { tag = LBA has_completed_focus = LBA_utilise_toubou } ROOT.FROM = { tag = TIE } ROOT.FROM.FROM.FROM = { is_core_of = TIE } } ai_desire = 1000 } LBA_dont_liberate_if_tibesti = { peace_action_type = { liberate } enable = { ROOT = { tag = LBA has_completed_focus = LBA_utilise_toubou } ROOT.FROM = { tag = TIE } ROOT.FROM.FROM.FROM = { is_core_of = TIE } } ai_desire = -1000 } LBA_isntreal = { peace_action_type = { liberate } enable = { ROOT = { tag = LBA NOT = { has_completed_focus = LBA_reconcile_with_israel } } ROOT.FROM = { pc_is_liberated = yes tag = PAL } ROOT.FROM.FROM.FROM = { is_core_of = PAL } } ai_desire = 1000 } LBA_libyastine = { peace_action_type = { take_states } enable = { ROOT = { tag = LBA has_completed_focus = LBA_claim_jerusalem_for_arabs } ROOT.FROM.FROM.FROM = { PAL_palestinian_state = yes } } ai_desire = 1000 } LBA_syrian_golan = { peace_action_type = { liberate } enable = { ROOT = { tag = LBA NOT = { has_completed_focus = LBA_reconcile_with_israel } } ROOT.FROM = { tag = SYR } ROOT.FROM.FROM.FROM = { is_core_of = SYR is_owned_by = ISR } } ai_desire = 1000 } # NIG - fix for boko haram when they get dicked NIG_boko_haram_is_haram = { peace_action_type = { puppet take_states force_government } enable = { tag = ROOT FROM.FROM = { tag = NIG has_government = fascism } ROOT.FROM.FROM.FROM = { NIG_state_was_boko_haramed = yes } } ai_desire = -10000 } NIG_liberate_the_boko_haramed = { peace_action_type = { liberate } enable = { tag = ROOT FROM.FROM = { NIG_was_boko_haramed = yes } ROOT.FROM.FROM.FROM = { NIG_state_was_boko_haramed = yes } } ai_desire = 10000 } # NOV NOV_make_novorossiya = { peace_action_type = { take_states } enable = { ROOT = { NOV_is_novorossiya_tag = yes } FROM.FROM = { tag = UKR } ROOT.FROM.FROM.FROM = { NOV_is_novorossiya_state = yes } } ai_desire = 1000 } SOV_take_crimea = { peace_action_type = { take_states } enable = { ROOT = { tag = SOV } ROOT.FROM.FROM.FROM = { state = 669 } } ai_desire = 10000 } NOV_russia_helped_us = { peace_action_type = { take_states puppet liberate force_government } enable = { ROOT = { NOV_is_novorossiya_tag = yes pc_is_on_same_side_as = SOV } FROM.FROM = { tag = UKR } ROOT.FROM.FROM.FROM = { NOT = { NOV_is_novorossiya_state = yes } } } ai_desire = -1000 } NOV_put_romania_away = { peace_action_type = { liberate } enable = { ROOT = { NOT = { pc_is_on_same_side_as = ROM } } ROOT.FROM.FROM.FROM = { state = 335 } } ai_desire = -1000 } # PER PER_isntreal = { peace_action_type = { liberate } enable = { ROOT = { tag = PER OR = { check_variable = { ruling_party = 8 } check_variable = { ruling_party = 9 } } } ROOT.FROM = { pc_is_liberated = yes tag = PAL } ROOT.FROM.FROM.FROM = { is_core_of = PAL } } ai_desire = 500 } PER_syrian_golan = { peace_action_type = { liberate } enable = { ROOT = { tag = PER OR = { check_variable = { ruling_party = 8 } check_variable = { ruling_party = 9 } } } ROOT.FROM = { tag = SYR has_government = communism } ROOT.FROM.FROM.FROM = { is_core_of = SYR is_owned_by = ISR } } ai_desire = 500 } # SAU SAU_lions_den_PER = { peace_action_type = { take_states puppet liberate force_government } enable = { ROOT = { tag = SAU IRQ = { has_completed_focus = IRQ_king_of_the_animal_kingdom } pc_is_on_same_side_as = IRQ } FROM.FROM = { tag = PER } ROOT.FROM.FROM.FROM = { is_core_of = PER NOT = { state = 399 } } } ai_desire = -1000 } SAU_lions_den_KHU = { peace_action_type = { take_states } # need to do fucky shit with this in order to make it work as requested afaik enable = { ROOT = { tag = SAU IRQ = { has_completed_focus = IRQ_king_of_the_animal_kingdom } pc_is_on_same_side_as = IRQ } FROM.FROM = { tag = PER } ROOT.FROM.FROM.FROM = { state = 399 } } ai_desire = 1000 } # SER SER_weird_yugoslav_larping_but_more_warcrimes = { peace_action_type = { take_states } enable = { ROOT = { tag = SER OR = { has_government = nationalist has_completed_focus = SER_reyugoslavication } } FROM.FROM = { SER_is_yugoslav_nation = yes } } ai_desire = 1000 } SER_NATO_liberate_montenegro = { peace_action_type = { liberate } enable = { ROOT = { has_idea = NATO_member } ROOT.FROM = { tag = MNT } ROOT.FROM.FROM.FROM = { is_core_of = MNT } } ai_desire = 500 } SER_NATO_liberate_kosovo = { peace_action_type = { liberate } enable = { ROOT = { has_idea = NATO_member } ROOT.FROM = { tag = KOS } ROOT.FROM.FROM.FROM = { is_core_of = KOS } } ai_desire = 500 } SER_NATO_liberate_kosovo = { peace_action_type = { liberate } enable = { ROOT = { has_idea = NATO_member } ROOT.FROM = { tag = VOJ } ROOT.FROM.FROM.FROM = { is_core_of = VOJ } } ai_desire = 500 } # PMR PMR_annex_mlv = { peace_action_type = { take_states } enable = { ROOT = { tag = SOV NOT = { has_government = democratic } } FROM.FROM = { tag = MLV } } ai_desire = 1000 } # SOV SOV_ramzan_playrov = { peace_action_type = { puppet } enable = { ROOT = { tag = SOV } FROM.FROM = { tag = CHE is_ai = no } } ai_desire = 1000 } SOV_annex_chechnya = { peace_action_type = { take_states } enable = { ROOT = { tag = SOV } FROM.FROM = { tag = CHE is_ai = yes } } ai_desire = 1000 } SOV_annex_post_soviets = { peace_action_type = { take_states } enable = { ROOT = { tag = SOV OR = { nationalist_monarchists_are_in_power = yes nationalist_right_wing_populists_are_in_power = yes } } FROM.FROM = { OR = { tag = LIT tag = LAT tag = EST tag = KAZ tag = UZB tag = TRK tag = TAJ tag = BLR tag = ABK tag = SOO tag = ARM tag = AZE tag = GEO } } } ai_desire = 1000 } SOV_dissolution = { peace_action_type = { liberate } enable = { ROOT = { is_ai = yes } ROOT.FROM = { OR = { tag = DON tag = ESB tag = CSB tag = KAE tag = KOM tag = TAT tag = BSH tag = UDM tag = CHU } } } ai_desire = 1000 } SOV_special_political_operation = { peace_action_type = { puppet } enable = { ROOT = { tag = SOV } FROM.FROM = { tag = UKR } ROOT.FROM.FROM.FROM = { NOT = { NOV_is_novorossiya_state = yes } } } ai_desire = 1000 } SOV_the_south_will_blyat_again = { peace_action_type = { take_states } enable = { ROOT = { tag = SOV } FROM.FROM = { tag = UKR } ROOT.FROM.FROM.FROM = { NOV_is_novorossiya_state = yes } } ai_desire = 1000 } # USA USA_mission_accomplished = { peace_action_type = { puppet } enable = { NOT = { has_global_flag = IRQ_defeated_in_war } ROOT = { tag = USA } FROM.FROM = { tag = IRQ } ROOT.FROM.FROM.FROM = { is_core_of = IRQ } } ai_desire = 1000 } USA_lions_den = { peace_action_type = { take_states puppet liberate force_government } enable = { ROOT = { tag = USA IRQ = { has_completed_focus = IRQ_king_of_the_animal_kingdom } pc_is_on_same_side_as = IRQ } FROM.FROM = { tag = PER } ROOT.FROM.FROM.FROM = { is_core_of = PER } } ai_desire = -1000 } # MAIN AI GENERIC_wants_its_cores = { peace_action_type = { take_states } enable = { tag = ROOT FROM = { tag = ROOT.FROM } ROOT.FROM.FROM.FROM = { is_core_of = ROOT.FROM } } ai_desire = 100 } GENERIC_does_not_want_cores_of_other = { peace_action_type = { take_states } enable = { tag = ROOT FROM = { tag = ROOT.FROM } ROOT.FROM.FROM.FROM = { NOT = { is_core_of = ROOT.FROM } } } ai_desire = -100 } GENERIC_wants_to_make_puppets = { peace_action_type = { puppet } enable = { tag = ROOT ROOT.FROM.FROM.FROM = { is_core_of = FROM } } ai_desire = 125 } GENERIC_dont_liberate_self = { # IF AFGHANISTAN DOES THIS AGAIN I WILL SHIT A BRICK peace_action_type = { liberate } enable = { tag = ROOT FROM = { tag = ROOT.FROM } ROOT.FROM.FROM.FROM = { OR = { is_core_of = ROOT is_claimed_by = ROOT } } } ai_desire = -200 } GENERIC_no_puppet_bordergore = { peace_action_type = { puppet } enable = { tag = ROOT FROM.FROM.FROM = { # State any_neighbor_state = { NOT = { is_owned_by = ROOT } } any_neighbor_state = { NOT = { pc_is_state_claimed_by = ROOT.FROM } } } } ai_desire = -50 } GENERIC_wants_puppet_borders_close = { peace_action_type = { puppet } enable = { tag = ROOT FROM.FROM.FROM = { any_neighbor_state = { is_owned_by = ROOT } } } ai_desire = 25 } GENERIC_liberate_countries_that_exist = { peace_action_type = { liberate } enable = { tag = ROOT country_exists = FROM FROM = { NOT = { has_government = fascism } } FROM.FROM.FROM = { is_core_of = FROM } } ai_desire = 500 } GENERIC_salafist_liberate_countries_that_exist = { peace_action_type = { liberate } enable = { tag = ROOT country_exists = FROM FROM = { has_government = fascism } ROOT = { has_government = fascism } FROM.FROM.FROM = { is_core_of = FROM NOT = { is_core_of = ROOT } NOT = { is_claimed_by = ROOT } } } ai_desire = 750 } GENERIC_dont_puppet_what_isnt_there = { peace_action_type = { puppet } enable = { tag = ROOT NOT = { country_exists = FROM } FROM.FROM.FROM = { is_core_of = FROM } } ai_desire = -500 } EH_chimera_takes_everything = { peace_action_type = { take_states } enable = { tag = ALN } ai_desire = 10000 } EH_chimera_dont_be_stupid = { peace_action_type = { puppet liberate force_government } enable = { tag = ALN } ai_desire = -10000 } }