Move keys to a separate mod (Fix #1490)
This commit is contained in:
parent
0c1252bcf5
commit
40861c9e4f
41 changed files with 288 additions and 162 deletions
28
mods/keys/crafting.lua
Normal file
28
mods/keys/crafting.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
--
|
||||
-- Crafting recipes
|
||||
--
|
||||
|
||||
minetest.register_craft({
|
||||
output = "keys:skeleton_key",
|
||||
recipe = {
|
||||
{"default:gold_ingot"},
|
||||
}
|
||||
})
|
||||
|
||||
--
|
||||
-- Cooking recipes
|
||||
--
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:gold_ingot",
|
||||
recipe = "keys:key",
|
||||
cooktime = 5,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "default:gold_ingot",
|
||||
recipe = "keys:skeleton_key",
|
||||
cooktime = 5,
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue