diff --git a/mods/ITEMS/mcl_cauldrons/depends.txt b/mods/ITEMS/mcl_cauldrons/depends.txt new file mode 100644 index 0000000000..3d96266de1 --- /dev/null +++ b/mods/ITEMS/mcl_cauldrons/depends.txt @@ -0,0 +1 @@ +mcl_sounds diff --git a/mods/ITEMS/mcl_cauldrons/init.lua b/mods/ITEMS/mcl_cauldrons/init.lua new file mode 100644 index 0000000000..c41674ec9c --- /dev/null +++ b/mods/ITEMS/mcl_cauldrons/init.lua @@ -0,0 +1,45 @@ +minetest.register_node("mcl_cauldrons:cauldron", { + description = "Cauldron", + wield_image = "mcl_cauldrons_cauldron.png", + inventory_image = "mcl_cauldrons_cauldron.png", + drawtype = "nodebox", + paramtype = "light", + sunlight_propagates = true, + groups = {pickaxey=1}, + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.1875, -0.5, -0.375, 0.5, 0.5}, -- Left wall + {0.375, -0.1875, -0.5, 0.5, 0.5, 0.5}, -- Right wall + {-0.375, -0.1875, 0.375, 0.375, 0.5, 0.5}, -- Back wall + {-0.375, -0.1875, -0.5, 0.375, 0.5, -0.375}, -- Front wall + {-0.5, -0.3125, -0.5, 0.5, -0.1875, 0.5}, -- Floor + {-0.5, -0.5, -0.5, -0.375, -0.3125, -0.25}, -- Left front foot, part 1 + {-0.375, -0.5, -0.5, -0.25, -0.3125, -0.375}, -- Left front foot, part 2 + {-0.5, -0.5, 0.25, -0.375, -0.3125, 0.5}, -- Left back foot, part 1 + {-0.375, -0.5, 0.375, -0.25, -0.3125, 0.5}, -- Left back foot, part 2 + {0.375, -0.5, 0.25, 0.5, -0.3125, 0.5}, -- Right back foot, part 1 + {0.25, -0.5, 0.375, 0.375, -0.3125, 0.5}, -- Right back foot, part 2 + {0.375, -0.5, -0.5, 0.5, -0.3125, -0.25}, -- Right front foot, part 1 + {0.25, -0.5, -0.5, 0.375, -0.3125, -0.375}, -- Right front foot, part 2 + } + }, + selection_box = { type = "regular" }, + tiles = { + "mcl_cauldrons_cauldron_inner.png^mcl_cauldrons_cauldron_top.png", + "mcl_cauldrons_cauldron_inner.png^mcl_cauldrons_cauldron_bottom.png", + "mcl_cauldrons_cauldron_side.png" + }, + sounds = mcl_sounds.node_sound_metal_defaults(), + _mcl_hardness = 2, + _mcl_blast_resistance = 10, +}) + +minetest.register_craft({ + output = "mcl_cauldrons:cauldron", + recipe = { + { "mcl_core:iron_ingot", "", "mcl_core:iron_ingot" }, + { "mcl_core:iron_ingot", "", "mcl_core:iron_ingot" }, + { "mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot" }, + } +}) diff --git a/mods/ITEMS/mcl_cauldrons/mod.conf b/mods/ITEMS/mcl_cauldrons/mod.conf new file mode 100644 index 0000000000..1bedf9d731 --- /dev/null +++ b/mods/ITEMS/mcl_cauldrons/mod.conf @@ -0,0 +1 @@ +name = mcl_cauldrons diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png new file mode 100644 index 0000000000..579630ee4b Binary files /dev/null and b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png differ diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_bottom.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_bottom.png new file mode 100644 index 0000000000..edc14daf15 Binary files /dev/null and b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_bottom.png differ diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_inner.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_inner.png new file mode 100644 index 0000000000..bfa6c46cb4 Binary files /dev/null and b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_inner.png differ diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_side.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_side.png new file mode 100644 index 0000000000..d9c62141e2 Binary files /dev/null and b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_side.png differ diff --git a/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png new file mode 100644 index 0000000000..61ac416ed1 Binary files /dev/null and b/mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png differ