diff --git a/mods/decorations/init.lua b/mods/decorations/init.lua index 9bdd65f..b9e81e7 100644 --- a/mods/decorations/init.lua +++ b/mods/decorations/init.lua @@ -281,8 +281,27 @@ for _, mineral in ipairs(decor_minerals) do sounds = default.node_sound_stone_defaults(), }) - minetest.register_node("decorations:"..mineral[1].."_vase_with_coals", { - description = mineral[2].." Vase With Coals", + minetest.register_node("decorations:"..mineral[1].."_bowl", { + description = mineral[2].." Bowl", + drawtype = "nodebox", + paramtype = "light", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.35, -0.5, -0.4, 0, 0.5}, + {-0.5, -0.35, 0.4, 0.5, 0, 0.5}, + {-0.5, -0.35, -0.5, 0.5, 0, -0.4}, + {0.4, -0.35, -0.5, 0.5, 0, 0.5}, + {-0.4, -0.5, -0.4, 0.4, -0.35, 0.4}, + }, + }, + tiles = {"decorations_"..mineral[1]..".png"}, + groups = {cracky=3, oddly_breakable_by_hand = 2}, + sounds = default.node_sound_stone_defaults(), + }) + + minetest.register_node("decorations:"..mineral[1].."_bowl_with_coals", { + description = mineral[2].." Bowl With Coals", drawtype = "nodebox", paramtype = "light", light_source = 14, @@ -303,8 +322,6 @@ for _, mineral in ipairs(decor_minerals) do sounds = default.node_sound_stone_defaults(), }) - - minetest.register_craft({ output = "decorations:"..mineral[1].."_casket", recipe = { @@ -385,6 +402,53 @@ for _, mineral in ipairs(decor_minerals) do {"","minerals:"..mineral[1],""}, } }) + minetest.register_craft({ + output = "decorations:"..mineral[1].."_bowl", + recipe = { + {"minerals:"..mineral[1],"","minerals:"..mineral[1]}, + {"","minerals:"..mineral[1],""}, + } + }) + + minetest.register_craft({ + output = "decorations:"..mineral[1].."_bowl_with_coals", + recipe = { + {"minerals:charcoal"}, + {"decorations:"..mineral[1].."_bowl"}, + } + }) + + minetest.register_craft({ + output = "decorations:"..mineral[1].."_bowl_with_coals", + recipe = { + {"minerals:charcoal"}, + {"decorations:"..mineral[1].."_bowl"}, + } + }) + + minetest.register_craft({ + output = "decorations:"..mineral[1].."_bowl_with_coals", + recipe = { + {"minerals:bituminous_coal"}, + {"decorations:"..mineral[1].."_bowl"}, + } + }) + + minetest.register_craft({ + output = "decorations:"..mineral[1].."_bowl_with_coals", + recipe = { + {"minerals:lignite"}, + {"decorations:"..mineral[1].."_bowl"}, + } + }) + + minetest.register_craft({ + output = "decorations:"..mineral[1].."_bowl_with_coals", + recipe = { + {"minerals:anthracite"}, + {"decorations:"..mineral[1].."_bowl"}, + } + }) end for i, tree_name in ipairs(realtest.registered_trees_list) do diff --git a/mods/decorations/textures/decorations_cinnabar_coals.png b/mods/decorations/textures/decorations_cinnabar_coals.png index f929b7d..31f0e91 100644 Binary files a/mods/decorations/textures/decorations_cinnabar_coals.png and b/mods/decorations/textures/decorations_cinnabar_coals.png differ