Defaultsettings: Add dungeons and jungles flags. Update conf.example

This commit is contained in:
paramat 2015-04-13 22:48:03 +01:00
parent b2a89c04b2
commit a09e4427d6
2 changed files with 18 additions and 15 deletions

View File

@ -298,17 +298,6 @@
#fallback_font_size = 15 #fallback_font_size = 15
#fallback_font_shadow = 1 #fallback_font_shadow = 1
#fallback_font_shadow_alpha = 128 #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 # Server stuff
@ -447,12 +436,24 @@
# try reducing it, but don't reduce it to a number below double of targeted # try reducing it, but don't reduce it to a number below double of targeted
# client number. # client number.
#max_packets_per_iteration = 1024 #max_packets_per_iteration = 1024
# Enable/disable IPv6 # Enable/disable IPv6
#enable_ipv6 = true #enable_ipv6 = true
# Enable/disable running an IPv6 server. An IPv6 server may be restricted # Enable/disable running an IPv6 server. An IPv6 server may be restricted
# to IPv6 clients, depending on system configuration. # to IPv6 clients, depending on system configuration.
# Ignored if bind_address is set. # Ignored if bind_address is set.
#ipv6_server = false #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 # Physics stuff
@ -485,15 +486,16 @@
# Global map generation attributes. Currently supported: trees, caves, flat, dungeons, light. # 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. # 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. # 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/disable floating dungeons and dungeon slices
#enable_floating_dungeons = true #enable_floating_dungeons = true
# Map generation attributes specific to Mapgen V6. # Map generation attributes specific to Mapgen V6.
# Currently supported: jungles, biomeblend, mudflow, snowbiomes. # Currently supported: jungles, biomeblend, mudflow, snowbiomes.
# When snowbiomes are enabled jungles are enabled, the jungles flag is ignored. # When snowbiomes are enabled jungles are enabled and the jungles flag is ignored.
#mgv6_spflags = biomeblend, mudflow #mgv6_spflags = jungles, biomeblend, mudflow
# Controls size of deserts and beaches in Mapgen V6 # 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_desert = 0.45
#mgv6_freq_beach = 0.15 #mgv6_freq_beach = 0.15

View File

@ -295,7 +295,8 @@ void set_default_settings(Settings *settings)
settings->setDefault("mg_name", "v6"); settings->setDefault("mg_name", "v6");
settings->setDefault("water_level", "1"); settings->setDefault("water_level", "1");
settings->setDefault("chunksize", "5"); settings->setDefault("chunksize", "5");
settings->setDefault("mg_flags", ""); settings->setDefault("mg_flags", "dungeons");
settings->setDefault("mgv6_spflags", "jungles");
settings->setDefault("enable_floating_dungeons", "true"); settings->setDefault("enable_floating_dungeons", "true");
// IPv6 // IPv6