From 608e51f16d7c7df02a96c9d899f60bbaa98d75d8 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sat, 8 Jun 2013 18:08:48 +0200 Subject: [PATCH] Add obsidianbrick use Zeg9`s texture --- mods/default/crafting.lua | 8 ++++++++ mods/default/nodes.lua | 11 +++++++++-- mods/default/textures/default_obsidian_brick.png | Bin 0 -> 418 bytes 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 mods/default/textures/default_obsidian_brick.png diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index 448e3e93..ce97337b 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -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 = { diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index b0f7287b..5bbe79d2 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -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 index 0000000000000000000000000000000000000000..2d938afa0bfc5d6f8aecdb98e50a2387b882a4aa GIT binary patch literal 418 zcmV;T0bTxyP)b3v?0WV2J zK~y-)rIJre!$1(lf7@(K1^b5xK}|_0J*1x@(9i9~o8ZBNcoL-tG1P-%gs~pPCai~& zHLW%+`e0#rGy7(C=czc34S?1ffTAea6E(pFGbgoGy#f0nbN75D`kJV^787 z`QZ6DZW|THu@RBRPQ73VfIQ!?@FIfVWz_YHb+op1-3Hy%wG!$016uAr@-(&6^nxKG z*Qn8GWb!=cFAx!w>m3+lO3KBDO*n4*d&Ir2jf>AW8&~!Efdi~s-t literal 0 HcmV?d00001 -- 2.25.1