From 597de839f78f014f18b3dc41152ef7bf12a3d63f Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS <161979+SwissalpS@users.noreply.github.com> Date: Sun, 29 Dec 2024 18:22:00 +0100 Subject: [PATCH] Add [moreblocks] support (#29) --- init.lua | 1 + mod.conf | 1 + nodes/moreblocks.lua | 14 ++++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 nodes/moreblocks.lua diff --git a/init.lua b/init.lua index d2d4ac3..b734245 100644 --- a/init.lua +++ b/init.lua @@ -44,6 +44,7 @@ local mods = { "missions", "mobs", "more_chests", + "moreblocks", "pipeworks", "powerbanks", "protector", diff --git a/mod.conf b/mod.conf index d7ed8f8..ff92298 100644 --- a/mod.conf +++ b/mod.conf @@ -23,6 +23,7 @@ optional_depends = """ missions, mobs, more_chests, + moreblocks, pipeworks, powerbanks, protector, diff --git a/nodes/moreblocks.lua b/nodes/moreblocks.lua new file mode 100644 index 0000000..cf15b77 --- /dev/null +++ b/nodes/moreblocks.lua @@ -0,0 +1,14 @@ + +-- Register wrench support for the moreblocks mod + +wrench.register_node("moreblocks:circular_saw", { + lists = { "input", "micro" , "output", "recycle" }, + metas = { + anz = wrench.META_TYPE_INT, + formspec = wrench.META_TYPE_IGNORE, + infotext = wrench.META_TYPE_STRING, + max_offered = wrench.META_TYPE_INT, + owner = wrench.META_TYPE_STRING, + }, +}) +