RandomMoonFX Fork

v0.1.1·Updated 2026-09-18

A Lethal Company mod forked from RandomMoonFX, adding configurable weights to moon randomization. Give your favorite moons higher weights, or use the distribution list as a whitelist of destinations.

About this mod Author’s original text

RandomMoonFX Fork

A Lethal Company mod forked from RandomMoonFX, adding configurable weights to moon randomization. Give your favorite moons higher weights, or use the distribution list as a whitelist of destinations.

When you start a landing, the mod routes the ship to a random moon, waits for the routing animation, then starts the landing. The current moon is excluded from the next selection. Company destinations use separate last-day routing settings.

Installation

  • Set up Lethal Company with BepInEx 5.
  • Copy RandomMoonFX_Fork.dll into BepInEx/plugins/RandomMoonFX_Fork/ in your game installation or mod manager profile.
  • Launch the game once to generate BepInEx/config/zigzag.randommoonfx.cfg.
  • Close the game, edit the configuration, and relaunch.

Remove the original RandomMoonFX plugin before installing this fork: both use the plugin ID zigzag.randommoonfx and the same configuration filename.

Custom moon chances

Weighted selection is disabled by default. Enable it in the generated configuration:

[Moons Distribution]

Activate Moons Distributions = true

Moons Distribution = Rend=1,Dine=1,Titan=1,Artifice=2

Each value is a relative weight, not a percentage. In this example, Artifice has twice the weight of each other listed moon. If all four are eligible, their shares are 20%, 20%, 20%, and 40%. Excluding the current moon or previously visited moons changes the final chances.

With distributions enabled, only listed moons can be selected for normal landings. With distributions disabled, the mod draws from the loaded levels and applies its active validity checks.

Use comma-separated MoonName=Weight entries with unique names and positive integer weights. Names are case-sensitive; omit the leading moon number (use Rend, not 85 Rend). Custom moons can be listed if they are loaded by the game. The default distribution is:

Moons Distribution = Vow=1,Adamance=1,Rend=3,Dine=1,Titan=1,Artifice=5,Embrion=1

Other settings

| Section | Setting | Default | Behavior |

| --- | --- | --- | --- |

| Randomization method | Activate Random Moons | true | Enables automatic moon selection. |

| Randomization method | Exclude previously visited | false | Attempts to avoid visited moons until its visit history resets. See limitations below. |

| Last day check | Quota check | true | Auto-routes to a Company destination on the last day while quota remains unmet. If disabled, auto-routing applies on every last day. |

| Last day check | Randomize last day | false | Allows a random landing on the last day if estimated available scrap and potential body value cannot meet quota. |

| Last day check | Company routing mode | Random | Random chooses a Company destination; Select uses the configured destination; Manual leaves routing to players on the last day. |

| Last day check | Selected Company | Gordion | Destination for Select mode, with Gordion as the fallback if the name is not found. |

| Misc | Activate Free Moons | true | Removes terminal moon-routing costs, even when randomization is disabled. |

Routing animation settings include optional Celestial_Tint and Chameleon integration, plus an explicit duration override. These mods are optional dependencies. The normal delay is 1.5 seconds; detected Chameleon uses 7.5 seconds and detected Celestial_Tint uses 4 seconds. Celestial_Tint takes precedence if both integrations are active. A nonnegative Animation time override takes precedence over both.

Current limitations

  • Distribution entries are parsed at startup without robust validation. Missing =, duplicate names, or invalid weights can cause errors. Only list moons that are actually loaded: weights for missing moons are still counted in the total and can break selection.
  • Keep at least two eligible destinations with positive weights. The selection loop rejects the current moon and can keep retrying indefinitely if no alternative is available.
  • Leave Exclude previously visited disabled when using a restricted distribution list. Its reset

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack

File & checksum

Filename
RandomMoonFX_Fork-0.1.1.zip
File size
47.7 KiB