depends.txt and description.txt are deprecated in Minetest 5, and this is a MT5-only mod
This commit is contained in:
parent
fe1b4c6410
commit
4b7827b638
@ -23,6 +23,7 @@ Hallelujah Mountains [maps](https://i.imgur.com/2SkoAyB.png) can be generated by
|
||||
* [Airboat](https://github.com/paramat/airboat) to sail the high clouds on a small airship
|
||||
* [Flying carpet](https://forum.minetest.net/viewtopic.php?t=12263)
|
||||
* [Jetpack, wings, etc.](https://forum.minetest.net/viewtopic.php?t=11257)
|
||||
* [Hang-glider / Elytra](https://forum.minetest.net/viewtopic.php?t=21425)
|
||||
* Teleporter mods, balloon mods, etc.
|
||||
|
||||
**Ores tip:** If you decide ores like iron and diamond should be obtainable from island stone, and are playing Minetest Game, you can go into Settings->Advanced Settings->Mods->cloudlands, set the "Altitude of Islands" to be 1300 (or higher), and Enable "Generate ores inside islands". This works because Minetest Game also generates the deep-underground ores in stone above 1025 to ensure they can be found in mgV7 Floatlands. Ores can be added in other games or at other altitudes by adding adjusted copies of the game's calls to minetest.register_ore().
|
||||
|
@ -10,8 +10,8 @@
|
||||
"https://i.imgur.com/A6vDDGc.jpg",
|
||||
"https://i.imgur.com/PUjjaIK.jpg",
|
||||
"https://i.imgur.com/Zty57dy.jpg",
|
||||
"https://i.imgur.com/wBLEFWn.jpg",
|
||||
"https://i.imgur.com/xn9UING.jpg",
|
||||
"https://i.imgur.com/wBLEFWn.jpg",
|
||||
"https://i.imgur.com/xn9UING.jpg",
|
||||
"https://i.imgur.com/rCtczAK.jpg"
|
||||
],
|
||||
"authors": [
|
||||
|
@ -743,11 +743,6 @@ local function renderCores(cores, minp, maxp, blockseed)
|
||||
local distanceSquared = (x - core.x)*(x - core.x) + (z - core.z)*(z - core.z)
|
||||
local radius = core.radius
|
||||
local radiusSquared = radius * radius
|
||||
local radiusRoot = core.radiusRoot
|
||||
if radiusRoot == nil then
|
||||
radiusRoot = math_sqrt(radius)
|
||||
core.radiusRoot = radiusRoot
|
||||
end
|
||||
|
||||
if distanceSquared <= radiusSquared then
|
||||
|
||||
@ -799,6 +794,13 @@ local function renderCores(cores, minp, maxp, blockseed)
|
||||
-- a = 1 - x²
|
||||
-- b = 1 - √x
|
||||
-- e = 0.8*a*x + 1.2*b*(1 - x)
|
||||
|
||||
local radiusRoot = core.radiusRoot
|
||||
if radiusRoot == nil then
|
||||
radiusRoot = math_sqrt(radius)
|
||||
core.radiusRoot = radiusRoot
|
||||
end
|
||||
|
||||
local squared = 1 - distanceSquared / radiusSquared
|
||||
local distance = math_sqrt(distanceSquared)
|
||||
local distance_normalized = distance / radius
|
||||
|
@ -1 +0,0 @@
|
||||
vines?
|
@ -1,9 +0,0 @@
|
||||
Hallelujah Mountains for Minetest
|
||||
|
||||
AKA cloudlands - giant rocks floating suspended in magnetic eddies.
|
||||
|
||||
This can be run with or without a normal terrain mapgen, allowing pure skylands or an exotic addition to the landscape.
|
||||
|
||||
Configurable settings include the altitude islands appear, and the ability to restrict the area they spawn.
|
||||
|
||||
If you only ever see snow-covered islands then enable the "Use lowland biomes" option.
|
13
mod.conf
13
mod.conf
@ -1 +1,12 @@
|
||||
name = cloudlands
|
||||
name = cloudlands
|
||||
optional_depends = vines
|
||||
description = """
|
||||
Hallelujah Mountains for Minetest
|
||||
|
||||
Giant rocks floating suspended in magnetic eddies.
|
||||
|
||||
This can be run with or without a normal terrain mapgen, allowing pure skylands or an exotic addition to the landscape.
|
||||
|
||||
Configurable settings include the altitude islands appear, and the ability to restrict the area they spawn. If you only ever see snow-covered islands then enable the "Use lowland biomes" option.
|
||||
"""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user