Add obsidianbrick
authorHybridDog <adresse_test@t-online.de>
Sat, 8 Jun 2013 16:08:48 +0000 (18:08 +0200)
committerPilzAdam <pilzadam@minetest.net>
Fri, 12 Dec 2014 15:04:27 +0000 (16:04 +0100)
use Zeg9`s texture

mods/default/crafting.lua
mods/default/nodes.lua
mods/default/textures/default_obsidian_brick.png [new file with mode: 0644]

index 448e3e93dbbc6362ed4176640fbedc5170602911..ce97337be59c726f5663ac0aa792a4bea4cfb23f 100644 (file)
@@ -580,6 +580,14 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = 'default:obsidianbrick',
+       recipe = {
+               {'default:obsidian', 'default:obsidian'},
+               {'default:obsidian', 'default:obsidian'}
+       }
+})
+
 minetest.register_craft({
        output = 'default:stonebrick 4',
        recipe = {
index b0f7287b0caca9c07fe36131e7772198dcef2486..5bbe79d2176c8b1bac5b2da2287d00eb5a2f4a74 100644 (file)
@@ -64,7 +64,7 @@ minetest.register_node("default:stone_with_gold", {
        drop = "default:gold_lump",
        sounds = default.node_sound_stone_defaults(),
 })
-       
+
 minetest.register_node("default:stone_with_diamond", {
        description = "Diamond Ore",
        tiles = {"default_stone.png^default_mineral_diamond.png"},
@@ -733,7 +733,7 @@ minetest.register_node("default:sign_wall", {
        end,
 })
 
-default.chest_formspec = 
+default.chest_formspec =
        "size[8,9]"..
        default.gui_bg..
        default.gui_bg_img..
@@ -968,6 +968,13 @@ minetest.register_node("default:obsidian", {
        groups = {cracky=1,level=2},
 })
 
+minetest.register_node("default:obsidianbrick", {
+       description = "Obsidian Brick",
+       tiles = {"default_obsidian_brick.png"},
+       sounds = default.node_sound_stone_defaults(),
+       groups = {cracky=1,level=2},
+})
+
 minetest.register_node("default:nyancat", {
        description = "Nyan Cat",
        tiles = {"default_nc_side.png", "default_nc_side.png", "default_nc_side.png",
diff --git a/mods/default/textures/default_obsidian_brick.png b/mods/default/textures/default_obsidian_brick.png
new file mode 100644 (file)
index 0000000..2d938af
Binary files /dev/null and b/mods/default/textures/default_obsidian_brick.png differ