diff options
author | Wuzzy <almikes@aol.com> | 2016-11-29 23:22:26 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-11-29 23:22:26 +0100 |
commit | d8d2f9c7a4559583c28f8cf888ecc9eb415f2d7e (patch) | |
tree | cb40038a8883289de0c470cb4faaab703f02c1c6 /init.lua | |
parent | 32b0f7d0a19a3a93f6c3db0dd6bbb472cee25e3a (diff) |
Add optional encyclopedia recipe
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |