brass block is a node, not a craftitem. derp :-)

This commit is contained in:
Vanessa Dannenberg 2018-11-04 12:06:13 -05:00
parent 32cb9d247a
commit db8d5f382b

@ -50,11 +50,6 @@ minetest.register_craftitem("basic_materials:brass_ingot", {
inventory_image = "basic_materials_brass_ingot.png", inventory_image = "basic_materials_brass_ingot.png",
}) })
minetest.register_craftitem("basic_materials:brass_block", {
description = "Brass Block",
inventory_image = "basic_materials_brass_block.png",
})
minetest.register_craftitem("basic_materials:gear_steel", { minetest.register_craftitem("basic_materials:gear_steel", {
description = "Steel gear", description = "Steel gear",
inventory_image = "basic_materials_gear_steel.png" inventory_image = "basic_materials_gear_steel.png"
@ -108,6 +103,14 @@ minetest.register_node("basic_materials:chain_brass", {
selection_box = chains_sbox, selection_box = chains_sbox,
}) })
minetest.register_node("basic_materials:brass_block", {
description = "Brass Block",
tiles = { "basic_materials_brass_block.png" },
is_ground_content = false,
groups = {cracky=1, level=2},
sounds = default.node_sound_metal_defaults()
})
-- crafts -- crafts
minetest.register_craft( { minetest.register_craft( {