aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalinou <calinou@opmbx.org>2014-06-02 19:26:56 +0200
committerCalinou <calinou@opmbx.org>2014-06-02 19:26:56 +0200
commit3ead1f8710a3c41712068234f7d34f107536aba9 (patch)
treeee37f1f1eafc483e070a547a28105d70423740a0
parent350e1c5c2c1417a9546629db6b50e8b9024ba2ef (diff)
downloadmoreblocks-3ead1f8710a3c41712068234f7d34f107536aba9.tar.gz
moreblocks-3ead1f8710a3c41712068234f7d34f107536aba9.tar.bz2
moreblocks-3ead1f8710a3c41712068234f7d34f107536aba9.zip
New checker tetures (overlayed), make jungle wood use facedir if enabled.
-rw-r--r--nodes.lua36
-rw-r--r--redefinitions.lua9
-rw-r--r--textures/moreblocks_cactus_checker.pngbin736 -> 693 bytes
-rw-r--r--textures/moreblocks_coal_checker.pngbin325 -> 744 bytes
-rw-r--r--textures/moreblocks_iron_checker.pngbin326 -> 850 bytes
5 files changed, 38 insertions, 7 deletions
diff --git a/nodes.lua b/nodes.lua
index f8ac25f..74a7938 100644
--- a/nodes.lua
+++ b/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,
diff --git a/redefinitions.lua b/redefinitions.lua
index 4d1f361..5b7f41f 100644
--- a/redefinitions.lua
+++ b/redefinitions.lua
@@ -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:
diff --git a/textures/moreblocks_cactus_checker.png b/textures/moreblocks_cactus_checker.png
index 134766a..99c2677 100644
--- a/textures/moreblocks_cactus_checker.png
+++ b/textures/moreblocks_cactus_checker.png
Binary files differ
diff --git a/textures/moreblocks_coal_checker.png b/textures/moreblocks_coal_checker.png
index 7619e56..3df90c3 100644
--- a/textures/moreblocks_coal_checker.png
+++ b/textures/moreblocks_coal_checker.png
Binary files differ
diff --git a/textures/moreblocks_iron_checker.png b/textures/moreblocks_iron_checker.png
index fb11fdb..d27f4df 100644
--- a/textures/moreblocks_iron_checker.png
+++ b/textures/moreblocks_iron_checker.png
Binary files differ