From 75fe5d3fa6bf54fecb2c4344572640590d18a265 Mon Sep 17 00:00:00 2001 From: superfloh247 Date: Mon, 31 May 2021 11:55:48 +0200 Subject: [PATCH] Update nodes.lua --- tubelib_addons1/nodes.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tubelib_addons1/nodes.lua b/tubelib_addons1/nodes.lua index c54e402..87c892a 100644 --- a/tubelib_addons1/nodes.lua +++ b/tubelib_addons1/nodes.lua @@ -254,6 +254,21 @@ gn("ethereal:illumishroom") gn("ethereal:illumishroom2") gn("ethereal:illumishroom3") +------------------------------------------------------------------------------- +-- underch Ground +------------------------------------------------------------------------------- + +if minetest.get_modpath("underch") then + for regnodename,v in pairs(minetest.registered_nodes) do + if string.find(regnodename, "underch:") then + if string.find(regnodename, "_cobble") and not string.find(regnodename, "_wall") then + gnname = string.gsub(regnodename, "_cobble", "") + print("tubelib_addons1.register_ground_node: " .. gnname) + gn(gnname, regnodename) + end + end + end +end ------------------------------------------------------------------------------- -- Registered flowers