Merge pull request #65 from tacigar/tacigar/add_empty_egg_crafting

Add crafting of empty egg
Close #64
This commit is contained in:
tacigar 2016-12-17 17:02:20 +09:00 committed by GitHub
commit 9b59249373
2 changed files with 14 additions and 0 deletions

13
maidroid/crafting.lua Normal file
View File

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

View File

@ -10,3 +10,4 @@ maidroid.modpath = minetest.get_modpath(maidroid.modname)
dofile(maidroid.modpath .. "/api.lua") dofile(maidroid.modpath .. "/api.lua")
dofile(maidroid.modpath .. "/register.lua") dofile(maidroid.modpath .. "/register.lua")
dofile(maidroid.modpath .. "/crafting.lua")