Add flower pot craft, rename brick stuff
This commit is contained in:
parent
b8aec37c98
commit
147a983956
@ -75,7 +75,7 @@ local function set_inv(filter, player)
|
||||
table.sort(creative_list)
|
||||
inv:set_size("main", #creative_list)
|
||||
for _,itemstring in ipairs(creative_list) do
|
||||
inv:add_item("main", ItemStack(itemstring))
|
||||
inv:add_item("main", ItemStack(itemstring .. " " .. minetest.registered_items[itemstring].stack_max))
|
||||
end
|
||||
crafting.creative_inventory_size = #creative_list
|
||||
end
|
||||
|
@ -577,10 +577,10 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'mcl_core:brick',
|
||||
output = 'mcl_core:brick_block',
|
||||
recipe = {
|
||||
{'mcl_core:clay_brick', 'mcl_core:clay_brick'},
|
||||
{'mcl_core:clay_brick', 'mcl_core:clay_brick'},
|
||||
{'mcl_core:brick', 'mcl_core:brick'},
|
||||
{'mcl_core:brick', 'mcl_core:brick'},
|
||||
}
|
||||
})
|
||||
|
||||
@ -817,7 +817,7 @@ minetest.register_craft({
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
output = "mcl_core:clay_brick",
|
||||
output = "mcl_core:brick",
|
||||
recipe = "mcl_core:clay_lump",
|
||||
cooktime = 10,
|
||||
})
|
||||
|
@ -90,7 +90,7 @@ minetest.register_craftitem("mcl_core:emerald", {
|
||||
groups = { craftitem=1 },
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_core:clay_brick", {
|
||||
minetest.register_craftitem("mcl_core:brick", {
|
||||
description = "Brick",
|
||||
inventory_image = "default_clay_brick.png",
|
||||
stack_max = 64,
|
||||
|
@ -411,8 +411,9 @@ minetest.register_node("mcl_core:clay", {
|
||||
}),
|
||||
})
|
||||
|
||||
minetest.register_node("mcl_core:brick", {
|
||||
description = "Bricks",
|
||||
minetest.register_node("mcl_core:brick_block", {
|
||||
-- Original name: “Bricks”
|
||||
description = "Brick Block",
|
||||
tiles = {"default_brick.png"},
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
|
@ -331,6 +331,14 @@ minetest.register_node("mcl_flowers:pot",{
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_flowers:pot",
|
||||
recipe = {
|
||||
{ "mcl_core:brick", "", "mcl_core:brick", },
|
||||
{ "", "mcl_core:brick", "" },
|
||||
},
|
||||
})
|
||||
|
||||
-- Lily Pad
|
||||
minetest.register_node("mcl_flowers:waterlily", {
|
||||
description = "Lily Pad",
|
||||
|
@ -662,7 +662,7 @@ end
|
||||
for _,v in ipairs({
|
||||
"stone",
|
||||
"cobble",
|
||||
"brick",
|
||||
"brick_block",
|
||||
"sandstone",
|
||||
"redsandstone",
|
||||
"stonebrick",
|
||||
|
@ -277,11 +277,13 @@ stairs.register_stair_and_slab("cobble", "mcl_core:cobble",
|
||||
"Cobblestone Slab",
|
||||
mcl_core.node_sound_stone_defaults())
|
||||
|
||||
stairs.register_stair_and_slab("brick", "mcl_core:brick",
|
||||
stairs.register_stair_and_slab("brick_block", "mcl_core:brick_block",
|
||||
{cracky=3},
|
||||
{"default_brick.png"},
|
||||
"Bricks Stairs",
|
||||
"Bricks Slab",
|
||||
-- Original name: Bricks Stairs
|
||||
"Brick Block Stairs",
|
||||
-- Original name: Bricks Slab
|
||||
"Brick Block Slab",
|
||||
mcl_core.node_sound_stone_defaults())
|
||||
|
||||
stairs.register_stair_and_slab("sandstone", "group:sandstone",
|
||||
|
Loading…
Reference in New Issue
Block a user