szutilpack-cd2025/szutil_clocksync
Aaron Suen 5c8040a2cc Add stub settingtypes.txt files
These are all based on automated detection (intercept the minetest
settings metatable methods) and lack any useful documentation, and
may be incomplete (e.g. missing keys that are only discovered at
runtime based on specific actions).

Eventually these will be filled out and used to document settings,
and make it easier to manage settings in the MT Settings UI.
2024-03-28 09:23:12 -04:00
..
2024-03-28 09:12:48 -04:00
2023-06-20 07:30:35 -04:00

This mod smoothly syncs the in-world clock with the real-world clock, such that sunrise happens at :00, :20, and :40 minutes past the hour, so players can plan their login times onto an MP server to happen at a time of day conducive to starting out gameplay.

The adjustments are made gradually, i.e. by speeding up or slowing down in-game time flow until it syncs up, and then making fine adjustments to keep it very close to precisely synced. This avoids any kind of large distracting jumps from setting the clock, so the time of day advances continuously.