-- compatibility tables
-- this file is used to hold information that would normally
-- be tagged in the _sorcery or _proto fields of an item's
-- definition, but cannot be placed there because the item
-- is outside the control of the author and its module does
-- not cooperate with sorcery. it is used by itemclass.lua
-- to seamlessly locate the material properties and
-- capabilities of an item.
local grain = {
	hardness = 1;
	value = 1;
	powder = 'farming:flour';
	grindcost = 3;
}
return {
	grindables = {
		['farming:wheat'] = grain;
		['farming:rye'] = grain;
		['farming:oats'] = grain;
		['farming:barley'] = grain;
		['farming:rice'] = {
			powder = 'farming:rice_flour';
			hardness = 1;
			value = 1;
			grindcost = 3;
		}
	};
	ley = {
		['default:mese'] = {
			power = 0.25;
			mode = 'produce';
		};
	};
	gems = {
		['default:mese_crystal'] = {
			id = 'mese', gem = true;
			value = 9, raw = true;
		};
		['default:mese_crystal_fragment'] = {
			id = 'mese', gem = true;
			value = 1, raw = true;
		};
		['default:diamond'] = {
			id = 'diamond', gem = true;
			value = 9, raw = true;
		};
	};
	ore = {
		['default:stone_with_iron'   ] = { id = 'steel',   metal = true };-- :/
		['default:stone_with_copper' ] = { id = 'copper',  metal = true };
		['default:stone_with_tin'    ] = { id = 'tin',     metal = true };
		['default:stone_with_gold'   ] = { id = 'gold',    metal = true };
		['default:stone_with_mese'   ] = { id = 'mese',    gem = true };
		['default:stone_with_diamond'] = { id = 'diamond', gem = true };
	};
}
