summaryrefslogtreecommitdiff
path: root/bedrock/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 20:02:19 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2016-04-01 21:09:33 -0400
commitda66780a569712c23ae4f2996cfb4608a9f9d69d (patch)
tree217556029a78bc23ad4564720afc86de97228a04 /bedrock/init.lua
parent615b22df4d423aded3613db7716943a2f389b047 (diff)
downloaddreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.gz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.bz2
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.tar.xz
dreambuilder_modpack-da66780a569712c23ae4f2996cfb4608a9f9d69d.zip
copy all standard Dreambuilder mods in from the old subgame
(exactly as last supplied there, updates to these mods will follow later)
Diffstat (limited to 'bedrock/init.lua')
-rw-r--r--bedrock/init.lua41
1 files changed, 41 insertions, 0 deletions
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