From: Sfan5 Date: Mon, 7 Apr 2014 14:29:00 +0000 (+0200) Subject: Add Desert Cobblestone X-Git-Tag: 0.4.10~41 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=919c9d152bcb6c422ec6195018187f7607e985a3;p=oweals%2Fminetest_game.git Add Desert Cobblestone --- diff --git a/README.txt b/README.txt index 8da87bee..60aecce1 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 c4f353a1..1d5d4ece 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 3611a0e2..9f541deb 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 00000000..00deb142 Binary files /dev/null and b/mods/default/textures/default_desert_cobble.png differ