diff --git a/mods/bedrock/COPYING b/mods/bedrock/COPYING deleted file mode 100755 index 5a8e3325..00000000 --- a/mods/bedrock/COPYING +++ /dev/null @@ -1,14 +0,0 @@ - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2004 Sam Hocevar - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. - diff --git a/mods/bedrock/README.txt b/mods/bedrock/README.txt deleted file mode 100755 index 6b108627..00000000 --- a/mods/bedrock/README.txt +++ /dev/null @@ -1,10 +0,0 @@ -Bedrock mod. - -Version 0.2.0 - -This mod adds an indestructible bedrock layer at the bottom of the world. - - -This mod recognizes the following minetest.conf setting: - -* `bedrock2_y`: Sets the Y coordinate on which the bedrock layer will be created (default: -30912). diff --git a/mods/bedrock/depends.txt b/mods/bedrock/depends.txt deleted file mode 100755 index c50cc917..00000000 --- a/mods/bedrock/depends.txt +++ /dev/null @@ -1,2 +0,0 @@ -mesecons_mvps? -watershed? diff --git a/mods/bedrock/description.txt b/mods/bedrock/description.txt deleted file mode 100755 index 0de789f6..00000000 --- a/mods/bedrock/description.txt +++ /dev/null @@ -1 +0,0 @@ -Adds an indestructable bedrock layer at the bottom of the world. diff --git a/mods/bedrock/init.lua b/mods/bedrock/init.lua deleted file mode 100755 index 3d098465..00000000 --- a/mods/bedrock/init.lua +++ /dev/null @@ -1,47 +0,0 @@ -local bedrock = {} - -bedrock.layer = -30912 -- determined as appropriate by experiment -bedrock.node = {name = "bedrock:bedrock"} - -local depth = tonumber(minetest.setting_get("bedrock_y")) -if depth ~= nil then - bedrock.layer = depth -end - -minetest.register_on_generated(function(minp, maxp) - if maxp.y >= bedrock.layer and minp.y <= bedrock.layer then - local vm, emin, emax = minetest.get_mapgen_object("voxelmanip") - local data = vm:get_data() - local area = VoxelArea:new({MinEdge=emin, MaxEdge=emax}) - local c_bedrock = minetest.get_content_id("bedrock:bedrock") - - for x = minp.x, maxp.x do - for z = minp.z, maxp.z do - local p_pos = area:index(x, bedrock.layer, z) - data[p_pos] = c_bedrock - end - end - - vm:set_data(data) - vm:calc_lighting() - vm:update_liquids() - vm:write_to_map() - end -end) - -minetest.register_node("bedrock:bedrock", { - description = "Bedrock", - tiles = {"bedrock_bedrock.png"}, - groups = {immortal=1, not_in_creative_inventory=1, unbreakable = 1}, - sounds = { footstep = { name = "bedrock_step", gain = 1 } }, - is_ground_content = false, - on_blast = function() end, - on_destruct = function () end, - can_dig = function() return false end, - diggable = false, - drop = "", -}) - -if minetest.get_modpath("mesecons_mvps") ~= nil then - mesecon:register_mvps_stopper("bedrock2:bedrock") -end diff --git a/mods/bedrock/sounds/bedrock_step.1.ogg b/mods/bedrock/sounds/bedrock_step.1.ogg deleted file mode 100755 index 5fe738ae..00000000 Binary files a/mods/bedrock/sounds/bedrock_step.1.ogg and /dev/null differ diff --git a/mods/bedrock/sounds/bedrock_step.2.ogg b/mods/bedrock/sounds/bedrock_step.2.ogg deleted file mode 100755 index ad0f0d80..00000000 Binary files a/mods/bedrock/sounds/bedrock_step.2.ogg and /dev/null differ diff --git a/mods/bedrock/sounds/bedrock_step.3.ogg b/mods/bedrock/sounds/bedrock_step.3.ogg deleted file mode 100755 index 1d476b56..00000000 Binary files a/mods/bedrock/sounds/bedrock_step.3.ogg and /dev/null differ diff --git a/mods/bedrock/textures/bedrock_bedrock.png b/mods/bedrock/textures/bedrock_bedrock.png deleted file mode 100755 index 09495f02..00000000 Binary files a/mods/bedrock/textures/bedrock_bedrock.png and /dev/null differ diff --git a/worlds/minetestforfun/world.mt b/worlds/minetestforfun/world.mt index 67770109..cfe37a82 100755 --- a/worlds/minetestforfun/world.mt +++ b/worlds/minetestforfun/world.mt @@ -10,7 +10,6 @@ load_mod_unifieddyes = true load_mod_coloredwood = true load_mod_colouredstonebricks = true load_mod_colormachine = true -load_mod_bedrock = true load_mod_metatools = true load_mod_worldedit = true