From 7fea3daa93e3d661b1ca52cc3087a663ac521c46 Mon Sep 17 00:00:00 2001 From: Och Noe Date: Sat, 9 Jun 2018 19:46:54 +0200 Subject: "ehlphabet" added again - no danger of cyclic dependencies --- depends.txt | 1 + stairsplus/registrations.lua | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index cc0ca35..d42e62b 100644 --- a/depends.txt +++ b/depends.txt @@ -2,3 +2,4 @@ default intllib? farming? wool? +ehlphabet? diff --git a/stairsplus/registrations.lua b/stairsplus/registrations.lua index 634e004..5e07de4 100644 --- a/stairsplus/registrations.lua +++ b/stairsplus/registrations.lua @@ -51,7 +51,9 @@ local default_nodes = { -- Default stairs/slabs/panels/microblocks: "farming:straw" } - +if minetest.get_modpath("ehlphabet") then + table.insert(default_nodes,"ehlphabet:block") +end for _, name in pairs(default_nodes) do -- cgit v1.2.3