Skip to content

Commit a09e442

Browse files
committedApr 14, 2015
Defaultsettings: Add dungeons and jungles flags. Update conf.example
1 parent b2a89c0 commit a09e442

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed
 

‎minetest.conf.example

+16-14
Original file line numberDiff line numberDiff line change
@@ -298,17 +298,6 @@
298298
#fallback_font_size = 15
299299
#fallback_font_shadow = 1
300300
#fallback_font_shadow_alpha = 128
301-
# Override language. When no value is provided (default) system language is used.
302-
# Check "locale" directory for the list of available translations.
303-
#language =
304-
#main_menu_script =
305-
#main_menu_game_mgr = 0
306-
#main_menu_mod_mgr = 1
307-
#modstore_download_url = https://forum.minetest.net/media/
308-
#modstore_listmods_url = https://forum.minetest.net/mmdb/mods/
309-
#modstore_details_url = https://forum.minetest.net/mmdb/mod/*/
310-
# Makes DirectX work with LuaJIT. Disable if it causes troubles.
311-
#high_precision_fpu = true
312301

313302
#
314303
# Server stuff
@@ -447,12 +436,24 @@
447436
# try reducing it, but don't reduce it to a number below double of targeted
448437
# client number.
449438
#max_packets_per_iteration = 1024
439+
450440
# Enable/disable IPv6
451441
#enable_ipv6 = true
452442
# Enable/disable running an IPv6 server. An IPv6 server may be restricted
453443
# to IPv6 clients, depending on system configuration.
454444
# Ignored if bind_address is set.
455445
#ipv6_server = false
446+
#main_menu_script =
447+
#main_menu_game_mgr = 0
448+
#main_menu_mod_mgr = 1
449+
#modstore_download_url = https://forum.minetest.net/media/
450+
#modstore_listmods_url = https://forum.minetest.net/mmdb/mods/
451+
#modstore_details_url = https://forum.minetest.net/mmdb/mod/*/
452+
# Makes DirectX work with LuaJIT. Disable if it causes troubles.
453+
#high_precision_fpu = true
454+
# Override language. When no value is provided (default) system language is used.
455+
# Check "locale" directory for the list of available translations.
456+
#language =
456457

457458
#
458459
# Physics stuff
@@ -485,15 +486,16 @@
485486
# Global map generation attributes. Currently supported: trees, caves, flat, dungeons, light.
486487
# Flags that are not specified in the flag string are not modified from the default.
487488
# To explicitly turn off a flag, prepend "no" to the beginning, e.g. nolight.
488-
#mg_flags = trees, caves, light
489+
#mg_flags = trees, caves, dungeons, light
489490
# Enable/disable floating dungeons and dungeon slices
490491
#enable_floating_dungeons = true
491492

492493
# Map generation attributes specific to Mapgen V6.
493494
# Currently supported: jungles, biomeblend, mudflow, snowbiomes.
494-
# When snowbiomes are enabled jungles are enabled, the jungles flag is ignored.
495-
#mgv6_spflags = biomeblend, mudflow
495+
# When snowbiomes are enabled jungles are enabled and the jungles flag is ignored.
496+
#mgv6_spflags = jungles, biomeblend, mudflow
496497
# Controls size of deserts and beaches in Mapgen V6
498+
# When snowbiomes are enabled 'mgv6_freq_desert' is ignored.
497499
#mgv6_freq_desert = 0.45
498500
#mgv6_freq_beach = 0.15
499501

‎src/defaultsettings.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ void set_default_settings(Settings *settings)
295295
settings->setDefault("mg_name", "v6");
296296
settings->setDefault("water_level", "1");
297297
settings->setDefault("chunksize", "5");
298-
settings->setDefault("mg_flags", "");
298+
settings->setDefault("mg_flags", "dungeons");
299+
settings->setDefault("mgv6_spflags", "jungles");
299300
settings->setDefault("enable_floating_dungeons", "true");
300301

301302
// IPv6

0 commit comments

Comments
 (0)