summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2015-10-22 22:14:47 +0200
committerSokomine <wegwerf@anarres.dyndns.org>2015-10-22 22:14:47 +0200
commit6bd1f13061e5565f352688474ffbf90a05c564df (patch)
tree1d9884722249d6873f5168fef5f70961a1fdca16
parentb300e9e4b0bbbf3755e5ec6f05caca870fc8e4e6 (diff)
if moreblocks is installed, moreblocks:slab_wood will be used instead of stairs:slab_wood
-rw-r--r--adaptions.lua4
-rw-r--r--depends.txt1
2 files changed, 5 insertions, 0 deletions
diff --git a/adaptions.lua b/adaptions.lua
index b6c672a..4c93818 100644
--- a/adaptions.lua
+++ b/adaptions.lua
@@ -93,6 +93,10 @@ if( not( minetest.registered_nodes["default:tree"])) then
end
end
+if( minetest.get_modpath("moreblocks")) then
+ and minetest.registered_nodes( "moreblocks:slab_wood" );
+end
+
if( not( minetest.registered_nodes["wool:white"])) then
cottages.craftitem_wool = "cottages:wool";
end
diff --git a/depends.txt b/depends.txt
index 1afb80e..e10338b 100644
--- a/depends.txt
+++ b/depends.txt
@@ -5,3 +5,4 @@ homedecor?
intllib?
trees?
wool?
+moreblocks?