New checker tetures (overlayed), make jungle wood use facedir if enabled.

This commit is contained in:
Calinou 2014-06-02 19:26:56 +02:00
parent 350e1c5c2c
commit 3ead1f8710
5 changed files with 38 additions and 7 deletions

View File

@ -15,14 +15,24 @@ local nodes = {
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},
paramtype2 = "facedir", paramtype2 = "facedir",
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^[transformR90", "default_wood.png^moreblocks_wood_tile.png^[transformR90"}, 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^[transformR90",
"default_wood.png^moreblocks_wood_tile.png^[transformR90"},
sounds = sound_wood, sounds = sound_wood,
}, },
["wood_tile_flipped"] = { ["wood_tile_flipped"] = {
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},
paramtype2 = "facedir", paramtype2 = "facedir",
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^[transformR180", "default_wood.png^moreblocks_wood_tile.png^[transformR180"}, 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^[transformR180",
"default_wood.png^moreblocks_wood_tile.png^[transformR180"},
sounds = sound_wood, sounds = sound_wood,
no_stairs = true, no_stairs = true,
}, },
@ -132,14 +142,18 @@ local nodes = {
["cactus_brick"] = { ["cactus_brick"] = {
description = S("Cactus Brick"), description = S("Cactus Brick"),
groups = {cracky=3}, groups = {cracky=3},
paramtype2 = "facedir",
sounds = sound_stone, sounds = sound_stone,
}, },
["cactus_checker"] = { ["cactus_checker"] = {
description = S("Cactus Checker"), description = S("Cactus Checker"),
groups = {cracky=3}, groups = {cracky=3},
paramtype2 = "facedir", paramtype2 = "facedir",
tiles = tile_tiles("cactus_checker"), 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^[transformR90",
"default_stone.png^moreblocks_cactus_checker.png^[transformR90"},
sounds = sound_stone, sounds = sound_stone,
}, },
["empty_bookshelf"] = { ["empty_bookshelf"] = {
@ -162,14 +176,24 @@ local nodes = {
}, },
["coal_checker"] = { ["coal_checker"] = {
description = S("Coal Checker"), description = S("Coal Checker"),
tiles = tile_tiles("coal_checker"), tiles = {"default_stone.png^moreblocks_coal_checker.png",
"default_stone.png^moreblocks_coal_checker.png",
"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"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky=3}, groups = {cracky=3},
sounds = sound_stone, sounds = sound_stone,
}, },
["iron_checker"] = { ["iron_checker"] = {
description = S("Iron Checker"), description = S("Iron Checker"),
tiles = tile_tiles("iron_checker"), tiles = {"default_stone.png^moreblocks_iron_checker.png",
"default_stone.png^moreblocks_iron_checker.png",
"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"},
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky=3}, groups = {cracky=3},
sounds = sound_stone, sounds = sound_stone,

View File

@ -68,15 +68,22 @@ minetest.register_craft({
-- Redefinitions of some default nodes: -- Redefinitions of some default nodes:
if minetest.override_item then -- Don't bother overriding nodes if minetest.override_item isn't available. -- Don't bother overriding nodes if minetest.override_item isn't available.
if minetest.override_item then
if moreblocks.config.wood_facedir then if moreblocks.config.wood_facedir then
minetest.override_item("default:wood", { minetest.override_item("default:wood", {
paramtype2 = "facedir", paramtype2 = "facedir",
}) })
minetest.override_item("default:junglewood", {
paramtype2 = "facedir",
})
minetest.override_item("default:brick", { minetest.override_item("default:brick", {
paramtype2 = "facedir", paramtype2 = "facedir",
}) })
minetest.override_item("moreblocks:cactus_brick", {
paramtype2 = "facedir",
})
end end
-- Make glass and obsidian glass framed, like the More Blocks glasses: -- Make glass and obsidian glass framed, like the More Blocks glasses:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 736 B

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 B

After

Width:  |  Height:  |  Size: 744 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 326 B

After

Width:  |  Height:  |  Size: 850 B