package Items
using RTDB

[ notQueryable ]
CraftingPart : Item
{
	buyPrice += 
	[
		"Price.CraftingMaterial"
	];
	sellPrice += 
	[
		"Price.CraftingMaterial"
	];
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.Weight";
			modifierType = "Additive";
			value = 0.0f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.Quantity";
			modifierType = "Additive";
			value = 999899;
		} : ConstantStatModifier
	];
	fk< ItemCategory > itemCategory = "ItemCategory.General";
	itemType = "ItemType.Gen_CraftingMaterial";
	tags += 
	[
		"CraftingPart", "HideInBackpackUI"
	];
	objectActions = [];
}

CommonMaterial1 : CraftingPart
{
	iconPath = "material_common";
	displayName = "LocKey#4933";
	localizedDescription = "LocKey#4938";
	fk< Quality > quality = "Quality.Common";
}

UncommonMaterial1 : CraftingPart
{
	iconPath = "material_uncommon";
	displayName = "LocKey#4934";
	localizedDescription = "LocKey#4939";
	fk< Quality > quality = "Quality.Uncommon";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.CommonMaterial1";
				amount = 5;
			}
		];
	};
}

[ notQueryable ]
RareMaterialBase : CraftingPart
{
	fk< Quality > quality = "Quality.Rare";
}

RareMaterial1 : RareMaterialBase
{
	iconPath = "material_rare";
	displayName = "LocKey#4935";
	localizedDescription = "LocKey#4940";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.UncommonMaterial1";
				amount = 5;
			}
		];
	};
}

[ notQueryable ]
RareMaterial2 : RareMaterialBase
{
	iconPath = "material_rare2";
	displayName = "LocKey#52973";
	localizedDescription = "LocKey#52977";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.UncommonMaterial1";
				amount = 5;
			}
		];
	};
}

[ notQueryable ]
EpicMaterialBase : CraftingPart
{
	fk< Quality > quality = "Quality.Epic";
}

EpicMaterial1 : EpicMaterialBase
{
	iconPath = "material_epic";
	displayName = "LocKey#4936";
	localizedDescription = "LocKey#4941";
	fk< Quality > quality = "Quality.Epic";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.RareMaterial1";
				amount = 5;
			}
		];
	};
}

[ notQueryable ]
EpicMaterial2 : EpicMaterialBase
{
	iconPath = "material_epic2";
	displayName = "LocKey#52972";
	localizedDescription = "LocKey#52975";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.RareMaterial2";
				amount = 5;
			}
		];
	};
}

[ notQueryable ]
LegendaryMaterialBase : CraftingPart
{
	fk< Quality > quality = "Quality.Legendary";
}

LegendaryMaterial1 : LegendaryMaterialBase
{
	iconPath = "material_legendary";
	displayName = "LocKey#4937";
	localizedDescription = "LocKey#4942";
	fk< Quality > quality = "Quality.Legendary";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.EpicMaterial1";
				amount = 5;
			}
		];
	};
}

[ notQueryable ]
LegendaryMaterial2 : LegendaryMaterialBase
{
	iconPath = "material_legendary2";
	displayName = "LocKey#52974";
	localizedDescription = "LocKey#52976";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.EpicMaterial2";
				amount = 5;
			}
		];
	};
}

[ notQueryable ]
QuickHackCraftingPart : CraftingPart
{
	tags += 
	[
		"QuickhackCraftingMaterials", "HideInBackpackUI"
	];
}

QuickHackUncommonMaterial1 : QuickHackCraftingPart
{
	iconPath = "material_qh_uncommon";
	displayName = "LocKey#34881";
	localizedDescription = "LocKey#54088";
	fk< Quality > quality = "Quality.Uncommon";
}

QuickHackRareMaterial1 : QuickHackCraftingPart
{
	iconPath = "material_qh_rare";
	displayName = "LocKey#54086";
	localizedDescription = "LocKey#54088";
	fk< Quality > quality = "Quality.Rare";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.QuickHackUncommonMaterial1";
				amount = 5;
			}
		];
	};
}

QuickHackEpicMaterial1 : QuickHackCraftingPart
{
	iconPath = "material_qh_epic";
	displayName = "LocKey#34882";
	localizedDescription = "LocKey#54088";
	fk< Quality > quality = "Quality.Epic";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.QuickHackRareMaterial1";
				amount = 5;
			}
		];
	};
}

QuickHackLegendaryMaterial1 : QuickHackCraftingPart
{
	iconPath = "material_qh_legendary";
	displayName = "LocKey#54087";
	localizedDescription = "LocKey#54088";
	fk< Quality > quality = "Quality.Legendary";
	fk< CraftingPackage > CraftingData = 
	{
		fk< RecipeElement >[] craftingRecipe += 
		[
			{
				ingredient = "Items.QuickHackEpicMaterial1";
				amount = 5;
			}
		];
	};
}

Small_Common_Crafting_Materials_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 30;
		}
	];
}

Small_Uncommon_Crafting_Materials_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 30;
		}
	];
}

Small_Rare_Crafting_Materials_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 30;
		}
	];
}

Small_Epic_Crafting_Materials_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.EpicMaterial1";
			amount = 30;
		}
	];
}

Small_Legendary_Crafting_Materials_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 30;
		}
	];
}

Big_Common_Crafting_Materials_Weapon : Small_Common_Crafting_Materials_Weapon
{
}

Big_Uncommon_Crafting_Materials_Weapon : Small_Uncommon_Crafting_Materials_Weapon
{
}

Big_Rare_Crafting_Materials_Weapon : Small_Rare_Crafting_Materials_Weapon
{
}

Big_Epic_Crafting_Materials_Weapon : Small_Epic_Crafting_Materials_Weapon
{
}

Big_Legendary_Crafting_Materials_Weapon : Small_Legendary_Crafting_Materials_Weapon
{
}

Craftable_Iconic_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 100;
		}
	];
}

Craftable_Common_Iconic_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 40;
		}
	];
}

Craftable_Uncommon_Iconic_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 40;
		}
	];
}

Craftable_Rare_Iconic_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 40;
		}
	];
}

Craftable_Epic_Iconic_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.EpicMaterial1";
			amount = 40;
		}
	];
}

Craftable_Legendary_Iconic_Weapon : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 40;
		}
	];
}

Craftable_Rare_Deck : RareProgramCraftingPackage
{
	craftingRecipe += 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 50;
		}
	];
}

Craftable_Epic_Deck : EpicProgramCraftingPackage
{
	craftingRecipe += 
	[
		{
			ingredient = "Items.EpicMaterial1";
			amount = 50;
		}
	];
}

Craftable_Legendary_Deck : LegendaryProgramCraftingPackage
{
	craftingRecipe += 
	[
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 50;
		}
	];
}

Craftable_Attachment : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 10;
		}
	];
}

[ notQueryable ]
FaceHead_Uncommon_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 35;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 20;
		}
	];
}

[ notQueryable ]
FaceHead_Rare_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 10;
		}
	];
}

[ notQueryable ]
FaceHead_Epic_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 15;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 10;
		}
	];
}

[ notQueryable ]
FaceHead_Legendary_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 15;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 5;
		}
	];
}

[ notQueryable ]
Iconic_FaceHead_Rare_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 15;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 3;
		}
	];
}

[ notQueryable ]
Iconic_FaceHead_Epic_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 15;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 3;
		}
	];
}

[ notQueryable ]
Iconic_FaceHead_Legendary_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 10;
		}
	];
}

[ notQueryable ]
Torso_Uncommon_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 50;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 40;
		}
	];
}

[ notQueryable ]
Torso_Rare_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 40;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 20;
		}
	];
}

[ notQueryable ]
Torso_Epic_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 35;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 25;
		}
	];
}

[ notQueryable ]
Torso_Legendary_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 15;
		}
	];
}

[ notQueryable ]
Iconic_Torso_Rare_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 45;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 35;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 10;
		}
	];
}

[ notQueryable ]
Iconic_Torso_Epic_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 40;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 10;
		}
	];
}

[ notQueryable ]
Iconic_Torso_Legendary_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 35;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 20;
		}
	];
}

[ notQueryable ]
LegsFeet_Uncommon_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 40;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 30;
		}
	];
}

[ notQueryable ]
LegsFeet_Rare_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 15;
		}
	];
}

[ notQueryable ]
LegsFeet_Epic_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 20;
		}
	];
}

[ notQueryable ]
LegsFeet_Legendary_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 10;
		}
	];
}

[ notQueryable ]
Iconic_LegsFeet_Rare_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.CommonMaterial1";
			amount = 35;
		}, 
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 20;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 6;
		}
	];
}

[ notQueryable ]
Iconic_LegsFeet_Epic_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.UncommonMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.RareMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 6;
		}
	];
}

[ notQueryable ]
Iconic_LegsFeet_Legendary_Crafting_Materials_Clothing : CraftingPackage
{
	craftingRecipe = 
	[
		{
			ingredient = "Items.RareMaterial1";
			amount = 30;
		}, 
		{
			ingredient = "Items.EpicMaterial1";
			amount = 25;
		}, 
		{
			ingredient = "Items.LegendaryMaterial1";
			amount = 15;
		}
	];
}

