package Items
using RTDB, BaseStats, WeaponFxPackage, FistsAttacks

[ notQueryable ]
MantisBladesPartBase : Fragment
{
	bool isSingleInstance = false;
	bool isPart = true;
	fk< ParentAttachmentType > parentAttachmentType = "ParentAttachmentType.Slot";
	CName[] tags += 
	[
		"itemPart", "DummyPart", "SkipActivityLog", "HideInBackpackUI", "HideInUI", "HideAtVendor"
	];
	buyPrice += 
	[
		"Price.MantisBladesFragment"
	];
	sellPrice += 
	[
		"Price.MantisBladesFragment"
	];
}

[ notQueryable ]
MantisBladesRoot : MantisBladesPartBase
{
	bool isCustomizable = true;
	CName[] tags += 
	[
		"parentPart", "SkipActivityLog"
	];
	fk< AttachmentSlot >[] placementSlots = 
	[
		"AttachmentSlots.CyberwareRoot"
	];
	string friendlyName = "MantisBladesRoot";
	CName appearanceName = "unholstered_mantis";
	fk< ItemsFactoryAppearanceSuffixBase >[] appearanceSuffixes = [];
	buyPrice = [];
	sellPrice = [];
}

[ notQueryable ]
MantisBladesEdgeBase : MantisBladesPartBase
{
	displayName = "LocKey#51195";
	CName[] tags += 
	[
		"itemPart"
	];
	visualTags = 
	[
		"BaseEdge"
	];
	quality = "Quality.Rare";
	fk< AttachmentSlot >[] placementSlots = 
	[
		"AttachmentSlots.MantisBladesEdge"
	];
	CName appearanceResourceName = "a0_003_wa__mantisblades_edges";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.UncommonMaterial1";
				amount = 15;
			}, 
			{
				ingredient = "Items.RareMaterial1";
				amount = 15;
			}
		];
	};
}

PhysicalDamageEdge : MantisBladesEdgeBase
{
	displayName = "LocKey#23225";
	visualTags = 
	[
		"PhysicalEdge"
	];
	iconPath = "cwf_physicaldamageedge";
	statModifiers = 
	[
		{
			statType = "BaseStats.PhysicalDamage";
			modifierType = "Additive";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.PhysicalDamage";
		} : ArmsCyberwareDPSToStatModifier
	];
	OnEquip = 
	[
		{
			UIData = 
			{
				localizedDescription = "LocKey#53676";
			};
		}
	];
}

[ notQueryable ]
[ EP1 ]
MaxTacEdge : MantisBladesEdgeBase
{
	displayName = "LocKey#23225";
	visualTags = 
	[
		"max_tac"
	];
	iconPath = "cwf_physicaldamageedge";
	tags += 
	[
		"DummyPart"
	];
	statModifiers = 
	[
		{
			statType = "BaseStats.PhysicalDamage";
			modifierType = "Additive";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.PhysicalDamage";
		} : ArmsCyberwareDPSToStatModifier
	];
}

ThermalDamageEdge : MantisBladesEdgeBase
{
	displayName = "LocKey#23226";
	visualTags = 
	[
		"ThermalEdge"
	];
	iconPath = "cwf_thermaldamage";
	statModifiers = 
	[
		{
			statType = "BaseStats.ThermalDamage";
			modifierType = "Additive";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ThermalDamage";
		} : ArmsCyberwareDPSToStatModifier
	];
	OnEquip = 
	[
		{
			UIData = 
			{
				localizedDescription = "LocKey#53677";
			};
		}
	];
}

ChemicalDamageEdge : MantisBladesEdgeBase
{
	displayName = "LocKey#23227";
	visualTags = 
	[
		"ChemicalEdge"
	];
	iconPath = "cwf_chemicaldamageedge";
	statModifiers = 
	[
		{
			statType = "BaseStats.ChemicalDamage";
			modifierType = "Additive";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ChemicalDamage";
		} : ArmsCyberwareDPSToStatModifier
	];
	OnEquip = 
	[
		{
			UIData = 
			{
				localizedDescription = "LocKey#53678";
			};
		}
	];
}

ElectricDamageEdge : MantisBladesEdgeBase
{
	displayName = "LocKey#23228";
	visualTags = 
	[
		"ElectricEdge"
	];
	iconPath = "cwf_electricdamageedge";
	statModifiers = 
	[
		{
			statType = "BaseStats.ElectricDamage";
			modifierType = "Additive";
			value = 0;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.ElectricDamage";
		} : ArmsCyberwareDPSToStatModifier
	];
	OnEquip = 
	[
		{
			UIData = 
			{
				localizedDescription = "LocKey#53679";
			};
		}
	];
}

[ notQueryable ]
MantisBladesRotorBase : MantisBladesPartBase
{
	displayName = "LocKey#51197";
	CName[] tags += 
	[
		"itemPart"
	];
	fk< AttachmentSlot >[] placementSlots = 
	[
		"AttachmentSlots.MantisBladesRotor"
	];
}

SlowRotor : MantisBladesRotorBase
{
	displayName = "LocKey#23229";
	iconPath = "cwf_slowrotor";
	quality = "Quality.Rare";
	statModifiers = 
	[
		{
			statType = "BaseStats.AttackSpeed";
			modifierType = "AdditiveMultiplier";
			value = 0.2f;
		} : ConstantStatModifier
	];
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					20
				];
			} : Items.FastRotorsUIData;
		}
	];
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.UncommonMaterial1";
				amount = 15;
			}, 
			{
				ingredient = "Items.RareMaterial1";
				amount = 7;
			}
		];
	};
}

FastRotor : MantisBladesRotorBase
{
	displayName = "LocKey#23230";
	iconPath = "cwf_fastrotor";
	quality = "Quality.Epic";
	statModifiers = 
	[
		{
			statType = "BaseStats.AttackSpeed";
			modifierType = "AdditiveMultiplier";
			value = 0.35f;
		} : ConstantStatModifier
	];
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					35
				];
			} : Items.FastRotorsUIData;
		}
	];
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.RareMaterial1";
				amount = 12;
			}, 
			{
				ingredient = "Items.EpicMaterial1";
				amount = 8;
			}
		];
	};
}

FastRotorsUIData : GameplayLogicPackageUIData
{
	localizedDescription = "LocKey#53685";
	intValues = [];
}

