From f33e520fab89ee48d0d4115d4e0d141f0d485c1e Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 2 Sep 2012 16:43:51 -0400 Subject: [PATCH] Added crafting recipe using silicon from Mesecons to create regular IC's, updated crafting recipes for TV and stereo to use it. --- crafts.lua | 35 ++++++++++++++++++++++++----------- textures/homedecor_ic.png | Bin 0 -> 302 bytes 2 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 textures/homedecor_ic.png diff --git a/crafts.lua b/crafts.lua index e7e8ff1e..a6a96a05 100644 --- a/crafts.lua +++ b/crafts.lua @@ -611,21 +611,34 @@ 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: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' }, + output = "homedecor:ic 4", + recipe = { + { "mesecons_materials:silicon", "mesecons_materials:silicon" }, + { "mesecons_materials:silicon", "default:steel_ingot" }, }, }) minetest.register_craft( { - 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' }, + output = 'homedecor:television', + recipe = { + { 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' }, + { 'homedecor:plastic_sheeting', 'default:glass', 'homedecor:plastic_sheeting' }, + { 'homedecor:ic', 'homedecor:ic', 'homedecor:ic' }, + }, + }) + + minetest.register_craft( { + output = 'homedecor:stereo', + recipe = { + { 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting', 'homedecor:plastic_sheeting' }, + { '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', diff --git a/textures/homedecor_ic.png b/textures/homedecor_ic.png new file mode 100644 index 0000000000000000000000000000000000000000..b46daa24f66e35580426f629873c4fa7a54b4a4d GIT binary patch literal 302 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0Vr z{1_Oxg&9kAckTxYvX^-Jy0YJ4;S*C*^~id)2q<*G)5S5w;`G}I3;mb_1zgYX+0L(} z72T}($1}D*!}b44)l!ZN3LYGcf!A9mC}?TVGJA6_hNV%5Q-pET@jE>h<}T=u@(bbEJuxud{C7Z$-j%>wb3i2Q9=CP&Hp zUDcJ~YkQ*g_}v~e-k=A$-j}VomY1qOKlJ%@S3dVSKmQ25`5umdKI;Vst0A6%*RsaA1 literal 0 HcmV?d00001