package Items
using RTDB

[ notQueryable ]
Splinter : Item
{
	CName entityName = "weapon_root";
	buyPrice += 
	[
		"Price.Splinter"
	];
	sellPrice += 
	[
		"Price.Splinter"
	];
	equipArea = "EquipmentArea.Splinter";
	tags += 
	[
		"Splinter"
	];
	placementSlots = 
	[
		"AttachmentSlots.Splinter"
	];
	fk< ItemCategory > itemCategory = "ItemCategory.General";
}

RavenControlSplinter : Splinter
{
	displayName = "LocKey#49460";
	localizedDescription = "LocKey#49461";
	iconPath = "q003_e3_Spiderbot_Splinter";
	OnEquip = 
	[
		{
			stats = 
			[
				{
					statType = "BaseStats.HasSpiderBotControl";
					modifierType = "Additive";
					value = 1;
				} : ConstantStatModifier
			];
		}
	];
	CName[] tags += 
	[
		"Quest"
	];
	quality = "Quality.Legendary";
	buyPrice = 
	[
		"Price.RavenControlSplinter"
	];
	sellPrice = 
	[
		"Price.RavenControlSplinter", "Price.SellMultiplier"
	];
}

CyberdeckSplinter : Splinter
{
	displayName = "LocKey#49462";
	localizedDescription = "LocKey#49463";
	iconPath = "cyberdeck";
	OnEquip = 
	[
		{
			stats = 
			[
				{
					statType = "BaseStats.HasCyberdeck";
					modifierType = "Additive";
					value = 1;
				} : ConstantStatModifier, 
				{
					statType = "BaseStats.CanMalfunctionQuickHack";
					modifierType = "Additive";
					value = 1;
				} : ConstantStatModifier
			];
		}
	];
	objectActions = 
	[
		"DeviceAction.MalfunctionClassHack", "DeviceAction.ToggleStateClassHack", "DeviceAction.OverrideAttitudeClassHack"
	];
}

