sorcery  metals.lua at [0a49ac4849]

File data/metals.lua artifact b325d7e9c3 part of check-in 0a49ac4849


local default_items = function(name)
	return {
		pick   = 'default:pick_'   .. name;
		axe    = 'default:axe_'    .. name;
		shovel = 'default:shovel_' .. name;
		hoe    = 'farming:hoe_'    .. name;
		sickle = 'sickles:sickle_' .. name;
		scythe = 'sickles: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 {
	tin = {
		ingot = 'default:tin_ingot';
		block = 'default:tinblock';
		tone = {172,172,172};
		no_tools = true; no_armor = true;
	};
	copper = {
		ingot = 'default:copper_ingot';
		block = 'default:copperblock';
		tone = {255,176,61};
		no_tools = true; no_armor = true;
	};
	brass = {
		tone = {255,226,87};
		artificial = true;
		no_tools = true; no_armor = true;
		mix = {
			metals = {
				silver = 1;
				copper = 4;
			};
		};
	};
	bronze = {
		ingot = 'default:bronze_ingot';
		block = 'default:bronzeblock';
		artificial = true;
		tone = {229,115,52};
		items = default_items('bronze');
		slots = {
			{affinity = {'counterpraxic'}; confluence = 0.7;};
		};
		mix = {
			metals = {
				copper = 4;
				tin = 1;
			};
		};
	};
	steel = {
		ingot = 'default:steel_ingot';
		block = 'default:steelblock';
		tone = {240,240,240};
		items = default_items('steel');
		slots = {
			{affinity = {'praxic'}; confluence = 0.5;};
		};
	};
	aluminum = {
		tone = {196,64,32}, alpha = 128;
		meltpoint = 1;
		rarity = 12; depth = 158;
		power = 3; speed = 2.4;
		durability = 700; cooktime = 25;
		armor_weight = 0.3;
		slots = {
			{affinity = {'syncretic'}; confluence = 0.7;};
			{affinity = {'praxic'}; confluence = 0.4;};
		};
	};
	levitanium = {
		tone = {17,255,191}, alpha = 40;
		meltpoint = 4;
		rarity = 17; depth = 870;
		power = 1; durability = 50; cooktime = 70;
		armor_weight = -2.2; armor_protection = 1;
		no_tools = true;
	};
	platinum = {
		tone = {255,233,118}, alpha = 50;
		meltpoint = 1;
		rarity = 15; depth = 580;
		power = 4; speed = 3;
		durability = 1400; cooktime = 40;
		armor_weight = 0.7;
		slots = {
			{affinity = {'praxic','counterpraxic'}; confluence = 0.3};
			{affinity = {'counterpraxic'}; confluence = 0.8};
		}
	};
	gold = {
		ingot = 'default:gold_ingot';
		block = 'default:goldblock';
		tone = {255,225,47};
		slots = {
			{affinity = {'praxic','counterpraxic'}; confluence = 1.4};
			{affinity = {'praxic','counterpraxic'}; confluence = 1.2};
		}
	};
	silver = {
		tone = {218,255,246};

		depth = 380; rarity = 13.5;
		no_armor = true; no_tools = true;
		power = 1; cooktime = 8; hardness = 1;
	};
	electrum = {
		tone = {212, 255, 0}, alpha = 80;
		artificial = true;
		mix = {
			metals = {
				silver = 1;
				gold = 1;
			};
		};
		no_tools = true;
	};
	tungsten = {
		tone = {0,255,163}, alpha = 70;
		rarity = 14;
		speed = 2.5;
		power = 4;
		meltpoint = 4;
		cooktime = 100;
		durability = 2500;
		slots = {
			{affinity = {'counterpraxic'}, confluence = 0.6};
			{affinity = {'praxic','counterpraxic'}, confluence = 0.8};
			{affinity = {'praxic'}, confluence = 0.5};
		};
	};
	cobalt = {
		tone = {48,101,255}, alpha = 90;
		rarity = 15;
		durabilty = 650;
		power = 3;
		speed = 3.5;
		cooktime = 30;
	};
	lithium = {
		tone = {255,252,93}, alpha = 80;
		rarity = 12.5;
		no_tools = true;
		no_armor = true;
	};
	iridium = {
		tone = {209,88,241}, alpha = 80;
		rarity = 17;
		meltpoint = 3;
		cooktime = 340;
		durability = 1700;
		speed = 3.2;
		img = {
			-- ingot = 'sorcery_iridium_ingot.png';
			-- block = 'sorcery_iridium_block.png';
		};
		slots = {
			{affinity={'counterpraxic','syncretic'}, confluence = 1.1};
			{affinity={'cognic','entropic'}, confluence = 0.8};
		};
	};
	duranium = {
		tone = {255,64,175}, alpha = 70;
		cooktime = 120;
		artificial = true;
		durability = 3400;
		speed = 3.1;
		power = 5;
		mix = {
			metals = {
				platinum = 4;
				aluminum = 4;
				tin = 1;
			};
		};
		img = {
			-- ingot = 'sorcery_duranium_ingot.png';
		};
		slots = {
			{affinity={'counterpraxic'}, confluence = 0.6};
			{affinity={'counterpraxic'}, confluence = 0.4};
		};
	};
	impervium = {
		tone = {226,255,107}, alpha = 90;
		cooktime = 260;
		meltpoint = 5;
		artificial = true;
		speed = 2.1;
		durability = 5300;
		watercool = true;
		mix = {
			metals = {
				duranium = 4;
				iridium = 2;
				levitanium = 1;
			};
		};
		slots = {
			{affinity={'praxic'}, confluence = 1.2};
			{affinity={'praxic','syncretic'}, confluence = 0.8};
			{affinity={'cognic'}, confluence = 0.9};
		};
	};
	eternium = {
		tone = {156,82,222}, alpha = 100;
		cooktime = 500;
		meltpoint = 6;
		artificial = true;
		speed = 2;
		durability = 8100;
		watercool = true;
		mix = {
			metals = {
				iridium = 2;
				tungsten = 2;
				lithium = 1;
			};
		};
		slots = {
			{affinity={'praxic','entropic'}, confluence = 1.4};
			{affinity={'praxic','syncretic'}, confluence = 1.1};
		}
	};
	unobtanium = {
		tone = {114,255,214}, alpha = 120;
		meltpoint = 3;
		cooktime = 330;
		artificial = true;
		durability = 3300;
		speed = 3.4;
		slots = {
			{affinity={'praxic'}, confluence = 0.7};
			{affinity={'counterpraxic'}, confluence = 1.2};
			{affinity={'cognic'}, confluence = 1.1};
		};
		mix = {
			metals = {
				impervium = 8;
				eternium = 4;
				cobalt = 1;
			};
		};
	};
	-- draconium = {artificial=true;};
	-- tyrannium = {artificial=true;};
};