local mod = get_mod("extended_weapon_customization_base_additions")

-- ##### ┌─┐┌─┐┬─┐┌─┐┌─┐┬─┐┌┬┐┌─┐┌┐┌┌─┐┌─┐ ############################################################################
-- ##### ├─┘├┤ ├┬┘├┤ │ │├┬┘│││├─┤││││  ├┤  ############################################################################
-- ##### ┴  └─┘┴└─└  └─┘┴└─┴ ┴┴ ┴┘└┘└─┘└─┘ ############################################################################
-- #region Performance
    local vector3 = Vector3
    local vector3_box = Vector3Box
    local vector3_zero = vector3.zero
--#endregion

-- ##### ┌┬┐┌─┐┌┬┐┌─┐ #################################################################################################
-- #####  ││├─┤ │ ├─┤ #################################################################################################
-- ##### ─┴┘┴ ┴ ┴ ┴ ┴ #################################################################################################

local _item = "content/items/weapons/player"
local _item_ranged = _item.."/ranged"

return {
    --#region Infantry
        autogun_rifle_muzzle_01 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_muzzle_01",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_muzzle_02 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_muzzle_02",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_muzzle_03 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_muzzle_03",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_muzzle_04 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_muzzle_04",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_muzzle_05 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_muzzle_05",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_muzzle_ml01 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_muzzle_ml01",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
    --#endregion
    --#region Braced
        autogun_rifle_ak_muzzle_01 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_ak_muzzle_01",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_ak_muzzle_02 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_ak_muzzle_02",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_ak_muzzle_03 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_ak_muzzle_03",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_ak_muzzle_04 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_ak_muzzle_04",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_ak_muzzle_05 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_ak_muzzle_05",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_ak_muzzle_ml01 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_ak_muzzle_ml01",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
    --#endregion
    --#region Headhunter
        autogun_rifle_killshot_muzzle_01 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_killshot_muzzle_01",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_killshot_muzzle_03 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_killshot_muzzle_03",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_killshot_muzzle_04 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_killshot_muzzle_04",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_killshot_muzzle_05 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_killshot_muzzle_05",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
        autogun_rifle_killshot_muzzle_ml01 = {
            replacement_path = _item_ranged.."/muzzles/autogun_rifle_killshot_muzzle_ml01",
            icon_render_unit_rotation_offset = {90, 0, 30},
            icon_render_camera_position_offset = {-.15, -1, .15},
        },
    --#endregion
}
