This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warning when running MT: | |
2019-09-23 18:36:47: WARNING[Main]: Irrlicht: Warning: The library version of the Irrlicht Engine (1.8.4) does not match the | |
version the application was compiled with (1.8.3). This may cause problems. | |
So i tried to do a clean build, thinking that was the solution: | |
make clean | |
result: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the lines below to .conf, remove '#'s to enable the settings. | |
To spawn in a particular biome use the heat and humidity point | |
values of the biome as the 'offset' parameters below. These values | |
are found at mods/base/mapgen.lua L64. | |
/////////////////// | |
#mg_biome_np_heat = { | |
# offset = 50, | |
# scale = 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minetest.clear_registered_biomes() | |
local upper_limit = 31000 | |
-- Taiga | |
minetest.register_biome({ | |
name = "taiga", | |
node_dust = "default:snow", | |
node_top = "default:dirt_with_snow", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
water_level = -31000 | |
mgfractal_np_seabed = { | |
offset = -31000, | |
scale = 0, | |
spread = (600, 600, 600), | |
seed = 41900, | |
octaves = 5, | |
persistence = 0.6, | |
lacunarity = 2.0, | |
flags = "eased" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local building = minetest.get_modpath("default") .. "/schematics/jungle_tree.mts" | |
local str = minetest.serialize_schematic(building, "lua", | |
{lua_use_comments = false, lua_num_indent_spaces = 0}) .. " return(schematic)" | |
local schematic = loadstring(str)() | |
print(dump(schematic)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local mts_save_rev = function(name, schematic) | |
-- Reverse data table | |
local datarev = {} | |
local datasize = #schematic.data | |
for i = 1, datasize do | |
datarev[i] = schematic.data[datasize + 1 - i] | |
end | |
schematic.data = datarev | |
local s = minetest.serialize_schematic(schematic, "mts", {}) |