[ADD] Add recipe

This commit is contained in:
tacigar 2016-09-15 10:47:09 +09:00
parent f3c93f64ba
commit a6d0f99ffa
3 changed files with 14 additions and 1 deletions

View File

@ -253,7 +253,6 @@ local dye_core_map = {
end
minetest.register_node("maidroid_tool:core_writer_active", {
description = "test",
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",

View File

@ -0,0 +1,13 @@
------------------------------------------------------------
-- Copyright (c) 2016 tacigar. All rights reserved.
-- https://github.com/tacigar/maidroid
------------------------------------------------------------
minetest.register_craft{
output = "maidroid_tool:core_writer",
recipe = {
{"default:steel_ingot", "default:diamond", "default:steel_ingot"},
{ "default:cobble", "default:steel_ingot", "default:cobble"},
{ "default:cobble", "default:cobble", "default:cobble"},
},
}

View File

@ -9,3 +9,4 @@ maidroid_tool.modname = "maidroid_tool"
maidroid_tool.modpath = minetest.get_modpath(maidroid_tool.modname)
dofile(maidroid_tool.modpath .. "/core_writer.lua")
dofile(maidroid_tool.modpath .. "/crafting.lua")