summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthe lemons <citrons@mondecitronne.com>2022-02-15 19:15:47 -0600
committerthe lemons <citrons@mondecitronne.com>2022-02-15 19:15:47 -0600
commitec12f5d89d0af6d5a78f2e213357bfda339f3d24 (patch)
tree3b6eb98535102c3b89248bd7e056c5df94d50fb6
parent6933c0431f2e88f7fe0c69f774cce16abd8dd406 (diff)
sedimentary rock can be pummeled into stone plates
-rw-r--r--mods/vzxv/nodes.lua6
-rw-r--r--mods/vzxv/textures/vzxvstoneplate.pngbin0 -> 364 bytes
-rw-r--r--mods/vzxv_pummel/recipes.lua7
3 files changed, 13 insertions, 0 deletions
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
--- /dev/null
+++ b/mods/vzxv/textures/vzxvstoneplate.png
Binary files 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{