From a09e4427d69db57115cb4ba4644725d1e4470a65 Mon Sep 17 00:00:00 2001 From: paramat Date: Mon, 13 Apr 2015 22:48:03 +0100 Subject: [PATCH] Defaultsettings: Add dungeons and jungles flags. Update conf.example --- minetest.conf.example | 30 ++++++++++++++++-------------- src/defaultsettings.cpp | 3 ++- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/minetest.conf.example b/minetest.conf.example index 56a2721a..8967eff2 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -298,17 +298,6 @@ #fallback_font_size = 15 #fallback_font_shadow = 1 #fallback_font_shadow_alpha = 128 -# Override language. When no value is provided (default) system language is used. -# Check "locale" directory for the list of available translations. -#language = -#main_menu_script = -#main_menu_game_mgr = 0 -#main_menu_mod_mgr = 1 -#modstore_download_url = https://forum.minetest.net/media/ -#modstore_listmods_url = https://forum.minetest.net/mmdb/mods/ -#modstore_details_url = https://forum.minetest.net/mmdb/mod/*/ -# Makes DirectX work with LuaJIT. Disable if it causes troubles. -#high_precision_fpu = true # # Server stuff @@ -447,12 +436,24 @@ # try reducing it, but don't reduce it to a number below double of targeted # client number. #max_packets_per_iteration = 1024 + # Enable/disable IPv6 #enable_ipv6 = true # Enable/disable running an IPv6 server. An IPv6 server may be restricted # to IPv6 clients, depending on system configuration. # Ignored if bind_address is set. #ipv6_server = false +#main_menu_script = +#main_menu_game_mgr = 0 +#main_menu_mod_mgr = 1 +#modstore_download_url = https://forum.minetest.net/media/ +#modstore_listmods_url = https://forum.minetest.net/mmdb/mods/ +#modstore_details_url = https://forum.minetest.net/mmdb/mod/*/ +# Makes DirectX work with LuaJIT. Disable if it causes troubles. +#high_precision_fpu = true +# Override language. When no value is provided (default) system language is used. +# Check "locale" directory for the list of available translations. +#language = # # Physics stuff @@ -485,15 +486,16 @@ # Global map generation attributes. Currently supported: trees, caves, flat, dungeons, light. # Flags that are not specified in the flag string are not modified from the default. # To explicitly turn off a flag, prepend "no" to the beginning, e.g. nolight. -#mg_flags = trees, caves, light +#mg_flags = trees, caves, dungeons, light # Enable/disable floating dungeons and dungeon slices #enable_floating_dungeons = true # Map generation attributes specific to Mapgen V6. # Currently supported: jungles, biomeblend, mudflow, snowbiomes. -# When snowbiomes are enabled jungles are enabled, the jungles flag is ignored. -#mgv6_spflags = biomeblend, mudflow +# When snowbiomes are enabled jungles are enabled and the jungles flag is ignored. +#mgv6_spflags = jungles, biomeblend, mudflow # Controls size of deserts and beaches in Mapgen V6 +# When snowbiomes are enabled 'mgv6_freq_desert' is ignored. #mgv6_freq_desert = 0.45 #mgv6_freq_beach = 0.15 diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 6fa420b6..7f312231 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -295,7 +295,8 @@ void set_default_settings(Settings *settings) settings->setDefault("mg_name", "v6"); settings->setDefault("water_level", "1"); settings->setDefault("chunksize", "5"); - settings->setDefault("mg_flags", ""); + settings->setDefault("mg_flags", "dungeons"); + settings->setDefault("mgv6_spflags", "jungles"); settings->setDefault("enable_floating_dungeons", "true"); // IPv6