diff --git a/technic/crafts.lua b/technic/crafts.lua index 1bc1e42..4ed2ebb 100644 --- a/technic/crafts.lua +++ b/technic/crafts.lua @@ -131,6 +131,15 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "technic:machine_casing", + recipe = { + { "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" }, + { "technic:cast_iron_ingot", "technic:brass_ingot", "technic:cast_iron_ingot" }, + { "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" }, + }, +}) + -- Remove some recipes minetest.register_craftitem("technic:nothing", { description = "", diff --git a/technic/items.lua b/technic/items.lua index d62642c..1fdb018 100644 --- a/technic/items.lua +++ b/technic/items.lua @@ -144,3 +144,12 @@ minetest.register_craftitem("technic:carbon_cloth", { inventory_image = "technic_carbon_cloth.png", }) +minetest.register_node("technic:machine_casing", { + description = S("Machine Casing"), + groups = {cracky=2}, + sunlight_propagates = true, + paramtype = "light", + drawtype = "allfaces", + tiles = {"technic_machine_casing.png"}, + sounds = default.node_sound_stone_defaults(), +}) diff --git a/technic/textures/technic_machine_casing.png b/technic/textures/technic_machine_casing.png new file mode 100644 index 0000000..d596733 Binary files /dev/null and b/technic/textures/technic_machine_casing.png differ