Rudeman-TimeDilation icon

TimeDilation

You've parked too close to a large celestial body, and time has gone all wobbly. Some days are longer, some are shorter, keep an eye on the clock.

By Rudeman
Last updated 4 hours ago
Total downloads 4
Total rating 0 
Categories Mods BepInEx Server-side AI Generated
Dependency string Rudeman-TimeDilation-1.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

TimeDilation

You've parked too close to a large celestial body, and time has gone all wobbly. Some days are longer, some are shorter, keep an eye on the clock.

What happens

  • When a moon's level generates, the host rolls the day. By default 15% of landings are long days (10 to 35% longer) and 5% are short days (10 to 30% shorter).
  • The host sends the result to every player, so all clocks run at the same speed. Clients never roll their own.
  • The change is made through the game's own time-speed multiplier and undone when the day ends.
  • The Company and moons without a day clock are never affected. The host can exclude more moons by name.
  • About three seconds after landing on a changed day, one line appears in your own chat with an in-world reason, for example "Close orbital pass with the parent giant. Local time is running slow. The day is about 25% longer." Only you see it. Set ShowInGame = false to keep it secret; PerfWatcher's Day Info panel still shows it.

Who needs it

  • The host decides everything. Only the host's odds, ranges, excluded moons and Enabled matter. Clients' settings for those are ignored, so players don't need matching configs.
  • Every player should install it (1.1.0 or newer). That keeps everyone's clock at exactly the host's speed.
  • A player without the mod still plays normally: ship departure, the midnight auto-leave, spawns and weather all follow the host. Only their own clock runs at the normal speed between the game's clock updates. To keep that small, on a long or short day the host resends the clock every 2 seconds while such a player is connected (ResyncClockForPlayersWithoutMod), so their clock stays within about a game minute of the host's (with the default ranges). Their "ship leaving soon" warning can come a little early or late, and the sun can twitch slightly. With the resend off, their clock would drift and snap back by up to 3 to 4 game minutes every 7 to 13 seconds.
  • Host without the mod: clients with it do nothing (normal speed) and log one line saying so.
  • Mixed versions: a 1.0.0 client next to a 1.1.0 host rolls on its own (from its own config) and gets the host's clock resends; a 1.1.0 client next to a 1.0.0 host stays at the normal speed. Update everyone to 1.1.0.
  • Players who join during a landing ask the host for the day and get it.

Config

BepInEx/config/jacob.timedilation.cfg

Key Default What it does
Enabled true Master switch (host's setting is used)
ExcludedMoons (empty) Comma-separated moons that always get a normal day, e.g. Vow, March (host's)
LongDayChance 15 Percent of landings with a longer day (host's)
ShortDayChance 5 Percent of landings with a shorter day (host's)
LongDayMinPercent / LongDayMaxPercent 10 / 35 Range of the increase (host's)
ShortDayMinPercent / ShortDayMaxPercent 10 / 30 Range of the cut (host's)
ShowInGame true The chat line after landing (each player's own)
ResyncClockForPlayersWithoutMod true Host only: resend the clock every 2 s on a long or short day while someone without the mod is connected

Compatibility

  • Lethal Company v81 with BepInEx 5; no dependencies beyond that. Networking uses the game's own Netcode (named messages), no extra library.
  • Built for the ChobblePack modpack but works on its own.
  • Mods that also change the global time speed (Brutal Company Minus events, for example) stack with it. If a hook can't be applied, the mod logs it and leaves the day alone.
  • PerfWatcher's Day Info panel and MoonHistory read the day from TimeDilation; on clients they now show the host's roll.

Log lines

One per landing: TimeDilation: day x0.8 (host) on the host, TimeDilation: day x0.8 (from host) on clients (x1 is a normal day).

AI disclosure

The code, documentation (partial) and icon of this mod were generated with Anthropic's Claude (Claude Opus 5.5 and other Claude models, via Claude Code). The author designed the mod, directed the work and tested it in game.