summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--depends.txt1
-rw-r--r--init.lua15
2 files changed, 16 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
index 0256ff1..fc3de77 100644
--- a/depends.txt
+++ b/depends.txt
@@ -17,4 +17,5 @@ wool
xpanes
doc_items
doc_identifier?
+doc_encyclopedia?
intllib?
diff --git a/init.lua b/init.lua
index 29a01bd..43893a5 100644
--- a/init.lua
+++ b/init.lua
@@ -262,8 +262,23 @@ if minetest.get_modpath("doc_identifier") ~= nil then
doc.sub.identifier.register_object("boats:boat", "craftitems", "boats:boat")
end
+-- Add another craft for encyclopedia
+if minetest.get_modpath("doc_encyclopedia") ~= nil then
+ minetest.register_craft({
+ output = "doc_encyclopedia:encyclopedia",
+ recipe = {
+ { "default:book" },
+ { "default:book" },
+ { "default:book" },
+ }
+ })
+end
+
+
+
-- Remove the “helper” comment from screwdriver description since the help is
-- provided by this mod
minetest.override_item("screwdriver:screwdriver", {description = item_name_overrides["screwdriver:screwdriver"]})
+
-- TODO: Maybe add achievement for discovering all Minetest Game node entries