summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-11-29 23:22:26 +0100
committerWuzzy <almikes@aol.com>2016-11-29 23:22:26 +0100
commitd8d2f9c7a4559583c28f8cf888ecc9eb415f2d7e (patch)
treecb40038a8883289de0c470cb4faaab703f02c1c6 /init.lua
parent32b0f7d0a19a3a93f6c3db0dd6bbb472cee25e3a (diff)
Add optional encyclopedia recipe
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua15
1 files changed, 15 insertions, 0 deletions
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