add recipes
This commit is contained in:
parent
e64a3ef9f0
commit
e5d0c42640
19
init.lua
19
init.lua
@ -406,11 +406,21 @@ local function register_board(board_name, board_def)
|
||||
minetest.register_node(board_name, bulletin_board_def)
|
||||
end
|
||||
|
||||
if minetest.get_modpath("default") then
|
||||
|
||||
register_board("bulletin_boards:bulletin_board_basic", {
|
||||
desc = S("Public Bulletin Board"),
|
||||
cost = "default:paper",
|
||||
icons = base_icons,
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "bulletin_boards:bulletin_board_basic",
|
||||
recipe = {
|
||||
{'group:wood', 'group:wood', 'group:wood'},
|
||||
{'group:wood', 'default:paper', 'group:wood'},
|
||||
{'group:wood', 'group:wood', 'group:wood'},
|
||||
},
|
||||
})
|
||||
|
||||
register_board("bulletin_boards:bulletin_board_copper", {
|
||||
desc = S("Copper Board"),
|
||||
@ -418,3 +428,12 @@ register_board("bulletin_boards:bulletin_board_copper", {
|
||||
foreground = "bulletin_boards_frame_copper.png",
|
||||
icons = base_icons,
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = "bulletin_boards:bulletin_board_copper",
|
||||
recipe = {
|
||||
{"default:copper_ingot", "default:copper_ingot", "default:copper_ingot"},
|
||||
{"default:copper_ingot", 'default:paper', "default:copper_ingot"},
|
||||
{"default:copper_ingot", "default:copper_ingot", "default:copper_ingot"},
|
||||
},
|
||||
})
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user