forked from minetest-mods/moreblocks
New checker tetures (overlayed), make jungle wood use facedir if enabled.
This commit is contained in:
parent
350e1c5c2c
commit
3ead1f8710
36
nodes.lua
36
nodes.lua
@ -15,14 +15,24 @@ local nodes = {
|
||||
description = S("Wooden Tile"),
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||
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,
|
||||
},
|
||||
["wood_tile_flipped"] = {
|
||||
description = S("Wooden Tile"),
|
||||
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3},
|
||||
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,
|
||||
no_stairs = true,
|
||||
},
|
||||
@ -132,14 +142,18 @@ local nodes = {
|
||||
["cactus_brick"] = {
|
||||
description = S("Cactus Brick"),
|
||||
groups = {cracky=3},
|
||||
paramtype2 = "facedir",
|
||||
sounds = sound_stone,
|
||||
},
|
||||
["cactus_checker"] = {
|
||||
description = S("Cactus Checker"),
|
||||
groups = {cracky=3},
|
||||
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,
|
||||
},
|
||||
["empty_bookshelf"] = {
|
||||
@ -162,14 +176,24 @@ local nodes = {
|
||||
},
|
||||
["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",
|
||||
groups = {cracky=3},
|
||||
sounds = sound_stone,
|
||||
},
|
||||
["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",
|
||||
groups = {cracky=3},
|
||||
sounds = sound_stone,
|
||||
|
@ -68,15 +68,22 @@ minetest.register_craft({
|
||||
|
||||
-- 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
|
||||
minetest.override_item("default:wood", {
|
||||
paramtype2 = "facedir",
|
||||
})
|
||||
minetest.override_item("default:junglewood", {
|
||||
paramtype2 = "facedir",
|
||||
})
|
||||
minetest.override_item("default:brick", {
|
||||
paramtype2 = "facedir",
|
||||
})
|
||||
minetest.override_item("moreblocks:cactus_brick", {
|
||||
paramtype2 = "facedir",
|
||||
})
|
||||
end
|
||||
|
||||
-- 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 |
Loading…
Reference in New Issue
Block a user