package Items
using RTDB, BaseStats, WeaponFxPackage

[ notQueryable ]
Base_Lexington : Base_Power_Handgun
{
	buyPrice += 
	[
		"Price.Militech", "Price.MediumManufactureQuality"
	];
	sellPrice += 
	[
		"Price.Militech", "Price.MediumManufactureQuality"
	];
	displayName = "LocKey#3571";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Lexington";
	string friendlyName = "w_handgun_militech_lexington";
	fk< ConstantStatModifier > price = 
	{
		statType = "BaseStats.Price";
		modifierType = "Additive";
		value = 35;
	} : ConstantStatModifier;
	localizedDescription = "LocKey#3574";
	fk< SlotItemPartListElement >[] slotPartList = 
	[
		{
			slot = "AttachmentSlots.Receiver";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_handgun_militech_lexington__rcv1";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.Barrel";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_handgun_militech_lexington__base1";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.Magazine";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_handgun_militech_lexington__mag_std";
				}
			];
		}, 
		{
			slot = "AttachmentSlots.MagazineEmpty";
			fk< ItemPartListElement >[] itemPartList = 
			[
				{
					item = "Items.w_handgun_militech_lexington__mag_stdr";
				}
			];
		}, 
		"Items.HandgunPossibleScopesList", "Items.RangedWeaponPossibleMuzzleList", "Items.HandgunPossibleMuzzleBraksList"
	];
	CName audioName = "wea_set_lexington";
	CName[] tags += 
	[
		"Preload", "Weapon", "Handgun", "T2_Inject_Weapon", "Lexington"
	];
	fk< TriggerMode >[] triggerModes = 
	[
		"TriggerMode.FullAuto"
	];
	fk< TriggerMode > primaryTriggerMode = "TriggerMode.FullAuto";
	fk< TriggerMode > secondaryTriggerMode = "TriggerMode.FullAuto";
	fk< WeaponManufacturer > manufacturer = "WeaponManufacturer.Street";
	fk< WeaponEvolution > evolution = "WeaponEvolution.Power";
	fk< Item > ammo = "Ammo.HandgunAmmo";
	enableNpcRPGData = true;
	npcRPGData = 
	{
		statModifierGroups += 
		[
		];
	} : Base_Lexington_NPC_Data;
	statModifierGroups += 
	[
		"Items.Base_Lexington_Technical_Stats", "Items.Base_Lexington_Handling_Stats", "Items.Base_Lexington_Recoil_Stats", "Items.Base_Lexington_Spread_Stats", "Items.Base_Lexington_Aim_Stats", "Items.Base_Lexington_Constant_Stats", "Items.Base_PlayerState_Spread_Stats", "Items.Base_Lexington_Damage_Stats"
	];
	fk< GameplayLogicPackage >[] OnAttach += 
	[
		"EquipmentGLP.FastStaminaRegen", "EquipmentGLP.MediumStaminaDelay"
	];
	CName audioSwitchName = "";
	CName audioSwitchValue = "";
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.PowerHandgun";
	baseReloadTime = 0.9f;
	baseEmptyReloadTime = 0.9f;
	uninterruptibleReloadStart = 0.5f;
	uninterruptibleEmptyReloadStart = 0.5f;
	float weaponNearPlane = 14.0f;
	float weaponFarPlane = 17.0f;
	float weaponEdgesSharpness = 0.4958f;
	float weaponVignetteIntensity = 0.1357f;
	float weaponVignetteRadius = 0.6482f;
	float weaponVignetteCircular = 0.0f;
	float weaponBlurIntensity = 1.0f;
	float weaponNearPlane_aim = 14.0f;
	float weaponFarPlane_aim = 19.0f;
	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_Lexington_NPC_Data : Base_Power_Handgun_NPC_Data
{
	statModifierGroups += 
	[
		"Items.Base_Lexington_Technical_Stats", "Items.Base_Lexington_NPC_Damage_Stats"
	];
}

Base_Lexington_Technical_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 1.f;
		} : NumShotsToFireModifier, 
		{
			value = 0.125f;
		} : CycleTimeModifier, 
		{
			value = 20.f;
		} : MagazineCapacityModifier, 
		{
			value = 1.f;
		} : ProjectilesPerShotModifier, 
		"BaseStats.ProjectilesPerShotCombinedModifier"
	];
}

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

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

Base_Lexington_Handling_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 0.9f;
		} : ReloadTimeModifier, 
		{
			value = 0.9f;
		} : EmptyReloadTimeModifier, 
		{
			value = 0.5f;
		} : ReloadEndTimeModifier, 
		{
			value = 0.9f;
		} : EmptyReloadEndTimeModifier, 
		{
			value = 1.1f;
		} : ZoomLevelModifier, 
		{
			value = 4.2f;
		} : EquipDuration_FirstModifier
	];
}

Base_Lexington_Recoil_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			value = 7.5f;
		} : RecoilDirModifier, 
		{
			value = 35.f;
		} : RecoilAngleModifier, 
		{
			value = 0.08f;
		} : RecoilHoldDurationModifier, 
		{
			value = 0.06f;
		} : RecoilTimeModifier, 
		{
			value = 0.2f;
		} : RecoilRecoveryTimeModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearXModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearYModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearXADSModifier, 
		{
			value = 1.f;
		} : RecoilEnableLinearYADSModifier
	];
}

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

Base_Lexington_Aim_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.AimFOV";
			modifierType = "Additive";
			value = 40;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.AimOffset";
			modifierType = "Additive";
			value = 0.02f;
		} : ConstantStatModifier
	];
}

Base_Lexington_Constant_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.SpreadDefaultX";
			modifierType = "Additive";
			value = 0.8f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsDefaultX";
			modifierType = "Additive";
			value = 0.33f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadMaxX";
			modifierType = "Additive";
			value = 3.2f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.SpreadAdsMaxX";
			modifierType = "Additive";
			value = 1.32f;
		} : 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.EffectiveRange";
			modifierType = "Multiplier";
			value = 0.8333f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.FirePower";
			modifierType = "Multiplier";
			value = 1.5f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.KnockdownImpulse";
			modifierType = "Additive";
			value = -10.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.HeadshotDamageMultiplier";
			modifierType = "Additive";
			value = -0.25f;
		} : ConstantStatModifier
	];
}

w_handgun_militech_lexington__rcv1 : WeaponHandgunReceiverBase
{
	string friendlyName = "w_handgun_militech_lexington__rcv1";
	CName appearanceResourceName = "w_handgun__militech_lexington__rcv1_01";
	CName audioSwitchName = "w_handgun_militech_lexington__rcv1";
	CName audioSwitchValue = "w_handgun_militech_lexington__rcv1";
}

w_handgun_militech_lexington__base1 : WeaponHandgunBarrelBase
{
	string friendlyName = "w_handgun_militech_lexington__base1";
	CName appearanceResourceName = "w_handgun__militech_lexington__base1_01";
	CName audioSwitchName = "w_handgun_militech_lexington__base1";
	CName audioSwitchValue = "w_handgun_militech_lexington__base1";
}

w_handgun_militech_lexington__mag_std : WeaponMagazineBase
{
	string friendlyName = "w_handgun_militech_lexington__mag_std";
	CName appearanceResourceName = "w_handgun__militech_lexington__mag_std_01";
	CName audioSwitchName = "w_handgun_militech_lexington__mag_std";
	CName audioSwitchValue = "w_handgun_militech_lexington__mag_std";
}

w_handgun_militech_lexington__mag_stdr : WeaponMagazineBase
{
	string friendlyName = "w_handgun_militech_lexington__mag_stdr";
	CName appearanceResourceName = "w_handgun__militech_lexington__mag_stdr_01";
	CName audioSwitchName = "w_handgun_militech_lexington__mag_stdr";
	CName audioSwitchValue = "w_handgun_militech_lexington__mag_stdr";
}

[ notQueryable ]
w_handgun_silencer : w_silencer_01
{
}

[ notQueryable ]
SemiAuto_Lexington : Base_Lexington
{
	fk< TriggerMode >[] triggerModes = 
	[
		"TriggerMode.SemiAuto"
	];
}

[ notQueryable ]
Silenced_Lexington : Base_Lexington
{
	displayName = "LocKey#50349";
	fk< TriggerMode >[] triggerModes = 
	[
		"TriggerMode.SemiAuto"
	];
	CName[] tags += 
	[
		"Silenced"
	];
}

