Added crafting recipe using silicon from Mesecons to create regular IC's,

updated crafting recipes for TV and stereo to use it.
This commit is contained in:
Vanessa Ezekowitz 2012-09-02 16:43:51 -04:00
parent b6b38f8c75
commit f33e520fab
2 changed files with 24 additions and 11 deletions

View File

@ -611,12 +611,25 @@ end
if ( minetest.get_modpath("mesecons") ) ~= nil then
minetest.register_craftitem("homedecor:ic", {
description = "Simple Integrated Circuit",
inventory_image = "homedecor_ic.png",
})
minetest.register_craft( {
output = "homedecor:ic 4",
recipe = {
{ "mesecons_materials:silicon", "mesecons_materials:silicon" },
{ "mesecons_materials:silicon", "default:steel_ingot" },
},
})
minetest.register_craft( {
output = 'homedecor:television',
recipe = {
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
{ 'homedecor:plastic_sheeting', 'default:glass', 'homedecor:plastic_sheeting' },
{ 'mesecons_materials:ic', 'mesecons_materials:ic', 'mesecons_materials:ic' },
{ 'homedecor:ic', 'homedecor:ic', 'homedecor:ic' },
},
})
@ -624,8 +637,8 @@ if ( minetest.get_modpath("mesecons") ) ~= nil then
output = 'homedecor:stereo',
recipe = {
{ 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' },
{ 'homedecor:plastic_sheeting', 'mesecons_materials:ic', 'homedecor:plastic_sheeting' },
{ 'default:steel_ingot', 'mesecons_materials:ic', 'default:steel_ingot' },
{ 'homedecor:plastic_sheeting', 'homedecor:ic', 'homedecor:plastic_sheeting' },
{ 'default:steel_ingot', 'homedecor:ic', 'default:steel_ingot' },
},
})
@ -761,7 +774,7 @@ minetest.register_craft({
})
-- =====================================================================
-- Speakers require both Jeija's mesecons mod abnd either wool or cotton
-- Speakers require both Jeija's mesecons mod and either wool or cotton
minetest.register_craft( {
output = 'homedecor:speaker',

BIN
textures/homedecor_ic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B