add motor and heating element craft items

This commit is contained in:
Vanessa Ezekowitz 2014-06-29 02:41:33 -04:00
parent 38ad778ade
commit 268d3837e0
3 changed files with 26 additions and 0 deletions

View File

@ -43,6 +43,16 @@ minetest.register_craftitem("homedecor:ic", {
inventory_image = "homedecor_ic.png",
})
minetest.register_craftitem("homedecor:heating_element", {
description = S("Heating element"),
inventory_image = "homedecor_heating_element.png",
})
minetest.register_craftitem("homedecor:motor", {
description = S("Motor"),
inventory_image = "homedecor_motor.png",
})
-- alternate craftitem for silicon if mesecons isn't installed.
if ( minetest.get_modpath("mesecons") ) == nil then
@ -64,6 +74,22 @@ end
-- the actual crafts
minetest.register_craft( {
output = "homedecor:heating_element 2",
recipe = {
{ "default:copper_ingot", "default:mese_crystal_fragment", "default:copper_ingot" }
},
})
minetest.register_craft( {
output = "homedecor:motor 2",
recipe = {
{ "default:mese_crystal_fragment", "default:iron_lump", "homedecor:plastic_sheeting" },
{ "default:copper_ingot", "default:steel_ingot", "default:steel_ingot" },
{ "default:mese_crystal_fragment", "default:iron_lump", "homedecor:plastic_sheeting" }
},
})
minetest.register_craft( {
type = "shapeless",
output = "homedecor:terracotta_base 8",

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B