Add stonebricks
authorPilzAdam <pilzadam@minetest.net>
Mon, 18 Mar 2013 14:31:50 +0000 (15:31 +0100)
committerPilzAdam <pilzadam@minetest.net>
Tue, 19 Mar 2013 16:42:26 +0000 (17:42 +0100)
mods/default/README.txt
mods/default/init.lua
mods/default/textures/default_cobble.png [changed mode: 0755->0644]
mods/default/textures/default_mossycobble.png [changed mode: 0755->0644]
mods/default/textures/default_stone_brick.png [new file with mode: 0755]
mods/stairs/init.lua

index 4520dda5de895f9d3692894bacfb6b0b7898bcb4..15bfd96b4d0676d8145f4945cf9affb1225ddced 100644 (file)
@@ -31,7 +31,7 @@ Cisoun's WTFPL texture pack:
   default_chest_lock.png
   default_chest_side.png
   default_chest_top.png
-  default_cobble.png
+  default_stone_brick.png
   default_dirt.png
   default_grass.png
   default_grass_side.png
@@ -39,7 +39,6 @@ Cisoun's WTFPL texture pack:
   default_jungletree_top.png
   default_lava.png
   default_leaves.png
-  default_mossycobble.png
   default_sand.png
   default_sapling.png
   default_sign_wall.png
@@ -60,6 +59,8 @@ Originating from G4JC's Almost MC Texture Pack:
   default_torch.png
   default_torch_on_ceiling.png
   default_torch_on_floor.png
+  default_cobble.png
+  default_mossycobble.png
 
 VanessaE's animated torches (WTFPL):
   default_torch_animated.png
index a0b1e7982ae8278957140045dbee52510edee243..e4a76b466133b48d4b1e04cc65612bbca7979a77 100644 (file)
@@ -531,6 +531,15 @@ minetest.register_craft({
                {'default:obsidian_shard', 'default:obsidian_shard', 'default:obsidian_shard'},
        }
 })
+
+minetest.register_craft({
+       output = 'default:stonebrick',
+       recipe = {
+               {'default:stone', 'default:stone'},
+               {'default:stone', 'default:stone'},
+       }
+})
+
 --
 -- Crafting (tool repair)
 --
@@ -827,6 +836,14 @@ minetest.register_node("default:stone_with_mese", {
        sounds = default.node_sound_stone_defaults(),
 })
 
+minetest.register_node("default:stonebrick", {
+       description = "Stone Brick",
+       tiles = {"default_stone_brick.png"},
+       is_ground_content = true,
+       groups = {cracky=3, stone=1},
+       sounds = default.node_sound_stone_defaults(),
+})
+
 minetest.register_node("default:dirt_with_grass", {
        description = "Dirt with Grass",
        tiles = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"},
old mode 100755 (executable)
new mode 100644 (file)
index bc79696..d68503c
Binary files a/mods/default/textures/default_cobble.png and b/mods/default/textures/default_cobble.png differ
old mode 100755 (executable)
new mode 100644 (file)
index ca72717..644303b
Binary files a/mods/default/textures/default_mossycobble.png and b/mods/default/textures/default_mossycobble.png differ
diff --git a/mods/default/textures/default_stone_brick.png b/mods/default/textures/default_stone_brick.png
new file mode 100755 (executable)
index 0000000..bc79696
Binary files /dev/null and b/mods/default/textures/default_stone_brick.png differ
index 1fd8f1b29a670873f2215419016914181063a576..25b06e597ce5df40c6c76eabe2c7ceffa121f905 100644 (file)
@@ -227,41 +227,48 @@ end
 stairs.register_stair_and_slab("wood", "default:wood",
                {snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
                {"default_wood.png"},
-               "Wooden stair",
-               "Wooden slab",
+               "Wooden Stair",
+               "Wooden Slab",
                default.node_sound_wood_defaults())
 
 stairs.register_stair_and_slab("stone", "default:stone",
                {cracky=3},
                {"default_stone.png"},
-               "Stone stair",
-               "Stone slab",
+               "Stone Stair",
+               "Stone Slab",
                default.node_sound_stone_defaults())
 
 stairs.register_stair_and_slab("cobble", "default:cobble",
                {cracky=3},
                {"default_cobble.png"},
-               "Cobble stair",
-               "Cobble slab",
+               "Cobble Stair",
+               "Cobble Slab",
                default.node_sound_stone_defaults())
 
 stairs.register_stair_and_slab("brick", "default:brick",
                {cracky=3},
                {"default_brick.png"},
-               "Brick stair",
-               "Brick slab",
+               "Brick Stair",
+               "Brick Slab",
                default.node_sound_stone_defaults())
 
 stairs.register_stair_and_slab("sandstone", "default:sandstone",
                {crumbly=2,cracky=2},
                {"default_sandstone.png"},
-               "Sandstone stair",
-               "Sandstone slab",
+               "Sandstone Stair",
+               "Sandstone Slab",
                default.node_sound_stone_defaults())
 
 stairs.register_stair_and_slab("junglewood", "default:junglewood",
                {snappy=2,choppy=2,oddly_breakable_by_hand=2,flammable=3},
                {"default_junglewood.png"},
-               "Junglewood stair",
-               "Junglewood slab",
+               "Junglewood Stair",
+               "Junglewood Slab",
                default.node_sound_wood_defaults())
+
+stairs.register_stair_and_slab("stonebrick", "default:stonebrick",
+               {cracky=3},
+               {"default_stone_brick.png"},
+               "Stone Brick Stair",
+               "Stone Brick Slab",
+               default.node_sound_stone_defaults())