mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-12-01 00:03:02 +00:00
Add basic cauldron
This commit is contained in:
parent
6db5d97d17
commit
3fe5271fdf
8 changed files with 47 additions and 0 deletions
1
mods/ITEMS/mcl_cauldrons/depends.txt
Normal file
1
mods/ITEMS/mcl_cauldrons/depends.txt
Normal file
|
@ -0,0 +1 @@
|
|||
mcl_sounds
|
45
mods/ITEMS/mcl_cauldrons/init.lua
Normal file
45
mods/ITEMS/mcl_cauldrons/init.lua
Normal file
|
@ -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" },
|
||||
}
|
||||
})
|
1
mods/ITEMS/mcl_cauldrons/mod.conf
Normal file
1
mods/ITEMS/mcl_cauldrons/mod.conf
Normal file
|
@ -0,0 +1 @@
|
|||
name = mcl_cauldrons
|
BIN
mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png
Normal file
BIN
mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 563 B |
Binary file not shown.
After Width: | Height: | Size: 428 B |
Binary file not shown.
After Width: | Height: | Size: 620 B |
Binary file not shown.
After Width: | Height: | Size: 989 B |
BIN
mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png
Normal file
BIN
mods/ITEMS/mcl_cauldrons/textures/mcl_cauldrons_cauldron_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 601 B |
Loading…
Reference in a new issue