class CfgWeapons {
    class ItemCore;
    class braf_base_side_item
    {
        scope = 0;
        type = 301;
        mass = 6;
        allowedSlots[] = {801, 701, 901};
        mountAction = "MountSide";
        unmountAction = "DismountSide";
    };
    class braf_an_peq_15 : ItemCore
    {
        author = "AMF & BRAF Team";
        _generalMacro = "braf_an_peq_15";
        scope = 2;
        displayName = "$STR_braf_weapons_attach_anpeq15_displayname";
        descriptionUse = "$STR_A3_cfgWeapons_use_pointer_IR0";
        picture = "\braf\braf_weapons_attach_side\Data\ui\AMF_AN_PEQ_15_black_ui_gear_ca.paa";
        model = "\braf\braf_weapons_attach_side\AMF_AN_PEQ_15_black";
        descriptionShort = "$STR_braf_weapons_attach_anpeq15_descShort";
        class ItemInfo : braf_base_side_item
        {
            mass = 6;
            class Pointer
            {
                irLaserPos = "laser pos";
                irLaserEnd = "laser dir";
                irDistance = 5;
            };
            class FlashLight
            {
            };
        };
        inertia = 0.1;
		MRT_SwitchItemNextClass = "braf_an_peq_15_flashlight";
        MRT_SwitchItemPrevClass = "braf_an_peq_15_flashlight";
        MRT_switchItemHintText = "$STR_braf_weapons_attach_anpeq15_laserHint";
    };
    class braf_an_peq_15_flashlight : braf_an_peq_15
    {
        author = "AMF & BRAF Team";
        scope = 1;
        class ItemInfo : braf_base_side_item
        {
            mass = 4;
            class Pointer
            {
            };
            class FlashLight
            {
                color[] = {180, 160, 130};
                ambient[] = {0.89999998, 0.81, 0.69999999};
                intensity = 100;
                size = 1;
                innerAngle = 5;
                outerAngle = 100;
                coneFadeCoef = 4;
                position = "light pos";
                direction = "light dir";
                useFlare = 1;
                flareSize = 1.4;
                flareMaxDistance = 100;
                dayLight = 0;
                class Attenuation
                {
                    start = 0;
                    constant = 0.5;
                    linear = 0.1;
                    quadratic = 0.2;
                    hardLimitStart = 27;
                    hardLimitEnd = 34;
                };
                volumeShape = "a3\data_f\VolumeLightFlashlight.p3d";
                scale[] = {1, 1, 1};
            };
        };
        MRT_SwitchItemNextClass = "braf_an_peq_15";
        MRT_SwitchItemPrevClass = "braf_an_peq_15";
        MRT_switchItemHintText = "$STR_braf_weapons_attach_anpeq15_flashlightHint";
    };
    class braf_an_peq_15_green : braf_an_peq_15
    {
        author = "AMF & BRAF Team";
        _generalMacro = "braf_an_peq_15_green";
        displayName = "$STR_braf_weapons_attach_anpeq15_green_displayname";
        picture = "\braf\braf_weapons_attach_side\Data\ui\AMF_AN_PEQ_15_green_ui_gear_ca.paa";
        model = "braf\braf_weapons_attach_side\AMF_AN_PEQ_15_green.p3d";
        descriptionShort = "$STR_braf_weapons_attach_anpeq15_descShort";
        MRT_SwitchItemNextClass = "braf_an_peq_15_green_flashlight";
        MRT_SwitchItemPrevClass = "braf_an_peq_15_green_flashlight";
    };
    class braf_an_peq_15_green_flashlight : braf_an_peq_15_flashlight
    {
        author = "AMF & BRAF Team";
        _generalMacro = "braf_an_peq_15_green_flashlight";
        displayName = "$STR_braf_weapons_attach_anpeq15_green_displayname";
        picture = "\braf\braf_weapons_attach_side\Data\ui\AMF_AN_PEQ_15_green_ui_gear_ca.paa";
        model = "braf\braf_weapons_attach_side\AMF_AN_PEQ_15_green.p3d";
        descriptionShort = "$STR_braf_weapons_attach_anpeq15_descShort";
        MRT_SwitchItemNextClass = "braf_an_peq_15_green";
        MRT_SwitchItemPrevClass = "braf_an_peq_15_green";
    };
    class braf_an_peq_15_tan : braf_an_peq_15
    {
        author = "AMF & BRAF Team";
        _generalMacro = "braf_an_peq_15_green";
        displayName = "$STR_braf_weapons_attach_anpeq15_tan_displayname";
        picture = "\braf\braf_weapons_attach_side\Data\ui\AMF_AN_PEQ_15_tan_ui_gear_ca.paa";
        model = "braf\braf_weapons_attach_side\AMF_AN_PEQ_15_tan.p3d";
        descriptionShort = "$STR_braf_weapons_attach_anpeq15_descShort";
        MRT_SwitchItemNextClass = "braf_an_peq_15_tan_flashlight";
        MRT_SwitchItemPrevClass = "braf_an_peq_15_tan_flashlight";
    };
    class braf_an_peq_15_tan_flashlight : braf_an_peq_15_flashlight
    {
        author = "AMF & BRAF Team";
        _generalMacro = "braf_an_peq_15_tan_flashlight";
        displayName = "$STR_braf_weapons_attach_anpeq15_tan_displayname";
        picture = "\braf\braf_weapons_attach_side\Data\ui\AMF_AN_PEQ_15_tan_ui_gear_ca.paa";
        model = "braf\braf_weapons_attach_side\AMF_AN_PEQ_15_tan.p3d";
        descriptionShort = "$STR_braf_weapons_attach_anpeq15_descShort";
        MRT_SwitchItemNextClass = "braf_an_peq_15_tan";
        MRT_SwitchItemPrevClass = "braf_an_peq_15_tan";
    };
    class braf_an_peq_15_painted : braf_an_peq_15_tan
    {
        author = "AMF & BRAF Team";
        _generalMacro = "braf_an_peq_15_green";
        displayName = "$STR_braf_weapons_attach_anpeq15_painted_displayname";
        model = "braf\braf_weapons_attach_side\AMF_AN_PEQ_15_painted.p3d";
        descriptionShort = "$STR_braf_weapons_attach_anpeq15_descShort";
        MRT_SwitchItemNextClass = "braf_an_peq_15_painted_flashlight";
        MRT_SwitchItemPrevClass = "braf_an_peq_15_painted_flashlight";
    };
    class braf_an_peq_15_painted_flashlight : braf_an_peq_15_tan_flashlight
    {
        author = "AMF & BRAF Team";
        _generalMacro = "braf_an_peq_15_painted_flashlight";
        displayName = "$STR_braf_weapons_attach_anpeq15_painted_displayname";
        model = "braf\braf_weapons_attach_side\AMF_AN_PEQ_15_painted.p3d";
        descriptionShort = "$STR_braf_weapons_attach_anpeq15_descShort";
        MRT_SwitchItemNextClass = "braf_an_peq_15_painted";
        MRT_SwitchItemPrevClass = "braf_an_peq_15_painted";
    };
};
