mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 08:03:45 +01:00
Conf.example: Move some lines to minetest.conf.example.extra
Some information in conf.example cannot be generated from settingtypes.txt, moving it to a new file makes generating conf.example while preserving that information easier. Regenerate conf.example from settingtypes.txt.
This commit is contained in:
parent
efd509f796
commit
cfe0291b13
@ -769,10 +769,4 @@ end
|
||||
|
||||
-- Generate minetest.conf.example and settings_translation_file.cpp
|
||||
|
||||
-- *** Please note ***
|
||||
-- There is text in minetest.conf.example that will not be generated from
|
||||
-- settingtypes.txt but must be preserved:
|
||||
-- The documentation of mapgen noise parameter formats (title plus 16 lines)
|
||||
-- Noise parameter 'mgv5_np_ground' in group format (13 lines)
|
||||
|
||||
--assert(loadfile(core.get_builtin_path()..DIR_DELIM.."mainmenu"..DIR_DELIM.."generate_from_settingtypes.lua"))(parse_config_file(true, false))
|
||||
|
@ -1201,25 +1201,6 @@
|
||||
# type: int
|
||||
# num_emerge_threads = 1
|
||||
|
||||
#### Noise parameters and formats
|
||||
|
||||
# Noise parameters can be specified as a set of positional values, for example:
|
||||
# Offset, scale, (spread factors), seed offset, number of octaves, persistence, lacunarity
|
||||
# mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0
|
||||
# Or the group format can be used instead, for example:
|
||||
# mgv6_np_terrain_base = {
|
||||
# offset = -4,
|
||||
# scale = 20,
|
||||
# spread = (250, 250, 250),
|
||||
# seed = 82341,
|
||||
# octaves = 5,
|
||||
# persistence = 0.6,
|
||||
# lacunarity = 2.0,
|
||||
# flags = "defaults"
|
||||
# }
|
||||
# Only the group format supports noise flags which are needed for eased noise.
|
||||
# Mgv5 uses eased noise for np_ground so this is shown in group format below.
|
||||
|
||||
#### Biome API temperature and humidity noise parameters
|
||||
|
||||
# Temperature variation for biomes.
|
||||
@ -1287,22 +1268,6 @@
|
||||
# type: noise_params
|
||||
# mgv5_np_cavern = 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0
|
||||
|
||||
# Noise parameter in group format, unsupported by advanced settings
|
||||
# menu but settable in minetest.conf.
|
||||
# See documentation of noise parameter formats above.
|
||||
# 3D noise defining terrain.
|
||||
# type: noise_params
|
||||
# mgv5_np_ground = {
|
||||
# offset = 0,
|
||||
# scale = 40,
|
||||
# spread = (80, 80, 80),
|
||||
# seed = 983240,
|
||||
# octaves = 4,
|
||||
# persistence = 0.55,
|
||||
# lacunarity = 2.0,
|
||||
# flags = "eased"
|
||||
# }
|
||||
|
||||
#### Mapgen v6
|
||||
|
||||
# Map generation attributes specific to Mapgen v6.
|
||||
|
63
minetest.conf.example.extra
Normal file
63
minetest.conf.example.extra
Normal file
@ -0,0 +1,63 @@
|
||||
# This file contains information (some of which was previously stored in
|
||||
# minetest.conf.example) that cannot be automatically generated from
|
||||
# builtin/settingtypes.txt.
|
||||
# This file contains a list of settings and their default value for minetest.conf
|
||||
|
||||
# By default, all the settings are commented and not functional.
|
||||
# Uncomment settings by removing the preceding #.
|
||||
|
||||
# minetest.conf is read by default from:
|
||||
# ../minetest.conf
|
||||
# ../../minetest.conf
|
||||
# Any other path can be chosen by passing the path as a parameter
|
||||
# to the program, eg. "minetest.exe --config ../minetest.conf.example".
|
||||
|
||||
# Further documentation:
|
||||
# http://wiki.minetest.net/
|
||||
|
||||
|
||||
# Mapgen
|
||||
|
||||
# Noise parameters and formats
|
||||
|
||||
# Noise parameters can be specified as a set of positional values, for example:
|
||||
#
|
||||
# Offset, scale, (x, y, z spread factors), seed offset, octaves, persistence, lacunarity
|
||||
# mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0
|
||||
#
|
||||
# Or the group format can be used instead, for example:
|
||||
#
|
||||
# mgv6_np_terrain_base = {
|
||||
# offset = -4,
|
||||
# scale = 20,
|
||||
# spread = (250, 250, 250),
|
||||
# seed = 82341,
|
||||
# octaves = 5,
|
||||
# persistence = 0.6,
|
||||
# lacunarity = 2.0,
|
||||
# flags = "defaults"
|
||||
# }
|
||||
#
|
||||
# The advanced settings menu does not yet support the group format.
|
||||
# Only the group format supports noise flags which are needed for eased noise.
|
||||
# Mgv5 uses eased noise for np_ground so this is shown in group format below
|
||||
# and is not present in the advanced settings menu.
|
||||
|
||||
# Mapgen v5
|
||||
|
||||
# Noise parameter in group format, unsupported by advanced settings menu but
|
||||
# settable in minetest.conf.
|
||||
# See documentation of noise parameter formats above.
|
||||
#
|
||||
# 3D noise defining terrain.
|
||||
# type: noise_params
|
||||
# mgv5_np_ground = {
|
||||
# offset = 0,
|
||||
# scale = 40,
|
||||
# spread = (80, 80, 80),
|
||||
# seed = 983240,
|
||||
# octaves = 4,
|
||||
# persistence = 0.55,
|
||||
# lacunarity = 2.0,
|
||||
# flags = "eased"
|
||||
# }
|
Loading…
Reference in New Issue
Block a user