summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--depends.txt3
-rw-r--r--init.lua9
3 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index 5851074..179c300 100644
--- a/README.md
+++ b/README.md
@@ -41,4 +41,8 @@ Maple tries to register fancy wooden shapes for maple wood with stairs or morebl
## Drawers
-If storage drawers mod is available, maple registers the corresponding assortment of drawers. \ No newline at end of file
+If storage drawers mod is available, maple registers the corresponding assortment of drawers.
+
+## Arcs
+
+If pkarcs (simple arcs) mod is found, maple arcs are registered. \ No newline at end of file
diff --git a/depends.txt b/depends.txt
index 8db48a9..0dd7242 100644
--- a/depends.txt
+++ b/depends.txt
@@ -2,4 +2,5 @@ default
stairs
moreblocks?
drawers?
-bonemeal? \ No newline at end of file
+bonemeal?
+pkarcs?
diff --git a/init.lua b/init.lua
index 7c646af..7283d84 100644
--- a/init.lua
+++ b/init.lua
@@ -211,7 +211,7 @@ end
-- registering the wood type with drawers mod
if minetest.get_modpath("drawers") and default then
- drawers.register_drawer("maple:maple_drawer", {
+ drawers.register_drawer("maple:maple_drawerk", {
description = "Maple",
tiles1 = drawers.node_tiles_front_other("drawers_maple_wood_front_1.png",
"drawers_maple_wood.png"),
@@ -225,4 +225,9 @@ if minetest.get_modpath("drawers") and default then
material = "maple:maple_wood"
})
-end \ No newline at end of file
+end
+
+-- procedurally-generated arcs
+if minetest.get_modpath("pkarcs") then
+ pkarcs.register_node("maple:maple_wood")
+end