Remove bedrock2 mod
This commit is contained in:
parent
5c0a102ee2
commit
98f5cecb0e
@ -141,7 +141,6 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
* wood/
|
||||
* [coloredwood][] ([LGPL][lic.lgpl3.0]) -- version: [2021-01-30][ver.coloredwood]
|
||||
* world/
|
||||
* [bedrock2][] ([WTFPL][lic.wtfpl]) -- version: [a572dd0 Git][ver.bedrock2] *2020-04-06* ([patched][patch.bedrock2])
|
||||
* [biome_lib][] ([LGPL][lic.lgpl3.0] / [CC BY-SA][lic.ccbysa4.0]) -- version: [2021-04-16-2][ver.biome_lib]
|
||||
* [bright_night][] ([Unlicense][lic.unlicense]) -- version: [69b750a Git][ver.bright_night] *2018-06-03*
|
||||
* [desert_life][] ([CC BY-SA][lic.ccbysa4.0]) -- version: [188f984 Git][ver.desert_life] *2020-01-24*
|
||||
@ -239,7 +238,6 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[away]: https://forum.minetest.net/viewtopic.php?t=1211
|
||||
[bags]: http://cornernote.github.io/minetest-bags/
|
||||
[basic_materials]: https://gitlab.com/VanessaE/basic_materials
|
||||
[bedrock2]: https://forum.minetest.net/viewtopic.php?t=11271
|
||||
[bike]: https://forum.minetest.net/viewtopic.php?t=20726
|
||||
[biofuel]: https://forum.minetest.net/viewtopic.php?t=24622
|
||||
[biome_lib]: https://forum.minetest.net/viewtopic.php?f=11&t=12999
|
||||
@ -473,7 +471,6 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[ver.away]: https://github.com/kahrl/minetest-mod-away/tree/4c1e5a9
|
||||
[ver.bags]: https://github.com/cornernote/minetest-bags/tree/bc87b45
|
||||
[ver.basic_materials]: https://gitlab.com/VanessaE/basic_materials/-/tags/2021-01-30
|
||||
[ver.bedrock2]: http://repo.or.cz/minetest_bedrock2.git/tree/a572dd0
|
||||
[ver.bike]: https://gitlab.com/h2mm/bike/tree/1.2
|
||||
[ver.biofuel]: https://github.com/APercy/minetest_biofuel/tree/ca480ce
|
||||
[ver.biome_lib]: https://gitlab.com/VanessaE/biome_lib/tags/2021-04-16-2
|
||||
@ -599,7 +596,6 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[patch.amber]: https://github.com/AntumMT/mod-amber/tree/39b852a
|
||||
[patch.atm]: https://github.com/AntumMT/mod-atm/tree/7771aa0
|
||||
[patch.away]: https://github.com/AntumMT/mod-away/tree/3b0bf9e
|
||||
[patch.bedrock2]: https://github.com/AntumMT/mod-bedrock2/tree/9da5912
|
||||
[patch.boats2]: https://github.com/AntumMT/mod-boats2/tree/9b2bcb7
|
||||
[patch.bridges]: https://github.com/AntumMT/mod-bridges/tree/ba8f71a
|
||||
[patch.castle_weapons]: https://github.com/AntumMT/mod-castle_weapons/tree/6ec6f46
|
||||
|
@ -1,11 +0,0 @@
|
||||
# Bedrock [`bedrock2`]
|
||||
|
||||
Version 1.2.2
|
||||
|
||||
## Description
|
||||
This mod adds an indestructible bedrock layer at the bottom of the world.
|
||||
|
||||
## Configuration
|
||||
This mod recognizes the following minetest.conf setting:
|
||||
|
||||
* `bedrock2_y`: Sets the Y coordinate on which the bedrock layer will be created (default: -30912).
|
@ -1 +0,0 @@
|
||||
mesecons_mvps?
|
@ -1 +0,0 @@
|
||||
Adds an indestructable bedrock layer at the bottom of the world.
|
@ -1,54 +0,0 @@
|
||||
local S = minetest.get_translator("bedrock2")
|
||||
|
||||
local bedrock = {}
|
||||
|
||||
bedrock.layer = -30912 -- determined as appropriate by experiment
|
||||
bedrock.node = {name = "bedrock2:bedrock"}
|
||||
|
||||
local depth = tonumber(minetest.settings:get("bedrock2_y"))
|
||||
if depth ~= nil then
|
||||
bedrock.layer = depth
|
||||
end
|
||||
|
||||
if minetest.settings:get_bool("log_mods") then
|
||||
minetest.log("action", "[" .. minetest.get_current_modname() .. "] Bedrock depth: " .. tostring(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("bedrock2: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("bedrock2:bedrock", {
|
||||
description = S("Bedrock"),
|
||||
_doc_items_longdesc = S("Bedrock is a very hard block. It cannot be mined, altered, destroyed or moved by any means. It appears at the bottom of the world in a flat layer."),
|
||||
tiles = {"bedrock2_bedrock.png"},
|
||||
groups = {immortal=1, not_in_creative_inventory=1, },
|
||||
sounds = { footstep = { name = "bedrock2_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
|
@ -1,3 +0,0 @@
|
||||
# textdomain:bedrock2
|
||||
Bedrock=Grundgestein
|
||||
Bedrock is a very hard block. It cannot be mined, altered, destroyed or moved by any means. It appears at the bottom of the world in a flat layer.=Grundgestein ist sehr hart. Es kann nicht gegraben, verändert, zerstört oder bewegt werden. Es taucht am Boden der Welt in einer flachen Ebene auf.
|
@ -1,2 +0,0 @@
|
||||
Bedrock
|
||||
Bedrock is a very hard block. It cannot be mined, altered, destroyed or moved by any means. It appears at the bottom of the world in a flat layer.
|
@ -1 +0,0 @@
|
||||
name = bedrock2
|
Binary file not shown.
Before Width: | Height: | Size: 50 KiB |
@ -1,2 +0,0 @@
|
||||
# Sets the height (Y) at which the bedrock layer will be created.
|
||||
bedrock2_y (Bedrock height) int -30912
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 327 B |
@ -80,12 +80,6 @@ airtanks_compressor_needs_fuel (Compressor requires fuel) bool true
|
||||
awards.add_defaults (Add Default Achievements) bool true
|
||||
|
||||
|
||||
[*bedrock2]
|
||||
|
||||
# Sets the height (Y) at which the bedrock layer will be created.
|
||||
bedrock2_y (Bedrock height) int -30912
|
||||
|
||||
|
||||
[*bike]
|
||||
|
||||
# The maximum speed of a bike in m/s
|
||||
|
Loading…
x
Reference in New Issue
Block a user