From ec12f5d89d0af6d5a78f2e213357bfda339f3d24 Mon Sep 17 00:00:00 2001 From: the lemons Date: Tue, 15 Feb 2022 19:15:47 -0600 Subject: sedimentary rock can be pummeled into stone plates --- mods/vzxv/nodes.lua | 6 ++++++ mods/vzxv/textures/vzxvstoneplate.png | Bin 0 -> 364 bytes mods/vzxv_pummel/recipes.lua | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 mods/vzxv/textures/vzxvstoneplate.png diff --git a/mods/vzxv/nodes.lua b/mods/vzxv/nodes.lua index a0759ff..b342032 100644 --- a/mods/vzxv/nodes.lua +++ b/mods/vzxv/nodes.lua @@ -37,6 +37,12 @@ vzxv.mundane_block("vzxv:sedimentary", "Stone", { groups = { cracky = 1, stone = 1 } } ) +minetest.register_craftitem("vzxv:stoneplate", { + description = "Stone plate", + groups = { cracky = 1, stone = 1 }, + inventory_image = "vzxvstoneplate.png", +}) + vzxv.mundane_block("vzxv:planks","Planks",nil, {groups = {choppy = 1}}) vzxv.mundane_block("vzxv:stick","Stick",{"vzxvlog.png","vzxvlog.png","vzxvbark.png"},{ diff --git a/mods/vzxv/textures/vzxvstoneplate.png b/mods/vzxv/textures/vzxvstoneplate.png new file mode 100644 index 0000000..3b2cb2d Binary files /dev/null and b/mods/vzxv/textures/vzxvstoneplate.png differ diff --git a/mods/vzxv_pummel/recipes.lua b/mods/vzxv_pummel/recipes.lua index f02c7fa..a8fbb77 100644 --- a/mods/vzxv_pummel/recipes.lua +++ b/mods/vzxv_pummel/recipes.lua @@ -28,6 +28,13 @@ vzxv.add_pummel_recipe{ outputs = {{item="vzxv:woodadze",y=-1}} } +vzxv.add_pummel_recipe{ + node = {node="vzxv:sedimentary",consume=true}, + side = {3, 4, 5, 6}, + tool = {{item="group1:pick"}}, + outputs = {{item="vzxv:stoneplate",count=5}} +} + -- seed planting vzxv.add_pummel_recipe{ -- cgit v1.2.3