class CfgPatches {
  class BRAF_characters_vest {
    author = "BRAF Team";
    units[] = {
        "braf_belt_buttpack",
        "braf_backpack_wtc_hydro_pack_olive",
        "braf_backpack_wtc_hydro_pack_black",
    };
    weapons[] = {
        // Vests IBA
        "braf_iba_lizard",
        "braf_iba_lizard_squadleader",
        "braf_iba_lizard_rifleman",
        // Vests LBV
        "braf_lbv_woodland",
        "braf_lbv_woodland_rifleman",
        "braf_lbv_woodland_squadleader",
        "BRAF_lbv_tan",
        "braf_lbv_black",
        "braf_lbv_black_squadleader",
        "braf_lbv_tan_rifleman",
        "braf_lbv_tan_squadleader",
        "BRAF_lbv_olive",
        "braf_lbv_olive_rifleman",
        "braf_lbv_olive_squadleader",
        // Vests WTC M7
        "braf_wtc_m7_olive",
        "braf_wtc_m7_black",
        "braf_wtc_m7_tan",
        "braf_wtc_m7_squad_leader_556_olive",
        "braf_wtc_m7_squad_leader_556_black",
        "braf_wtc_m7_squad_leader_556_tan",
        "braf_wtc_m7_rifleman_556_olive",
        "braf_wtc_m7_rifleman_556_black",
        "braf_wtc_m7_rifleman_556_tan",
        "braf_wtc_m7_squad_leader_762_olive",
        "braf_wtc_m7_squad_leader_762_black",
        "braf_wtc_m7_squad_leader_762_tan",
        "braf_wtc_m7_rifleman_762_olive",
        "braf_wtc_m7_rifleman_762_black",
        "braf_wtc_m7_rifleman_762_tan",
        // ALICE Webbing
        "braf_LC2_field_officer",
        "braf_LC2_duty_officer",
        "braf_LC2_field_rifleman",
        "braf_LC2_duty_rifleman",
        "braf_LC2",
        "braf_LC2_rifleman",
    };
    requiredVersion = 0.1;
    requiredAddons[] = {
        "A3_Data_F",
        "braf_main"
    };
  };
};

class CfgWeapons {
  class VestItem;
  class ItemCore;
  class Vest_Camo_base;
  class braf_vest : ItemCore {
    author = "BRAF Team";
    scope = 0;
  };
  class braf_kevlar_iiia_vest : VestItem {
    class HitpointsProtectionInfo {
      class Chest {
        HitpointName = "HitChest";
        armor = 14;
        PassThrough = 0.2;
      };

      class Diaphragm {
        HitpointName = "HitDiaphragm";
        armor = 14;
        PassThrough = 0.2;
      };

      class Abdomen {
        hitpointName = "HitAbdomen";
        armor = 14;
        passThrough = 0.2;
      };

      class Body {
        hitpointName = "HitBody";
        passThrough = 0.2;
      };

      class Pelvis {
        hitpointName = "HitPelvis";
        armor = 14;
        passThrough = 0.2;
      };
    };
  };
  #include "alice.hpp"
  #include "factions.hpp"
  #include "iba.hpp"
  #include "lbv.hpp"
  #include "militarypolice.hpp"
  // #include "shoulder_holster.hpp"
  #include "wtc_m7.hpp"
};

class CfgVehicles {
  class braf_backpack;
  class braf_belt_buttpack : braf_backpack {
    scope = 2;
    scopeArsenal = 2;
    scopeCurator = 2;
    _generalMacro = "braf_modular_assault_olive";
    displayName = "$STR_backpack_buttpack";
    picture = "\braf\braf_characters_vest\data\lc2\ui\buttpack_ui.paa";
    model = "\braf\braf_characters_vest\braf_buttpack.p3d";
    hiddenSelections[] = {};
    hiddenSelectionsTextures[] = {};
    containerClass = "Supply280";
    maximumLoad = 100;
    mass = 20;
  };
  class braf_backpack_wtc_hydro_pack_olive : braf_backpack {
    scope = 2;
    scopeArsenal = 2;
    scopeCurator = 2;
    _generalMacro = "braf_backpack_wtc_hydro_pack";
    displayName = "$STR_backpack_wtc_hydro_pack_olive";
    picture = "\braf\braf_characters_vest\data\wtc_m7\ui\wtc_hydro_pack_ui.paa";
    model = "\braf\braf_characters_vest\braf_wtc_hydro_pack.p3d";
    hiddenSelections[] = {"Camo1", "Camo2"};
    hiddenSelectionsTextures[] = {
        "\braf\braf_characters_vest\data\wtc_m7\wtcmod_co.paa",
        "",
    };
    containerClass = "Supply20";
    maximumLoad = 20;
    mass = 80;
  };
  class braf_backpack_wtc_hydro_pack_black
      : braf_backpack_wtc_hydro_pack_olive {
    _generalMacro = "braf_backpack_wtc_hydro_pack_black";
    displayName = "$STR_backpack_wtc_hydro_pack_black";
    hiddenSelectionsTextures[] = {
        "\braf\braf_characters_vest\data\wtc_m7\wtcmod_black_co.paa",
        "",
    };
  };
  class braf_backpack_wtc_hydro_pack_tan : braf_backpack_wtc_hydro_pack_olive {
    _generalMacro = "braf_backpack_wtc_hydro_pack_tan";
    displayName = "$STR_backpack_wtc_hydro_pack_tan";
    hiddenSelectionsTextures[] = {
        "\braf\braf_characters_vest\data\wtc_m7\wtcmod_tan_co.paa",
        "",
    };
  };
};
