Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
a09e4427
Commit
a09e4427
authored
9 years ago
by
paramat
Browse files
Options
Downloads
Patches
Plain Diff
Defaultsettings: Add dungeons and jungles flags. Update conf.example
parent
b2a89c04
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
minetest.conf.example
+16
-14
16 additions, 14 deletions
minetest.conf.example
src/defaultsettings.cpp
+2
-1
2 additions, 1 deletion
src/defaultsettings.cpp
with
18 additions
and
15 deletions
minetest.conf.example
+
16
−
14
View file @
a09e4427
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/defaultsettings.cpp
+
2
−
1
View file @
a09e4427
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment