forked from mtcontrib/maidroid
[ADD] Add recipe
This commit is contained in:
parent
f3c93f64ba
commit
a6d0f99ffa
@ -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",
|
||||
|
13
maidroid_tool/crafting.lua
Normal file
13
maidroid_tool/crafting.lua
Normal 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"},
|
||||
},
|
||||
}
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user