From da66780a569712c23ae4f2996cfb4608a9f9d69d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 20:02:19 -0400 Subject: copy all standard Dreambuilder mods in from the old subgame (exactly as last supplied there, updates to these mods will follow later) --- bedrock/LICENSE.txt | 13 +++++++++++ bedrock/depends.txt | 1 + bedrock/init.lua | 41 +++++++++++++++++++++++++++++++++ bedrock/textures/bedrock_bedrock.png | Bin 0 -> 682 bytes bedrock/textures/bedrock_deepstone.png | Bin 0 -> 373 bytes 5 files changed, 55 insertions(+) create mode 100644 bedrock/LICENSE.txt create mode 100644 bedrock/depends.txt create mode 100644 bedrock/init.lua create mode 100644 bedrock/textures/bedrock_bedrock.png create mode 100644 bedrock/textures/bedrock_deepstone.png (limited to 'bedrock') 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 new file mode 100644 index 0000000..09495f0 Binary files /dev/null and b/bedrock/textures/bedrock_bedrock.png differ diff --git a/bedrock/textures/bedrock_deepstone.png b/bedrock/textures/bedrock_deepstone.png new file mode 100644 index 0000000..f2e1e3b Binary files /dev/null and b/bedrock/textures/bedrock_deepstone.png differ -- cgit v1.2.3