forked from VoxeLibre/VoxeLibre
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)
|
table.sort(creative_list)
|
||||||
inv:set_size("main", #creative_list)
|
inv:set_size("main", #creative_list)
|
||||||
for _,itemstring in ipairs(creative_list) do
|
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
|
end
|
||||||
crafting.creative_inventory_size = #creative_list
|
crafting.creative_inventory_size = #creative_list
|
||||||
end
|
end
|
||||||
|
|
|
@ -577,10 +577,10 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'mcl_core:brick',
|
output = 'mcl_core:brick_block',
|
||||||
recipe = {
|
recipe = {
|
||||||
{'mcl_core:clay_brick', 'mcl_core:clay_brick'},
|
{'mcl_core:brick', 'mcl_core:brick'},
|
||||||
{'mcl_core:clay_brick', 'mcl_core:clay_brick'},
|
{'mcl_core:brick', 'mcl_core:brick'},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -817,7 +817,7 @@ minetest.register_craft({
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
output = "mcl_core:clay_brick",
|
output = "mcl_core:brick",
|
||||||
recipe = "mcl_core:clay_lump",
|
recipe = "mcl_core:clay_lump",
|
||||||
cooktime = 10,
|
cooktime = 10,
|
||||||
})
|
})
|
||||||
|
|
|
@ -90,7 +90,7 @@ minetest.register_craftitem("mcl_core:emerald", {
|
||||||
groups = { craftitem=1 },
|
groups = { craftitem=1 },
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_core:clay_brick", {
|
minetest.register_craftitem("mcl_core:brick", {
|
||||||
description = "Brick",
|
description = "Brick",
|
||||||
inventory_image = "default_clay_brick.png",
|
inventory_image = "default_clay_brick.png",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
|
|
@ -411,8 +411,9 @@ minetest.register_node("mcl_core:clay", {
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("mcl_core:brick", {
|
minetest.register_node("mcl_core:brick_block", {
|
||||||
description = "Bricks",
|
-- Original name: “Bricks”
|
||||||
|
description = "Brick Block",
|
||||||
tiles = {"default_brick.png"},
|
tiles = {"default_brick.png"},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
|
|
|
@ -331,6 +331,14 @@ minetest.register_node("mcl_flowers:pot",{
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mcl_flowers:pot",
|
||||||
|
recipe = {
|
||||||
|
{ "mcl_core:brick", "", "mcl_core:brick", },
|
||||||
|
{ "", "mcl_core:brick", "" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
-- Lily Pad
|
-- Lily Pad
|
||||||
minetest.register_node("mcl_flowers:waterlily", {
|
minetest.register_node("mcl_flowers:waterlily", {
|
||||||
description = "Lily Pad",
|
description = "Lily Pad",
|
||||||
|
|
|
@ -662,7 +662,7 @@ end
|
||||||
for _,v in ipairs({
|
for _,v in ipairs({
|
||||||
"stone",
|
"stone",
|
||||||
"cobble",
|
"cobble",
|
||||||
"brick",
|
"brick_block",
|
||||||
"sandstone",
|
"sandstone",
|
||||||
"redsandstone",
|
"redsandstone",
|
||||||
"stonebrick",
|
"stonebrick",
|
||||||
|
|
|
@ -277,11 +277,13 @@ stairs.register_stair_and_slab("cobble", "mcl_core:cobble",
|
||||||
"Cobblestone Slab",
|
"Cobblestone Slab",
|
||||||
mcl_core.node_sound_stone_defaults())
|
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},
|
{cracky=3},
|
||||||
{"default_brick.png"},
|
{"default_brick.png"},
|
||||||
"Bricks Stairs",
|
-- Original name: Bricks Stairs
|
||||||
"Bricks Slab",
|
"Brick Block Stairs",
|
||||||
|
-- Original name: Bricks Slab
|
||||||
|
"Brick Block Slab",
|
||||||
mcl_core.node_sound_stone_defaults())
|
mcl_core.node_sound_stone_defaults())
|
||||||
|
|
||||||
stairs.register_stair_and_slab("sandstone", "group:sandstone",
|
stairs.register_stair_and_slab("sandstone", "group:sandstone",
|
||||||
|
|
Loading…
Reference in New Issue