local mod = get_mod("extended_weapon_customization")

-- ##### ┌─┐┌─┐┬─┐┌─┐┌─┐┬─┐┌┬┐┌─┐┌┐┌┌─┐┌─┐ ############################################################################
-- ##### ├─┘├┤ ├┬┘├┤ │ │├┬┘│││├─┤││││  ├┤  ############################################################################
-- ##### ┴  └─┘┴└─└  └─┘┴└─┴ ┴┴ ┴┘└┘└─┘└─┘ ############################################################################
-- #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 {
    lasgun_rifle_krieg_barrel_01 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_01",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.2, -2.5, 0},
    },
    lasgun_rifle_krieg_barrel_02 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_02",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.25, -3, -.02},
    },
    lasgun_rifle_krieg_barrel_04 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_04",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.2, -2.5, 0},
    },
    lasgun_rifle_krieg_barrel_05 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_05",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.2, -2.5, 0},
    },
    lasgun_rifle_krieg_barrel_06 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_06",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.2, -2.5, 0},
    },
    lasgun_rifle_krieg_barrel_07 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_07",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.175, -2, 0},
    },
    lasgun_rifle_krieg_barrel_08 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_08",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.2, -2.5, 0},
    },
    lasgun_rifle_krieg_barrel_ml01 = {
        replacement_path = _item_ranged.."/barrels/lasgun_rifle_krieg_barrel_ml01",
        icon_render_unit_rotation_offset = {90, -20, 90 - 30},
        icon_render_camera_position_offset = {-.2, -2.5, 0},
    },
}
