a few adjustments to the mapgen

master
crazyginger72 2014-08-31 17:27:25 -04:00
parent a01990c1dc
commit 61ed0288f6
4 changed files with 12 additions and 12 deletions

View File

@ -430,3 +430,4 @@ minetest.register_abm({
end
end
})

View File

@ -22,13 +22,11 @@ end
loadhomes()
minetest.register_privilege("home", "Can use /sethome and /home")
local changed = false
minetest.register_chatcommand("home", {
description = "Teleport you to your home point",
privs = {home=true},
privs = {},
func = function(name)
local player = minetest.env:get_player_by_name(name)
if player == nil then
@ -46,7 +44,7 @@ minetest.register_chatcommand("home", {
minetest.register_chatcommand("sethome", {
description = "Set your home point",
privs = {home=true},
privs = {},
func = function(name)
local player = minetest.env:get_player_by_name(name)
local pos = player:getpos()

View File

@ -94,8 +94,8 @@ MapgenV6::~MapgenV6() {
MapgenV6Params::MapgenV6Params() {
spflags = MGV6_BIOMEBLEND | MGV6_MUDFLOW;
freq_desert = 0.45;
freq_beach = 0.15;
freq_desert = 0.35;
freq_beach = 0.35;
np_terrain_base = NoiseParams(-4, 20.0, v3f(250.0, 250.0, 250.0), 82341, 5, 0.6);
np_terrain_higher = NoiseParams(20, 16.0, v3f(500.0, 500.0, 500.0), 85039, 5, 0.6);
@ -910,7 +910,7 @@ void MapgenV6::placeTreesAndJungleGrass() {
bool is_jungle = false;
if (spflags & MGV6_JUNGLES) {
humidity = getHumidity(p2d_center);
if (humidity > 0.75) {
if (humidity > 0.68) {
is_jungle = true;
tree_count *= 4;
}

View File

@ -443,13 +443,14 @@ void Server::start(Address bind_addr)
m_thread->Start();
// ASCII art for the win!
actionstream
<<" _ _____ _ "<<std::endl
<<" _ _____ _ "<<std::endl
<<" /\\/\\ (_)_ __ ___ /__ \\_)_ __ ___ ___ "<<std::endl
<<" / \\| | '_ \\ / _ \\ / /\\ \\ | '_ ` _ \\ / _ \\ "<<std::endl
<<"/ /\\/\\ \\ | | | | __/ / / \\/ | | | | | __/ "<<std::endl
<<"\\/ \\/_|_| |_|\\___| \\/ |_|_| |_| |_|\\___| "<<std::endl
<<" Ver. 0.1 (c) 2014 "<<std::endl;
<<" / \\| | '_ \\ / _ \\ / /\\ \\| '_ ` _ \\ / _ \\ "<<std::endl
<<"/ /\\/\\ \\ | | | | __/ / / \\/| | | | | | __/ "<<std::endl
<<"\\/ \\/_|_| |_|\\___| \\/ |_|_| |_| |_|\\___| "<<std::endl
<<" Ver. 0.1 (c) 2014 "<<std::endl;
actionstream
<<"Server loaded world at "<<m_path_world<<""<<std::endl;
actionstream