diff options
-rw-r--r-- | nodes.lua | 36 | ||||
-rw-r--r-- | redefinitions.lua | 9 | ||||
-rw-r--r-- | textures/moreblocks_cactus_checker.png | bin | 736 -> 693 bytes | |||
-rw-r--r-- | textures/moreblocks_coal_checker.png | bin | 325 -> 744 bytes | |||
-rw-r--r-- | textures/moreblocks_iron_checker.png | bin | 326 -> 850 bytes |
5 files changed, 38 insertions, 7 deletions
@@ -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 Binary files differindex 134766a..99c2677 100644 --- a/textures/moreblocks_cactus_checker.png +++ b/textures/moreblocks_cactus_checker.png diff --git a/textures/moreblocks_coal_checker.png b/textures/moreblocks_coal_checker.png Binary files differindex 7619e56..3df90c3 100644 --- a/textures/moreblocks_coal_checker.png +++ b/textures/moreblocks_coal_checker.png diff --git a/textures/moreblocks_iron_checker.png b/textures/moreblocks_iron_checker.png Binary files differindex fb11fdb..d27f4df 100644 --- a/textures/moreblocks_iron_checker.png +++ b/textures/moreblocks_iron_checker.png |