From 5942c8ca25943729159c35c22650b50bbf9cb4ad Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Fri, 27 Dec 2024 13:09:33 +0100 Subject: [PATCH] Add [digibuilder] support --- init.lua | 1 + mod.conf | 1 + nodes/digibuilder.lua | 13 +++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 nodes/digibuilder.lua diff --git a/init.lua b/init.lua index 1357bf2..90f525c 100644 --- a/init.lua +++ b/init.lua @@ -29,6 +29,7 @@ local mods = { "bones", "connected_chests", "default", + "digibuilder", "digilines", "digiscreen", "digistuff", diff --git a/mod.conf b/mod.conf index c84c353..bc740bd 100644 --- a/mod.conf +++ b/mod.conf @@ -9,6 +9,7 @@ optional_depends = """ connected_chests, default, digtron, + digibuilder, digilines, digiscreen, digistuff, diff --git a/nodes/digibuilder.lua b/nodes/digibuilder.lua new file mode 100644 index 0000000..bd82ec7 --- /dev/null +++ b/nodes/digibuilder.lua @@ -0,0 +1,13 @@ + +-- Register wrench support for the digibuilder mod + +wrench.register_node("digibuilder:digibuilder", { + lists = { "main" }, + metas = { + channel = wrench.META_TYPE_STRING, + formspec = wrench.META_TYPE_IGNORE, + infotext = wrench.META_TYPE_IGNORE, + owner = wrench.META_TYPE_STRING, + }, +}) +