Browse Source

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

master
Vanessa Dannenberg 3 years ago
parent
commit
db8d5f382b
  1. 13
      metals.lua

13
metals.lua

@ -50,11 +50,6 @@ minetest.register_craftitem("basic_materials:brass_ingot", {
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", {
description = "Steel gear",
inventory_image = "basic_materials_gear_steel.png"
@ -108,6 +103,14 @@ minetest.register_node("basic_materials:chain_brass", {
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
minetest.register_craft( {

Loading…
Cancel
Save