diff options
Diffstat (limited to 'bedrock')
-rw-r--r-- | bedrock/LICENSE.txt | 13 | ||||
-rw-r--r-- | bedrock/depends.txt | 1 | ||||
-rw-r--r-- | bedrock/init.lua | 41 | ||||
-rw-r--r-- | bedrock/textures/bedrock_bedrock.png | bin | 0 -> 682 bytes | |||
-rw-r--r-- | bedrock/textures/bedrock_deepstone.png | bin | 0 -> 373 bytes |
5 files changed, 55 insertions, 0 deletions
diff --git a/bedrock/LICENSE.txt b/bedrock/LICENSE.txt new file mode 100644 index 0000000..726257d --- /dev/null +++ b/bedrock/LICENSE.txt @@ -0,0 +1,13 @@ ++---- zlib/libpng license ----+ + +Copyright (c) 2013-2014 Calinou and contributors + +This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. + +3. This notice may not be removed or altered from any source distribution. diff --git a/bedrock/depends.txt b/bedrock/depends.txt new file mode 100644 index 0000000..4ad96d5 --- /dev/null +++ b/bedrock/depends.txt @@ -0,0 +1 @@ +default diff --git a/bedrock/init.lua b/bedrock/init.lua new file mode 100644 index 0000000..1f4bc1a --- /dev/null +++ b/bedrock/init.lua @@ -0,0 +1,41 @@ +minetest.register_ore({ + ore_type = "scatter", + ore = "bedrock:bedrock", + wherein = "default:stone", + clust_scarcity = 1 * 1 * 1, + clust_num_ores = 5, + clust_size = 2, + y_min = -30912, -- Engine changes can modify this value. + y_max = -30656, -- This ensures the bottom of the world is not even loaded. +}) + +minetest.register_ore({ + ore_type = "scatter", + ore = "bedrock:deepstone", + wherein = "default:stone", + clust_scarcity = 1 * 1 * 1, + clust_num_ores = 5, + clust_size = 2, + y_min = -30656, + y_max = -30000, +}) + +minetest.register_node("bedrock:bedrock", { + description = "Bedrock", + tiles = {"bedrock_bedrock.png"}, + drop = "", + groups = {unbreakable = 1, not_in_creative_inventory = 1}, -- For Map Tools' admin pickaxe. + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_node("bedrock:deepstone", { + description = "Deepstone", + tiles = {"bedrock_deepstone.png"}, + drop = "default:stone", -- Intended. + groups = {cracky = 1}, + sounds = default.node_sound_stone_defaults(), +}) + +if minetest.setting_getbool("log_mods") then + minetest.log("action", "[bedrock] loaded.") +end diff --git a/bedrock/textures/bedrock_bedrock.png b/bedrock/textures/bedrock_bedrock.png Binary files differnew file mode 100644 index 0000000..09495f0 --- /dev/null +++ b/bedrock/textures/bedrock_bedrock.png diff --git a/bedrock/textures/bedrock_deepstone.png b/bedrock/textures/bedrock_deepstone.png Binary files differnew file mode 100644 index 0000000..f2e1e3b --- /dev/null +++ b/bedrock/textures/bedrock_deepstone.png |