module VanillaFirearmsRework
{
    item ACOG_4x
    {
        DisplayName = ACOG 4x Scope,
        MaxSightRange = 15.0,
        HitChanceModifier = 5,
        Tooltip = hitchance : +5<br>maxrange : +15,

        WorldStaticModel = ACOG_4x,
        MountOn = Base.AssaultRifle;Base.AssaultRifle2;Base.Revolver;Base.Revolver_Long;Base.Revolver_Short;Base.JS3T_Shotgun;Base.Shotgun;Base.ShotgunSawnoff;Base.JS14_Rifle;Base.L92_Carbine;Base.L94_Rifle;Base.VarmintRifle;Base.HuntingRifle;Base.MSR7T_Rifle;Base.TrapperCarbine,
        WeightModifier = 0.3,

        DisplayCategory = WeaponPart,
        ItemType = base:weaponpart,
        Icon = Scope2x,
        Tags = base:optics,
        PartType = Scope,
        MetalValue = 22.0,
        CanAttach = ItemCodeOnTest.hasScrewdriver,
        CanDetach = ItemCodeOnTest.hasScrewdriver,
    }

    item EOTECH_2x
    {
        DisplayName = EOTECH 2x Scope,
        MaxSightRange = 10.0,
        HitChanceModifier = 5,
        AimingTimeModifier = -5,
        Tooltip = hitchance : +5<br>maxrange : +10<br>aimtime : -5,

        WorldStaticModel = EOTECH_2x,
        MountOn = Base.AssaultRifle;Base.AssaultRifle2;Base.JS3T_Shotgun;Base.Shotgun;Base.ShotgunSawnoff;Base.JS14_Rifle;Base.MSR7T_Rifle;Base.TrapperCarbine,
        Weight = 0.2,
        WeightModifier = 0.1,

        DisplayCategory = WeaponPart,
        ItemType = base:weaponpart,
        Icon = RedDot,
        PartType = Scope,
        Tags = base:optics,
        MetalValue = 15.0,
        CanAttach = ItemCodeOnTest.hasScrewdriver,
        CanDetach = ItemCodeOnTest.hasScrewdriver,
    }
}