From 01084f7f2425f9862adb4e9bf2f981b16bc65b19 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 22 Dec 2016 14:20:53 +0100 Subject: Add Minetest Game recipe --- init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 7ac77e2..53e4562 100644 --- a/init.lua +++ b/init.lua @@ -28,6 +28,18 @@ minetest.register_craft({ } }) +-- Bonus recipe for Minetest Game +if minetest.get_modpath("default") then + minetest.register_craft({ + output = "doc_encyclopedia:encyclopedia", + recipe = { + { "default:book" }, + { "default:book" }, + { "default:book" }, + } + }) +end + minetest.register_craft({ type = "fuel", recipe = "doc_encyclopedia:encyclopedia", -- cgit v1.2.3