sorcery  gems.lua at tip

File data/gems.lua from the latest check-in


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;
		hardness = 8;
		randomfind = false;
		level = 1;
		maxlevel = 2;
		wandprops = {
			sturdiness = (1/3);
		};
		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;
		hardness = 6;
		level = 1;
		maxenergy = 600;
		items = default_items('mese');
		tools = true, armor = true;
		randomfind = false;
		slots = {
			{affinity = {'praxic'}, confluence = 1};
			{affinity = {'praxic'}, confluence = 0.5};
			{affinity = {'cognic'}, confluence = 1};
			{affinity = {'syncretic'}, confluence = 0.9};
		};
	};
	luxite = {
		tone = {189,255,236};
		rarity = 130;
		hardness = 3;
	};
	ruby = {
		tone = {255,94,161};
		hardness = 5;
		rarity = 150;
	};
	amethyst = {
		tone = {234,94,255};
		hardness = 6;
		rarity = 190;
	};
	sapphire = {
		tone = {94,139,255};
		rarity = 260;
		hardness = 7;
		wandprops = {
			sturdiness = 0.5;
			power = 2;
		};
	};
	emerald = {
		hardness = 7;
		tone = {133,255,94};
		rarity = 320;
	};
}