mirror of
https://git.minetest.org/BuckarooBanzay/digibuilder.git
synced 2024-12-12 00:33:21 +01:00
add recipe
This commit is contained in:
parent
2b538c3a3d
commit
3a701cf3e1
1
init.lua
1
init.lua
@ -13,3 +13,4 @@ dofile(MP.."/digiline_rules.lua")
|
||||
dofile(MP.."/digiline_validate_pos.lua")
|
||||
dofile(MP.."/digiline.lua")
|
||||
dofile(MP.."/node.lua")
|
||||
dofile(MP.."/recipe.lua")
|
||||
|
2
mod.conf
2
mod.conf
@ -1,3 +1,3 @@
|
||||
name = digibuilder
|
||||
depends = digilines
|
||||
optional_depends = default, pipeworks
|
||||
optional_depends = default, pipeworks, mesecons_luacontroller
|
||||
|
@ -52,7 +52,6 @@ For code examples for the `luacontroller` see the "examples" directory
|
||||
|
||||
# Open issues
|
||||
|
||||
* [ ] recipe
|
||||
* [ ] `after_place_node(pos, placer, itemstack, pointed_thing)` compat (digtron mod?)
|
||||
* [ ] Storage of read schematics/buildings
|
||||
|
||||
|
15
recipe.lua
Normal file
15
recipe.lua
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
if minetest.get_modpath("mesecons_luacontroller") then
|
||||
|
||||
local c = "mesecons_luacontroller:luacontroller0000"
|
||||
|
||||
minetest.register_craft({
|
||||
output = "digibuilder:digibuilder",
|
||||
recipe = {
|
||||
{c,c,c},
|
||||
{c,c,c},
|
||||
{c,c,c}
|
||||
}
|
||||
})
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user