# 人民解放军
communism_PLA = {
    track = infantry
    name = SUBDOCTRINE_communism_PLA
    description = SUBDOCTRINE_communism_PLA_DESC
    icon = GFX_doctrine_peoples_war_medium
   
    xp_cost = 0
    xp_type = army

    available = {
        is_ai = no
		has_government = communism
		custom_trigger_tooltip = {
			tooltip = communism_serving_the_people_tt_2
            has_country_flag = flag_communism_PLA
		}
    }
    visible = {
        has_dlc = "No Compromise, No Surrender"
    }


    # EFFECTS
    enable_tactic = tactic_guerrilla_tactics
    enable_tactic = tactic_infantry_charge

    category_all_infantry = {
        soft_attack = 0.05
        defense = 0.05
        initiative = 0.03
    }
    logistics_company = {
        battalion_mult = {
            category = category_all_infantry
            max_organisation = 5
            max_strength = 5
            add = yes
        }
    }

    rewards = {

        #1 听党指挥
        faithfully_follow_the_Partys_orders = {
        
            category_all_infantry = {
                initiative = 0.02
                reliability = 0.05
                equipment_capture_factor = 0.02
                breakthrough = 0.1
            }
            signal_company = {
                battalion_mult = {
                    category = category_all_infantry
                    defense = 0.1
                }
            }
            infantry = {
                desert = {
                    movement = 0.1
                }
                jungle = {
                    movement = 0.1
                }
                hills = {
                    movement = 0.1
                }
            }
            
        }

        #2 能打胜仗
        be_capable_of_winning_battles = {
        
            category_all_infantry = {
                supply_consumption = -0.01
                initiative = 0.02
                reliability = 0.05
                soft_attack = 0.05
            } 
            category_recon = {
                recon = 1
            }
            recon = {
                battalion_mult = {
                    category = category_all_infantry
                    soft_attack = 0.1
                }
            }
            mot_recon = {
                battalion_mult = {
                    category = category_all_infantry
                    soft_attack = 0.1
                }
            }
            light_tank_recon = {
                battalion_mult = {
                    category = category_all_infantry
                    soft_attack = 0.1
                }
            }
            infantry = {
                desert = {
                    attack = 0.05
                }
                jungle = {
                    attack = 0.05
                }
                hills = {
                    attack = 0.05
                }
            }
            intel_from_combat_factor = 0.2
        }

        #3 作风优良
        have_excellent_conduct = {

            category_all_infantry = {
                initiative = 0.03
                default_morale = 0.2
                max_organisation = 20
            }
            logistics_company = {
                battalion_mult = {
                    category = category_all_infantry
                    max_organisation = 5
                    max_strength = 5
                    add = yes
                }
            }            


        }

        #4 和人民在一起
        be_with_the_people = {
            unit_infantry_design_cost_factor = -1
            infantry = {
                combat_width = -0.2
            }
            category_all_infantry = {
                supply_consumption = -0.02
                experience_loss_factor = -0.02
                max_strength = 0.15 
            }
            field_hospital = {
                casualty_trickleback = 0.1
            }
            helicopter_brigade = {
                casualty_trickleback = 0.1
            }
            helicopter_field_hospital = {
                casualty_trickleback = 0.1
            } 

        }

        #5 为人民服务
        serve_the_people = {

            category_all_infantry = {

                soft_attack = 0.1
                defense = 0.1
                breakthrough = 0.1
            }

        }
    }
}

# 积极防御
communism_active_defense = {
    track = operations
    name = SUBDOCTRINE_communism_active_defense
    description = SUBDOCTRINE_communism_active_defense_DESC
    icon = GFX_doctrine_guerilla_warfare_medium
    
    xp_cost = 0
    xp_type = army

    available = {
        is_ai = no
		has_government = communism
		custom_trigger_tooltip = {
			tooltip = communism_being_with_the_people_tt_2
            has_country_flag = flag_communism_active_defense
		}
    }
    visible = {
        has_dlc = "No Compromise, No Surrender"
    }



    # EFFECTS
    enable_tactic = tactic_backhand_blow
    enable_tactic = tactic_elastic_defense
    command_power_gain = 0.1
    category_all_infantry = {
        max_organisation = 5
    }

    rewards = {
        #1 持久战
        protracted_war = {
            max_planning = 0.05 
            category_army = {
                entrenchment = 0.1
                defense = 0.05
            }
            land_reinforce_rate = 0.05
        }
        #2 运动中歼敌
        destroy_the_enemy_in_mobile_warfare = {

            org_loss_when_moving = -0.20
            land_night_attack = 0.25

            category_all_infantry = {
                maximum_speed = 0.1
            }
            category_all_armor = {
                maximum_speed = 0.1
            }
        }

        #3 “零敲牛皮糖”
        piecemeal_tactics = {

            land_reinforce_rate = 0.05
            coordination_bonus = 0.1
            
            category_army = {
                breakthrough = 0.10
                max_organisation = 5
            }

        }

        #4 战术进攻与速决
        tactical_attack = {

            enable_tactic = tactic_breakthrough

            max_command_power = 30
            army_intel_to_others = -10.0

            category_recon = {
                recon = 1
            }
            
            recon = {
                battalion_mult = {
                    category = category_all_infantry
                    soft_attack = 0.1
                }
            }
            mot_recon = {
                battalion_mult = {
                    category = category_all_infantry
                    soft_attack = 0.1
                }
            }
            light_tank_recon = {
                battalion_mult = {
                    category = category_all_infantry
                    soft_attack = 0.1
                }
            }




        }

        #5 战略防御与持久 
        strategic_defense = {

            max_planning = 0.1 
            supply_consumption_factor = -0.10
            army_intel_factor = 0.05

            category_army = {
                max_organisation = 5
                default_morale = 0.1
            }

            category_all_armor = {
                max_organisation = 2
                default_morale = 0.1
            }

        }




    }
}