package Items
using RTDB, BaseStats, BaseStatPools, FistsAttacks, WeaponFxPackage

[ notQueryable ]
Preset_Knuckles_Default : Base_Fists
{
	displayName = "LocKey#40191";
	localizedDescription = "LocKey#40192";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Knuckles_1";
	tags += 
	[
		"Knuckles"
	];
	CName[] visualTags = 
	[
		"Default"
	];
	CName appearanceResourceName = "Preset_Knuckles_Default";
	fk< GameplayLogicPackage >[] OnAttach += 
	[
		{
			animationWrapperOverrides = 
			[
				"w_knuckles"
			];
		} : GameplayLogicPackage
	];
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.QuickMeleeFxPackage";
	fk< EquipmentArea > equipArea = "EquipmentArea.Weapon";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_knuckles_grip";
		}
	];
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.RareMaterial1";
				amount = 20;
			}
		];
	};
	fk< StatModifierGroup >[] statModifierGroups += 
	[
		"Items.Base_Knuckles_RPG_Stats"
	];
}

Base_Knuckles_RPG_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			id = "item_melee_RPG_stats";
			column = "item_level_to_DPS";
			refStat = "BaseStats.PowerLevel";
		} : CurveStatModifier, 
		{
			statType = "BaseStats.Weight";
			modifierType = "Additive";
			value = 0.4f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.PhysicalDamage";
			modifierType = "Additive";
			refStat = "BaseStats.DamagePerHit";
			opSymbol = "*";
			value = 0.7f;
		} : CombinedStatModifier
	];
}

[ notQueryable ]
Preset_Knuckles_Pimp : Preset_Knuckles_Default
{
	localizedDescription = "LocKey#40193";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Knuckles_3";
	CName[] visualTags = 
	[
		"Pimp"
	];
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.QuickMeleeFxPackage";
}

[ notQueryable ]
Preset_Knuckles_Military1 : Preset_Knuckles_Default
{
	localizedDescription = "LocKey#40194";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Knuckles_2";
	CName[] visualTags = 
	[
		"Military"
	];
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.QuickMeleeFxPackage";
}

[ notQueryable ]
Preset_Knuckles_Golden : Preset_Knuckles_Default
{
	displayName = "LocKey#40603";
	visualTags = 
	[
		"Golden_Knuckles"
	];
	quality = "Quality.Legendary";
	localizedDescription = "LocKey#40604";
	fk< WeaponFxPackage > fxPackage = "WeaponFxPackage.QuickMeleeFxPackage";
	slotPartListPreset += 
	[
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.GoldenKnuckleDustersWeaponMod";
		}
	];
}

