local default_items = function(name)
	return {
		pick   = 'default:pick_'   .. name;
		axe    = 'default:axe_'    .. name;
		shovel = 'default:shovel_' .. name;
		hoe    = 'farming:hoe_'    .. name;
		sickle = 'tweaks:sickle_' .. name;
		scythe = 'tweaks:scythe_' .. name;
		sword  = 'default:sword_'  .. name;

		helmet     = '3d_armor:helmet_'     .. name;
		leggings   = '3d_armor:leggings_'   .. name;
		chestplate = '3d_armor:chestplate_' .. name;
		boots      = '3d_armor:boots_'      .. name;
		shield     = '3d_armor:shield_'     .. name;
	};
end

return {
	diamond = {
		foreign = 'default:diamond';
		tone = {137,240,255};
		items = default_items('diamond');
		tools = true, armor = true;
		maxenergy = 2000;
		slots = {
			{affinity = {'praxic','counterpraxic'}, confluence = 1};
			{affinity = {'praxic','syncretic'}, confluence = 0.6};
			{affinity = {'counterpraxic', 'entropic'}, confluence = 0.7};
		};
	};
	mese = {
		foreign = 'default:mese_crystal';
		foreign_shard = 'default:mese_crystal_fragment';
		tone = {255,253,94};
		energysource = 5;
		maxenergy = 600;
		items = default_items('mese');
		tools = true, armor = true;
		slots = {
			{affinity = {'praxic'}, confluence = 1};
			{affinity = {'praxic'}, confluence = 0.5};
			{affinity = {'cognic'}, confluence = 1};
			{affinity = {'syncretic'}, confluence = 0.9};
		};
	};
	luxite = {
		tone = {133,255,94};
		rarity = 130;
	};
	ruby = {
		tone = {255,94,161};
		rarity = 150;
	};
	amethyst = {
		tone = {234,94,255};
		rarity = 190;
	};
	sapphire = {
		tone = {94,139,255};
		rarity = 260;
	};
	emerald = {
		tone = {133,255,94};
		rarity = 320;
	};
}
