mirror of
https://github.com/mt-mods/basic_materials.git
synced 2024-11-22 14:03:44 +01:00
brass block is a node, not a craftitem. derp :-)
This commit is contained in:
parent
32cb9d247a
commit
db8d5f382b
13
metals.lua
13
metals.lua
@ -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( {
|
||||||
|
Loading…
Reference in New Issue
Block a user