From 919c9d152bcb6c422ec6195018187f7607e985a3 Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Mon, 7 Apr 2014 16:29:00 +0200 Subject: [PATCH] Add Desert Cobblestone --- README.txt | 2 ++ mods/default/crafting.lua | 6 ++++++ mods/default/nodes.lua | 10 +++++++++- mods/default/textures/default_desert_cobble.png | Bin 0 -> 348 bytes 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 mods/default/textures/default_desert_cobble.png diff --git a/README.txt b/README.txt index 8da87be..60aecce 100644 --- a/README.txt +++ b/README.txt @@ -51,3 +51,5 @@ http://creativecommons.org/licenses/by-sa/3.0/ License of menu/header.png Copyright (C) 2013 BlockMen CC BY-3.0 +License of mods/default/textures/default_desert_cobble.png +Copyright (C) 2014 brunob.santos CC-BY-SA 4.0 diff --git a/mods/default/crafting.lua b/mods/default/crafting.lua index c4f353a..1d5d4ec 100644 --- a/mods/default/crafting.lua +++ b/mods/default/crafting.lua @@ -581,6 +581,12 @@ minetest.register_craft({ recipe = "default:cobble", }) +minetest.register_craft({ + type = "cooking", + output = "default:desert_stone", + recipe = "default:desert_cobble", +}) + minetest.register_craft({ type = "cooking", output = "default:steel_ingot", diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 3611a0e..9f541de 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -15,7 +15,7 @@ minetest.register_node("default:desert_stone", { tiles = {"default_desert_stone.png"}, is_ground_content = true, groups = {cracky=3, stone=1}, - drop = 'default:desert_stone', + drop = 'default:desert_cobble', legacy_mineral = true, sounds = default.node_sound_stone_defaults(), }) @@ -1088,6 +1088,14 @@ minetest.register_node("default:cobble", { sounds = default.node_sound_stone_defaults(), }) +minetest.register_node("default:desert_cobble", { + description = "Desert Cobblestone", + tiles = {"default_desert_cobble.png"}, + is_ground_content = true, + groups = {cracky=3, stone=2}, + sounds = default.node_sound_stone_defaults(), +}) + minetest.register_node("default:mossycobble", { description = "Mossy Cobblestone", tiles = {"default_mossycobble.png"}, diff --git a/mods/default/textures/default_desert_cobble.png b/mods/default/textures/default_desert_cobble.png new file mode 100644 index 0000000000000000000000000000000000000000..00deb1423fc50979994c7254c617c0fba82c2228 GIT binary patch literal 348 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPF?NMQuI#s2Sh++^r5zV3VI@oMD4OFBO;1lASXsuW7Y2N5>)8ud4=ixCa(sfFd>r8+DRngJgDwB6M zWbNxJ(_9*o22?-I)5S4_LzeZRBUh7y2-}1DzJ!E@t1A)`%rhc8x~DakGD==Z<$lid zHqE8QJWoh#M&@Mik43feB}d|~&y}`W{3vSHUn%45E^1;QPVGwEV63;q;{H{61@BvL zRIJZTi)7Ju+c-tk_&dk_<1v%pD8_M^HVJA*@4u1i5+7I;{FX78S1DEKPttqY>h{j} k2N$nYjoBqCEqvOZ!P{i})p&7!pbHs1UHx3vIVCg!0063W*Z=?k literal 0 HcmV?d00001