mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
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:
parent
b6b38f8c75
commit
f33e520fab
21
crafts.lua
21
crafts.lua
@ -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
BIN
textures/homedecor_ic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 302 B |
Loading…
Reference in New Issue
Block a user