aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-04-13 01:46:38 +0100
committerGitHub <noreply@github.com>2019-04-13 01:46:38 +0100
commit4d2ad7c2b2e91f8a0138fa583f28465278cf0802 (patch)
tree222dbfcf84ed51f09e3372e4cbe259e3b17800eb
parentfaa419fc8bd29011d8efb58c5144d2e815d0f600 (diff)
downloadminetest-4d2ad7c2b2e91f8a0138fa583f28465278cf0802.tar.gz
minetest-4d2ad7c2b2e91f8a0138fa583f28465278cf0802.tar.bz2
minetest-4d2ad7c2b2e91f8a0138fa583f28465278cf0802.zip
World start time: Move to first full light (day night ratio = 1000) (#8410)
6125 is the time of first full light according to 'get_node_light()', and the time of first full light visually when basic shaders are on. This is the optimum default new world start time, taking all possible games into account. The previous time assumed a game similar to Minetest Game. Games should set this setting themselves according to their needs.
-rw-r--r--builtin/settingtypes.txt2
-rw-r--r--src/defaultsettings.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 877b6f2b8..f0ba434a2 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1097,7 +1097,7 @@ time_send_interval (Time send interval) int 5
time_speed (Time speed) int 72
# Time of day when a new world is started, in millihours (0-23999).
-world_start_time (World start time) int 5250 0 23999
+world_start_time (World start time) int 6125 0 23999
# Interval of saving important changes in the world, stated in seconds.
server_map_save_interval (Map save interval) float 5.3
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index cd85c6efd..c3e676f79 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -355,7 +355,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("csm_restriction_noderange", "0");
settings->setDefault("max_clearobjects_extra_loaded_blocks", "4096");
settings->setDefault("time_speed", "72");
- settings->setDefault("world_start_time", "5250");
+ settings->setDefault("world_start_time", "6125");
settings->setDefault("server_unload_unused_data_timeout", "29");
settings->setDefault("max_objects_per_block", "64");
settings->setDefault("server_map_save_interval", "5.3");