package Items
using RTDB, BaseStats, WeaponFxPackage, Proficiencies

[ notQueryable ]
Base_Copperhead : Base_Power_Assault_Rifle
{
	buyPrice += 
	[
		"Price.Nokota", "Price.LowManufactureQuality"
	];
	sellPrice += 
	[
		"Price.Nokota", "Price.LowManufactureQuality"
	];
	displayName = "LocKey#3637";
	string friendlyName = "w_rifle_assault_nokota_copperhead";
	fk< ConstantStatModifier > price = 
	{
		statType = "BaseStats.Price";
		modifierType = "Additive";
		value = 15;
	} : ConstantStatModifier;
	localizedDescription = "LocKey#3638";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Copperhead";
	fk< SlotItemPartListElement >[] slotPartList = 
	[
		{
			slot = "AttachmentSlots.Receiver";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__nokota_copperhead__rcv1";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.Barrel";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__nokota_copperhead__base1";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.Magazine";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__nokota_copperhead__mag_std";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.MagazineEmpty";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_rifle_assault__nokota_copperhead__mag_stdr";
				}
			];
		}, 
		"Items.RiflePossibleScopesList", "Items.RangedWeaponPossibleMuzzleList", "Items.RiflePossibleMuzzleBrakeList"
	];
	CName audioName = "wea_set_copperhead";
	CName[] tags += 
	[
		"Preload", "Weapon", "Rifle Assault", "Copperhead"
	];
	fk< TriggerMode >[] triggerModes = 
	[
		"TriggerMode.FullAuto"
	];
	fk< TriggerMode > primaryTriggerMode = "TriggerMode.FullAuto";
	fk< ItemCategory > itemCategory = "ItemCategory.Weapon";
	fk< ItemType > itemType = "ItemType.Wea_Rifle";
	fk< Item > ammo = "Ammo.RifleAmmo";
	fk< Crosshair > crosshair = "Crosshairs.Basic";
	enableNpcRPGData = true;
	npcRPGData = 
	{
		statModifierGroups += 
		[
		];
	} : Base_Copperhead_NPC_Data;
	statModifierGroups += 
	[
		"Items.Base_Copperhead_Technical_Stats", "Items.Base_Copperhead_Handling_Stats", "Items.Base_Copperhead_Recoil_Stats", "Items.Base_Copperhead_Spread_Stats", "Items.Base_Copperhead_Aim_Stats", "Items.Base_Copperhead_Constant_Stats", "Items.Base_Copperhead_Damage_Stats"
	];
	fk< GameplayLogicPackage >[] OnAttach += 
	[
		"EquipmentGLP.MediumStaminaRegen", "EquipmentGLP.LightStaminaDelay"
	];
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.PowerRifleAssault";
	float ironsightAngleWithScope = -45.f;
	baseReloadTime = 1.6f;
	baseEmptyReloadTime = 1.6f;
	uninterruptibleReloadStart = 0.5f;
	uninterruptibleEmptyReloadStart = 0.5f;
	float weaponNearPlane = 8.31f;
	float weaponFarPlane = 29.5f;
	float weaponEdgesSharpness = 0.4958f;
	float weaponVignetteIntensity = 0.1357f;
	float weaponVignetteRadius = 0.6482f;
	float weaponVignetteCircular = 0.0f;
	float weaponBlurIntensity = 1.0f;
	float weaponNearPlane_aim = 12.47f;
	float weaponFarPlane_aim = 23.7f;
	float weaponEdgesSharpness_aim = 0.4958f;
	float weaponVignetteIntensity_aim = 0.1357f;
	float weaponVignetteRadius_aim = 0.6814f;
	float weaponVignetteCircular_aim = 0.1745f;
	float weaponBlurIntensity_aim = 1.f;
}

Base_Copperhead_NPC_Data : Base_Power_Assault_Rifle_NPC_Data
{
	statModifierGroups += 
	[
		"Items.Base_Copperhead_Technical_Stats", "Items.Base_Copperhead_NPC_Damage_Stats"
	];
}

Base_Copperhead_Technical_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 1.f;
		} : NumShotsToFireModifier, 
		{
			value = 0.09f;
		} : CycleTimeModifier, 
		{
			value = 30.f;
		} : MagazineCapacityModifier, 
		{
			value = 1.f;
		} : ProjectilesPerShotModifier, 
		"BaseStats.ProjectilesPerShotCombinedModifier"
	];
}

Base_Copperhead_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 53f;
		} : ConstantStatModifier
	];
}

Base_Copperhead_NPC_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 33f;
		} : ConstantStatModifier
	];
}

Base_Copperhead_Handling_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 1.6f;
		} : ReloadTimeModifier, 
		{
			value = 1.6f;
		} : EmptyReloadTimeModifier, 
		{
			value = 0.7f;
		} : ReloadEndTimeModifier, 
		{
			value = 1.3f;
		} : EmptyReloadEndTimeModifier, 
		{
			value = 1.1f;
		} : ZoomLevelModifier, 
		{
			value = 4.3f;
		} : EquipDuration_FirstModifier
	];
}

Base_Copperhead_Recoil_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = -15f;
		} : RecoilDirModifier, 
		{
			value = 25f;
		} : RecoilAngleModifier, 
		{
			value = 0.10f;
		} : RecoilHoldDurationModifier, 
		{
			value = 0.04f;
		} : RecoilTimeModifier, 
		{
			value = 0.18f;
		} : RecoilRecoveryTimeModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearXModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearYModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearXADSModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearYADSModifier, 
		{
			value = 5f;
		} : RecoilAlternateDirModifier, 
		{
			value = 1.0f;
		} : RecoilDirPlanCycleRandRangeDirModifier, 
		{
			value = 0.6f;
		} : LinearDirectionUpdateMinModifier, 
		{
			value = 0.8f;
		} : LinearDirectionUpdateMaxModifier
	];
}

Base_Copperhead_Spread_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 0.2f;
		} : SpreadMinXModifier, 
		{
			value = 0.f;
		} : SpreadMinYModifier, 
		{
			value = 0.f;
		} : SpreadAdsMinXModifier, 
		{
			value = 0.f;
		} : SpreadAdsMinYModifier, 
		{
			value = 1.f;
		} : SpreadUseInAdsModifier, 
		{
			value = 2.f;
		} : SpreadResetSpeedModifier, 
		{
			value = 0.2f;
		} : SpreadResetTimeThresholdModifier, 
		{
			value = 0.f;
		} : SpreadRandomizeOriginPointModifier, 
		{
			value = 1.f;
		} : SpreadUseCircularSpreadModifier
	];
}

Base_Copperhead_Aim_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.AimFOV";
			modifierType = "Additive";
			value = 22;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.AimOffset";
			modifierType = "Additive";
			value = -0.0f;
		} : ConstantStatModifier
	];
}

Base_Copperhead_Constant_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.SpreadDefaultX";
			modifierType = "Additive";
			value = 1.125f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsDefaultX";
			modifierType = "Additive";
			value = 0.375f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadMaxX";
			modifierType = "Additive";
			value = 4.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsMaxX";
			modifierType = "Additive";
			value = 1.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadChangePerShot";
			modifierType = "Additive";
			value = 0.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsChangePerShot";
			modifierType = "Additive";
			value = 0.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.RecoilKickMin";
			modifierType = "Additive";
			value = 0.6f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.RecoilKickMax";
			modifierType = "Additive";
			value = 0.9f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.FirePower";
			modifierType = "Multiplier";
			value = 1.105f;
		} : ConstantStatModifier, 
		"AttackModifier.WeaponArmorPenetrationLow"
	];
}

w_rifle_assault__nokota_copperhead__rcv1 : WeaponRifleReceiverBase
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__nokota_copperhead__rcv1_01";
}

w_rifle_assault__nokota_copperhead__base1 : WeaponRifleBarrelBase
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__nokota_copperhead__base1_01";
}

w_rifle_assault__nokota_copperhead__mag_std : WeaponMagazineBase
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__nokota_copperhead__mag_std_01";
}

w_rifle_assault__nokota_copperhead__mag_stdr : WeaponMagazineBaseEmpty
{
	string friendlyName = "";
	CName appearanceResourceName = "w_rifle_assault__nokota_copperhead__mag_stdr_01";
}

