
shared_focus = {
    id = MLA_Anti_British_War
    icon = GFX_Anti_british_warMLA
    search_filters = {
        IC_FILTER
    }
    cost = 10
    x = 6
    y = 0
    completion_reward = {
        country_event = MLA.11
        add_manpower = 1000
    }
}
shared_focus = {
    id = MLA_Retreat_to_the_Jungle
    icon = GFX_Jungle_wolf
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Anti_British_War
    }
    x = 6
    y = 1
    completion_reward = {
        add_ideas = rampant_trenchfoot
        add_ideas = malaria_Outbreak
    }
}
shared_focus = {
    id = MLA_Take_Stock
    icon = GFX_Take_StockMLA
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Retreat_to_the_Jungle
    }
    x = 6
    y = 2
    completion_reward = {
        add_equipment_to_stockpile = {
            type = infantry_equipment_0
            amount = 50
            producer = CUM
        }
    }
}
shared_focus = {
    id = MLA_Show_Ethnic_Chinese_the_Rights_of_Humans
    icon = GFX_Chinese_rightsMLA
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Take_Stock
    }
    mutually_exclusive = {
        focus = MLA_Show_the_Malay_a_Better_Future
    }
    completion_reward = {
        hidden_effect = {
            remove_ideas = policy_minorities_temp_0
            remove_ideas = policy_minorities_temp_1
            remove_ideas = policy_minorities_temp_2
            remove_ideas = policy_minorities_temp_3
            remove_ideas = policy_minorities_temp_3a
        }
        hidden_effect = {
            remove_ideas = policy_women_temp_0
            remove_ideas = policy_women_temp_2
            remove_ideas = policy_women_temp_1
            remove_ideas = policy_women_temp_4
            remove_ideas = policy_women_temp_4a
        }
        add_ideas = policy_women_temp_4a
        add_ideas = policy_minorities_temp_3a
        add_ideas = VIN_peoples_army
        add_manpower = 6000
        add_war_support = 0.2
        add_political_power = -300
    }
    x = 4
    y = 3
}
shared_focus = {
    id = MLA_Show_the_Malay_a_Better_Future
    icon = GFX_Malay_a_better_future
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Take_Stock
    }
    mutually_exclusive = {
        focus = MLA_Show_Ethnic_Chinese_the_Rights_of_Humans
    }
    completion_reward = {
        add_political_power = 300
        hidden_effect = {
            add_ideas = Resistance_Level_Regional_Civil_War
            remove_state_core = 791
        }
    }
    x = 8
    y = 3
}
shared_focus = {
    id = MLA_Show_the_British_a_Way_Out
    icon = GFX_Show_the_British_the_Way_Out
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Show_the_Malay_a_Better_Future
        focus = MLA_Show_Ethnic_Chinese_the_Rights_of_Humans
    }
    x = 6
    y = 4
    completion_reward = {
        MAL = {
            add_manpower = -1000
            add_war_support = -0.05
            add_ideas = Government_Extremely_Unpopular
        }
    }
}
shared_focus = {
    id = MLA_Raid_Perak
    icon = GFX_Raid_French_Supply_Lines
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Show_the_British_a_Way_Out
    }
    x = 6
    y = 5
    available = {
        country_exists = MAL
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 1
                on_win = malayan_emergency.200
                on_lose = malayan_emergency.201
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 960
                num_provinces = 1
                on_win = malayan_emergency.201
                on_lose = malayan_emergency.200
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Attack_Kuala_Lumpur
    icon = GFX_Attack_Kuala_Lumpur
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Show_the_British_a_Way_Out
    }
    x = 2
    y = 5
    available = {
        country_exists = MAL
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 4
                on_win = malayan_emergency.14
                on_lose = malayan_emergency.15
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 784
                num_provinces = 3
                on_win = malayan_emergency.15
                on_lose = malayan_emergency.14
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Assault_Terrengganu
    icon = GFX_Assault_Terrenggu
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Show_the_British_a_Way_Out
    }
    x = 10
    y = 5
    available = {
        country_exists = MAL
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 1
                on_win = malayan_emergency.200
                on_lose = malayan_emergency.201
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 792
                num_provinces = 1
                on_win = malayan_emergency.201
                on_lose = malayan_emergency.200
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Operations_of_1950
    icon = GFX_Operations_of_1950
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Assault_Terrengganu
    }
    prerequisite = {
        focus = MLA_Attack_Kuala_Lumpur
    }
    prerequisite = {
        focus = MLA_Raid_Perak
    }
    x = 6
    y = 6
    available = {
        date > 1950.1.1
        has_border_war = no
        country_exists = MAL
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 2
                on_win = malayan_emergency.2
                on_lose = malayan_emergency.3
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 960
                num_provinces = 2
                on_win = malayan_emergency.3
                on_lose = malayan_emergency.2
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Lessons_From_Comrade_Mao_Zedong
    icon = GFX_RedArmyBravery
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Operations_of_1950
    }
    mutually_exclusive = {
        focus = MLA_Lessons_From_Uncle_Ho_Chi_Minh
    }
    x = 4
    y = 7
    completion_reward = {
        add_ideas = Expert_Guerilla_Fighters
    }
}
shared_focus = {
    id = MLA_Lessons_From_Uncle_Ho_Chi_Minh
    icon = GFX_PRC_Mass_Assault
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Operations_of_1950
    }
    mutually_exclusive = {
        focus = MLA_Lessons_From_Comrade_Mao_Zedong
    }
    x = 8
    y = 7
    completion_reward = {
        add_manpower = 1000
        add_ideas = death_squads
        hidden_effect = {
            add_ideas = Government_Chaos
            add_ideas = idea_unpopular_rule
        }
    }
}
shared_focus = {
    id = MLA_Victory_in_the_Hearts_and_Minds
    icon = GFX_MLA_Hearts_and_minds
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Lessons_From_Comrade_Mao_Zedong
        focus = MLA_Lessons_From_Uncle_Ho_Chi_Minh
    }
    x = 6
    y = 8
    completion_reward = {
        add_ideas = political_commissars_focus
    }
}
shared_focus = {
    id = MLA_Pengang_Ambush
    icon = GFX_Pengang_ambush
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Victory_in_the_Hearts_and_Minds
    }
    x = 6
    y = 9
    available = {
        date > 1950.1.1
        has_border_war = no
        country_exists = MAL
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 2
                on_win = malayan_emergency.2
                on_lose = malayan_emergency.3
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 960
                num_provinces = 2
                on_win = malayan_emergency.3
                on_lose = malayan_emergency.2
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Bukit_Kepong_Incident
    icon = GFX_Bukit_Incident
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Victory_in_the_Hearts_and_Minds
    }
    x = 2
    y = 9
    available = {
        country_exists = MAL
        date > 1950.2.23
        date < 1960.1.1
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 3
                on_win = malayan_emergency.5
                on_lose = malayan_emergency.6
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 784
                num_provinces = 3
                on_win = malayan_emergency.6
                on_lose = malayan_emergency.5
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Battle_of_Semur_River
    icon = GFX_Battle_of_Semur_River
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Victory_in_the_Hearts_and_Minds
    }
    x = 10
    y = 9
    available = {
        country_exists = MAL
        date > 1950.3.1
        date < 1960.1.1
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 792
                num_provinces = 3
                on_win = malayan_emergency.8
                on_lose = malayan_emergency.9
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 791
                num_provinces = 3
                on_win = malayan_emergency.9
                on_lose = malayan_emergency.8
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_OPERATION_TERMITE
    icon = GFX_All_together
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Battle_of_Semur_River
    }
    prerequisite = {
        focus = MLA_Bukit_Kepong_Incident
    }
    prerequisite = {
        focus = MLA_Pengang_Ambush
    }
    x = 6
    y = 10
    available = {
        country_exists = MAL
        date > 1951.1.1
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        set_country_flag = operation_termite
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 5
                on_win = malayan_emergency.11
                on_lose = malayan_emergency.12
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 784
                num_provinces = 4
                on_win = malayan_emergency.12
                on_lose = malayan_emergency.12
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Request_Eastern_Bloc_Equipment
    icon = GFX_Soviet_EquipmentMLA
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_OPERATION_TERMITE
    }
    x = 6
    y = 11
    completion_reward = {
        add_equipment_to_stockpile = {
            type = infantry_equipment_0
            amount = 250
            producer = CUM
        }
        add_equipment_to_stockpile = {
            type = artillery_equipment_1
            amount = 25
            producer = CUM
        }
    }
}
shared_focus = {
    id = MLA_Intercept_British_Convoys
    icon = GFX_Take_British_Supplies
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Request_Eastern_Bloc_Equipment
    }
    x = 4
    y = 12
    completion_reward = {
        MAL = {
            add_war_support = -0.02
        }
        add_war_support = 0.01
        add_equipment_to_stockpile = {
            type = infantry_equipment_0
            amount = 1000
            producer = ENG
        }
        add_equipment_to_stockpile = {
            type = artillery_equipment_1
            amount = 10
            producer = ENG
        }
    }
}
shared_focus = {
    id = MLA_Intensify_Anti-Colonial_Propaganda
    icon = GFX_Propaganda_Warfare
    search_filters = {
        IC_FILTER
    }
    cost = 10
    prerequisite = {
        focus = MLA_Request_Eastern_Bloc_Equipment
    }
    x = 8
    y = 12
    completion_reward = {
        add_ideas = revolutionary_fervor
    }
}
shared_focus = {
    id = MLA_Raid_Jungle_Bases_From_Perak
    icon = GFX_Final_Assault_on_Perak
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Intensify_Anti-Colonial_Propaganda
    }
    prerequisite = {
        focus = MLA_Intercept_British_Convoys
    }
    x = 10
    y = 13
    available = {
        country_exists = MAL
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 1
                on_win = malayan_emergency.200
                on_lose = malayan_emergency.201
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 960
                num_provinces = 1
                on_win = malayan_emergency.201
                on_lose = malayan_emergency.200
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Raid_Jungle_Bases_From_Kuala_Lumpur
    icon = GFX_57_days_of_hell
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Intensify_Anti-Colonial_Propaganda
    }
    prerequisite = {
        focus = MLA_Intercept_British_Convoys
    }
    x = 6
    y = 13
    available = {
        country_exists = MAL
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
        check_variable = {
            MLA.victory_points > 650
        }
        check_variable = {
            MLA.victory_points > MAL.victory_points
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 4
                on_win = malayan_emergency.14
                on_lose = malayan_emergency.15
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 784
                num_provinces = 3
                on_win = malayan_emergency.15
                on_lose = malayan_emergency.14
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Raid_Jungle_Bases_From_Terrengganu
    icon = GFX_Final_Assault_on_Terrenggu
    search_filters = {
        IC_FILTER
    }
    cost = 5
    prerequisite = {
        focus = MLA_Intercept_British_Convoys
    }
    x = 2
    y = 13
    available = {
        country_exists = MAL
        has_border_war = no
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
        check_variable = {
            MLA.victory_points > 650
        }

        check_variable = {
            MLA.victory_points > MAL.victory_points
        }
    }
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 791
                num_provinces = 3
                on_win = malayan_emergency.14
                on_lose = malayan_emergency.15
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 792
                num_provinces = 3
                on_win = malayan_emergency.15
                on_lose = malayan_emergency.14
                on_cancel = Indochina_War.4
            }
        }
    }

}
shared_focus = {
    id = MLA_Victory_Against_the_British
    icon = GFX_All_out_of_steam
    search_filters = {
        IC_FILTER
    }
    cost = 15
    prerequisite = {
        focus = MLA_Raid_Jungle_Bases_From_Kuala_Lumpur
    }
    prerequisite = {
        focus = MLA_Raid_Jungle_Bases_From_Perak
    }
    prerequisite = {
        focus = MLA_Raid_Jungle_Bases_From_Terrengganu
    }
    available = {
        country_exists = MAL
        NOT = {
            has_country_flag = Victory_in_Malaysian_Emergency
        }
    }
    x = 6
    y = 14
    completion_reward = {
        add_ideas = CHI_disorganized_military
        add_ideas = incompetent_officer_corps
        add_ideas = Government_Extremely_Unpopular
        remove_ideas = Expert_Guerilla_Fighters
    }
}
shared_focus = {
    id = MLA_Strike_the_Heart_of_Colonial_Rule
    icon = GFX_strike_singapore
    prerequisite = {
        focus = MLA_Victory_in_the_Hearts_and_Minds
    }
    cost = 5
    x = 16
    y = 9
    available = {
        controls_state = 924
    }
    available = {
        controls_state = 1128
    }
    completion_reward = {
        country_event = MLA.12
        add_manpower = 1000
        add_war_support = 0.1
    }
}
shared_focus = {
    id = MLA_Entrench_Johor_Bahru
    icon = GFX_usa_50_fortify_the_line_of_control
    prerequisite = {
        focus = MLA_Strike_the_Heart_of_Colonial_Rule
    }
    cost = 5
    x = 18
    y = 10
    completion_reward = {
        
        784 = {
            add_building_construction = {
                    type = bunker
                    province = 4424
                    level = 4
                    instant_build = yes
                }
            add_building_construction = {
                type = bunker
                province = 10313
                level = 4
                instant_build = yes
                }
            }
    }
}
shared_focus = {
    id = MLA_Inspire_the_People_of_Singapore
    icon = GFX_Learn_from_our_chinese_comrades
    cost = 5
    prerequisite = {
        focus = MLA_Strike_the_Heart_of_Colonial_Rule
    }
    x = 14
    y = 10
    completion_reward = {
        ENG = {
            remove_state_core = 336
        }
    }
}
shared_focus = {
    id = MLA_Shell_the_City
    icon = GFX_Strike_Vieth_Minh_Positions
    cost = 5
    prerequisite = {
        focus = MLA_Inspire_the_People_of_Singapore
    }
    prerequisite = {
        focus = MLA_Entrench_Johor_Bahru
    }
    x = 16
    y = 11
    completion_reward = {
        336 = {
            damage_building = {
                type = naval_base
                damage = 10
            }
        }
    }
}
shared_focus = {
    id = MLA_The_Battle_of_Singapore
    icon = GFX_Battle_of_Singapore
    cost = 5
    prerequisite = {
        focus = MLA_Shell_the_City
    }
    x = 16
    y = 12
    completion_reward = {
        start_border_war = {
            change_state_after_war = no
            attacker = {
                state = 784
                num_provinces = 1
                on_win = MLA.1
                on_lose = malayan_emergency.201
                on_cancel = Indochina_War.4
            }
            defender = {
                state = 336
                num_provinces = 1
                on_win = malayan_emergency.201
                on_lose = malayan_emergency.200
                on_cancel = Indochina_War.4
            }
        }
    }
}
shared_focus = {
    id = MLA_Transfer_the_Capital
    icon = GFX_Move_the_capital_MLA
    cost = 10
    Prerequisite = {
        focus = MLA_The_Battle_of_Singapore
    }
    available = {
        controls_state = 336
    }
    x = 16
    y = 13
    completion_reward = {
        set_country_flag = Victory_in_Malaysian_Emergency
        set_capital = { state = 336 }
        336 = {
            set_state_name = "Chin Peng City"
        }
        set_province_name = {
            id = 12299
            name = "Chin Peng City"
        }
    }
}
