Tweak more nodes, add a few new ones

- All blocks: is_ground_content = false

- New nodes: All-faces pine, acacia, and aspen trees

- Add most stones to the stone group
This commit is contained in:
Richard Qian 2016-12-05 14:27:37 -06:00 committed by sofar
parent dbba372137
commit 1b78097ab7
2 changed files with 96 additions and 12 deletions

View File

@ -123,6 +123,33 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = "moreblocks:all_faces_pine_tree 8",
recipe = {
{"default:pine_tree", "default:pine_tree", "default:pine_tree"},
{"default:pine_tree", "", "default:pine_tree"},
{"default:pine_tree", "default:pine_tree", "default:pine_tree"},
}
})
minetest.register_craft({
output = "moreblocks:all_faces_acacia_tree 8",
recipe = {
{"default:acacia_tree", "default:acacia_tree", "default:acacia_tree"},
{"default:acacia_tree", "", "default:acacia_tree"},
{"default:acacia_tree", "default:acacia_tree", "default:acacia_tree"},
}
})
minetest.register_craft({
output = "moreblocks:all_faces_aspen_tree 8",
recipe = {
{"default:aspen_tree", "default:aspen_tree", "default:aspen_tree"},
{"default:aspen_tree", "", "default:aspen_tree"},
{"default:aspen_tree", "default:aspen_tree", "default:aspen_tree"},
}
})
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:sweeper 4", output = "moreblocks:sweeper 4",
recipe = { recipe = {

View File

@ -25,6 +25,7 @@ local nodes = {
["wood_tile"] = { ["wood_tile"] = {
description = S("Wooden Tile"), description = S("Wooden Tile"),
groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = {"default_wood.png^moreblocks_wood_tile.png", tiles = {"default_wood.png^moreblocks_wood_tile.png",
"default_wood.png^moreblocks_wood_tile.png", "default_wood.png^moreblocks_wood_tile.png",
"default_wood.png^moreblocks_wood_tile.png", "default_wood.png^moreblocks_wood_tile.png",
@ -36,6 +37,7 @@ local nodes = {
["wood_tile_flipped"] = { ["wood_tile_flipped"] = {
description = S("Wooden Tile"), description = S("Wooden Tile"),
groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = {"default_wood.png^moreblocks_wood_tile.png^[transformR90", tiles = {"default_wood.png^moreblocks_wood_tile.png^[transformR90",
"default_wood.png^moreblocks_wood_tile.png^[transformR90", "default_wood.png^moreblocks_wood_tile.png^[transformR90",
"default_wood.png^moreblocks_wood_tile.png^[transformR90", "default_wood.png^moreblocks_wood_tile.png^[transformR90",
@ -48,18 +50,21 @@ local nodes = {
["wood_tile_center"] = { ["wood_tile_center"] = {
description = S("Centered Wooden Tile"), description = S("Centered Wooden Tile"),
groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = {"default_wood.png^moreblocks_wood_tile_center.png"}, tiles = {"default_wood.png^moreblocks_wood_tile_center.png"},
sounds = sound_wood, sounds = sound_wood,
}, },
["wood_tile_full"] = { ["wood_tile_full"] = {
description = S("Full Wooden Tile"), description = S("Full Wooden Tile"),
groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = tile_tiles("wood_tile_full"), tiles = tile_tiles("wood_tile_full"),
sounds = sound_wood, sounds = sound_wood,
}, },
["wood_tile_up"] = { ["wood_tile_up"] = {
description = S("Upwards Wooden Tile"), description = S("Upwards Wooden Tile"),
groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = {"default_wood.png^moreblocks_wood_tile_up.png"}, tiles = {"default_wood.png^moreblocks_wood_tile_up.png"},
sounds = sound_wood, sounds = sound_wood,
no_stairs = true, no_stairs = true,
@ -67,6 +72,7 @@ local nodes = {
["wood_tile_down"] = { ["wood_tile_down"] = {
description = S("Downwards Wooden Tile"), description = S("Downwards Wooden Tile"),
groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = {"default_wood.png^[transformR180^moreblocks_wood_tile_up.png^[transformR180"}, tiles = {"default_wood.png^[transformR180^moreblocks_wood_tile_up.png^[transformR180"},
sounds = sound_wood, sounds = sound_wood,
no_stairs = true, no_stairs = true,
@ -74,6 +80,7 @@ local nodes = {
["wood_tile_left"] = { ["wood_tile_left"] = {
description = S("Leftwards Wooden Tile"), description = S("Leftwards Wooden Tile"),
groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = {"default_wood.png^[transformR270^moreblocks_wood_tile_up.png^[transformR270"}, tiles = {"default_wood.png^[transformR270^moreblocks_wood_tile_up.png^[transformR270"},
sounds = sound_wood, sounds = sound_wood,
no_stairs = true, no_stairs = true,
@ -81,60 +88,71 @@ local nodes = {
["wood_tile_right"] = { ["wood_tile_right"] = {
description = S("Rightwards Wooden Tile"), description = S("Rightwards Wooden Tile"),
groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3}, groups = {wood = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
tiles = {"default_wood.png^[transformR90^moreblocks_wood_tile_up.png^[transformR90"}, tiles = {"default_wood.png^[transformR90^moreblocks_wood_tile_up.png^[transformR90"},
sounds = sound_wood, sounds = sound_wood,
no_stairs = true, no_stairs = true,
}, },
["circle_stone_bricks"] = { ["circle_stone_bricks"] = {
description = S("Circle Stone Bricks"), description = S("Circle Stone Bricks"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["grey_bricks"] = { ["grey_bricks"] = {
description = S("Stone Bricks"), description = S("Stone Bricks"),
groups = {cracky = 3}, groups = {cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["coal_stone_bricks"] = { ["coal_stone_bricks"] = {
description = S("Coal Stone Bricks"), description = S("Coal Stone Bricks"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["iron_stone_bricks"] = { ["iron_stone_bricks"] = {
description = S("Iron Stone Bricks"), description = S("Iron Stone Bricks"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["stone_tile"] = { ["stone_tile"] = {
description = S("Stone Tile"), description = S("Stone Tile"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["split_stone_tile"] = { ["split_stone_tile"] = {
description = S("Split Stone Tile"), description = S("Split Stone Tile"),
tiles = {"moreblocks_split_stone_tile_top.png", tiles = {"moreblocks_split_stone_tile_top.png",
"moreblocks_split_stone_tile.png"}, "moreblocks_split_stone_tile.png"},
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["split_stone_tile_alt"] = { ["split_stone_tile_alt"] = {
description = S("Checkered Stone Tile"), description = S("Checkered Stone Tile"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["tar"] = { ["tar"] = {
description = S("Tar"), description = S("Tar"),
groups = {cracky = 2, tar_block = 1}, groups = {cracky = 2, tar_block = 1},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["cobble_compressed"] = { ["cobble_compressed"] = {
description = S("Compressed Cobblestone"), description = S("Compressed Cobblestone"),
groups = {cracky = 1}, groups = {cracky = 1},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["plankstone"] = { ["plankstone"] = {
description = S("Plankstone"), description = S("Plankstone"),
groups = {cracky = 3}, groups = {cracky = 3},
is_ground_content = false,
tiles = tile_tiles("plankstone"), tiles = tile_tiles("plankstone"),
sounds = sound_stone, sounds = sound_stone,
}, },
@ -145,6 +163,7 @@ local nodes = {
tiles = {"moreblocks_iron_glass.png"}, tiles = {"moreblocks_iron_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass, sounds = sound_glass,
}, },
@ -155,6 +174,7 @@ local nodes = {
tiles = {"moreblocks_coal_glass.png"}, tiles = {"moreblocks_coal_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass, sounds = sound_glass,
}, },
@ -165,17 +185,20 @@ local nodes = {
tiles = {"moreblocks_clean_glass.png"}, tiles = {"moreblocks_clean_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass, sounds = sound_glass,
}, },
["cactus_brick"] = { ["cactus_brick"] = {
description = S("Cactus Brick"), description = S("Cactus Brick"),
groups = {cracky = 3}, groups = {cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["cactus_checker"] = { ["cactus_checker"] = {
description = S("Cactus Checker"), description = S("Cactus Checker"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
tiles = {"default_stone.png^moreblocks_cactus_checker.png", tiles = {"default_stone.png^moreblocks_cactus_checker.png",
"default_stone.png^moreblocks_cactus_checker.png", "default_stone.png^moreblocks_cactus_checker.png",
"default_stone.png^moreblocks_cactus_checker.png", "default_stone.png^moreblocks_cactus_checker.png",
@ -189,18 +212,21 @@ local nodes = {
tiles = {"default_wood.png", "default_wood.png", tiles = {"default_wood.png", "default_wood.png",
"moreblocks_empty_bookshelf.png"}, "moreblocks_empty_bookshelf.png"},
groups = {snappy = 2, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3}, groups = {snappy = 2, choppy = 3, oddly_breakable_by_hand = 2, flammable = 3},
is_ground_content = false,
sounds = sound_wood, sounds = sound_wood,
furnace_burntime = 15, furnace_burntime = 15,
no_stairs = true, no_stairs = true,
}, },
["coal_stone"] = { ["coal_stone"] = {
description = S("Coal Stone"), description = S("Coal Stone"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["iron_stone"] = { ["iron_stone"] = {
description = S("Iron Stone"), description = S("Iron Stone"),
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["coal_checker"] = { ["coal_checker"] = {
@ -211,7 +237,8 @@ local nodes = {
"default_stone.png^moreblocks_coal_checker.png", "default_stone.png^moreblocks_coal_checker.png",
"default_stone.png^moreblocks_coal_checker.png^[transformR90", "default_stone.png^moreblocks_coal_checker.png^[transformR90",
"default_stone.png^moreblocks_coal_checker.png^[transformR90"}, "default_stone.png^moreblocks_coal_checker.png^[transformR90"},
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["iron_checker"] = { ["iron_checker"] = {
@ -222,13 +249,15 @@ local nodes = {
"default_stone.png^moreblocks_iron_checker.png", "default_stone.png^moreblocks_iron_checker.png",
"default_stone.png^moreblocks_iron_checker.png^[transformR90", "default_stone.png^moreblocks_iron_checker.png^[transformR90",
"default_stone.png^moreblocks_iron_checker.png^[transformR90"}, "default_stone.png^moreblocks_iron_checker.png^[transformR90"},
groups = {cracky = 3}, groups = {stone = 1, cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
}, },
["trap_stone"] = { ["trap_stone"] = {
description = S("Trap Stone"), description = S("Trap Stone"),
walkable = false, walkable = false,
groups = {cracky = 3}, groups = {cracky = 3},
is_ground_content = false,
sounds = sound_stone, sounds = sound_stone,
no_stairs = true, no_stairs = true,
}, },
@ -239,6 +268,7 @@ local nodes = {
tiles = {"moreblocks_trap_glass.png"}, tiles = {"moreblocks_trap_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
walkable = false, walkable = false,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass, sounds = sound_glass,
@ -256,7 +286,28 @@ local nodes = {
tiles = {"default_jungletree_top.png"}, tiles = {"default_jungletree_top.png"},
groups = {tree = 1,snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2}, groups = {tree = 1,snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = sound_wood, sounds = sound_wood,
furnace_burntime = 30, furnace_burntime = 38,
},
["all_faces_pine_tree"] = {
description = S("All-faces Pine Tree"),
tiles = {"default_pine_tree_top.png"},
groups = {tree = 1,snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = sound_wood,
furnace_burntime = 26,
},
["all_faces_acacia_tree"] = {
description = S("All-faces Acacia Tree"),
tiles = {"default_acacia_tree_top.png"},
groups = {tree = 1,snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = sound_wood,
furnace_burntime = 34,
},
["all_faces_aspen_tree"] = {
description = S("All-faces Aspen Tree"),
tiles = {"default_aspen_tree_top.png"},
groups = {tree = 1,snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = sound_wood,
furnace_burntime = 22,
}, },
["glow_glass"] = { ["glow_glass"] = {
description = S("Glow Glass"), description = S("Glow Glass"),
@ -265,6 +316,7 @@ local nodes = {
tiles = {"moreblocks_glow_glass.png"}, tiles = {"moreblocks_glow_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
light_source = 11, light_source = 11,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass, sounds = sound_glass,
@ -276,6 +328,7 @@ local nodes = {
tiles = {"moreblocks_trap_glass.png"}, tiles = {"moreblocks_trap_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
light_source = 11, light_source = 11,
walkable = false, walkable = false,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
@ -289,6 +342,7 @@ local nodes = {
tiles = {"moreblocks_super_glow_glass.png"}, tiles = {"moreblocks_super_glow_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
light_source = 14, light_source = 14,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass, sounds = sound_glass,
@ -300,6 +354,7 @@ local nodes = {
tiles = {"moreblocks_trap_super_glow_glass.png"}, tiles = {"moreblocks_trap_super_glow_glass.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
light_source = 14, light_source = 14,
walkable = false, walkable = false,
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
@ -313,6 +368,7 @@ local nodes = {
wield_image = "moreblocks_rope.png", wield_image = "moreblocks_rope.png",
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false,
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
walkable = false, walkable = false,
climbable = true, climbable = true,
@ -324,6 +380,7 @@ local nodes = {
["copperpatina"] = { ["copperpatina"] = {
description = S("Copper Patina Block"), description = S("Copper Patina Block"),
groups = {cracky = 1, level = 2}, groups = {cracky = 1, level = 2},
is_ground_content = false,
sounds = sound_metal, sounds = sound_metal,
}, },
} }