Skip to content
Permalink
Browse files

Move crafting, cooking and fuel recipes into corresponding files

  • Loading branch information
An0n3m0us authored and paramat committed Jan 1, 2020
1 parent 1082466 commit 6e32287a420bdf8d1b795dc4fbcb35b717cd4316
Showing with 372 additions and 362 deletions.
  1. +36 −0 mods/default/chests.lua
  2. +0 −286 mods/default/crafting.lua
  3. +289 −75 mods/default/craftitems.lua
  4. +9 −0 mods/default/furnace.lua
  5. +24 −1 mods/default/tools.lua
  6. +14 −0 mods/default/torch.lua
@@ -318,3 +318,39 @@ default.chest.register_chest("chest_locked", {
groups = {choppy = 2, oddly_breakable_by_hand = 2},
protected = true,
})

minetest.register_craft({
output = "default:chest",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"group:wood", "", "group:wood"},
{"group:wood", "group:wood", "group:wood"},
}
})

minetest.register_craft({
output = "default:chest_locked",
recipe = {
{"group:wood", "group:wood", "group:wood"},
{"group:wood", "default:steel_ingot", "group:wood"},
{"group:wood", "group:wood", "group:wood"},
}
})

minetest.register_craft( {
type = "shapeless",
output = "default:chest_locked",
recipe = {"default:chest", "default:steel_ingot"},
})

minetest.register_craft({
type = "fuel",
recipe = "default:chest",
burntime = 30,
})

minetest.register_craft({
type = "fuel",
recipe = "default:chest_locked",
burntime = 30,
})

0 comments on commit 6e32287

Please sign in to comment.
You can’t perform that action at this time.