Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
MoonTiers
Give every moon your own tier rating (shown instead of the Hazard Level) and tune or auto-scale its scrap, value, interiors, enemies and route price.
By larcturus
| Last updated | an hour ago |
| Total downloads | 13 |
| Total rating | 0 |
| Categories | AI Generated |
| Dependency string | larcturus-MoonTiers-2.0.4 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
MoonTiers
Gives every moon a tier (any number, e.g. 6.28) that replaces the Hazard Level letter, and puts all of each moon's generation settings in one easy config file.
Build
- Install the .NET SDK (6 or newer).
- In this folder run
dotnet build -c Release. - Copy
bin/Release/netstandard2.1/MoonTiers.dllintoBepInEx/plugins/MoonTiers/(or zip it withmanifest.json,README.mdand a 256x256icon.pngto import as a local Thunderstore/r2modman mod).
First launch
Start the game. Moons are scanned at the main menu and again when the ship loads, and any moon without a section gets one, so installing a new moon mod just adds its section next launch. Existing sections are never overwritten, and sections for moons you've uninstalled are kept. Two files appear in BepInEx/config/:
MoonTiers.Moons.cfg– one section per moon (vanilla and modded), pre-filled with that moon's current values. Edit these.MoonTiers_Reference.txt– every interior, enemy and scrap item name you can type into the config.
staymotivatedjosh.MoonTiers.cfg holds the general settings (tier display format, live reload, locked/owned labels, default purchase mode).
A moon section
[Rend]
Daytime Enemies =
Daytime Power = 0
Enabled = true
Exterior Power = 10
Hidden = false
Inside Enemies = Flowerman:40, Crawler:30, Nutcracker:60, Jester:25
Interior Power = 14
Interior Size = 1.8
Interiors = Facility:20, Mansion:200, Mineshaft:40
Locked = false
Max Scrap Count = 24
Max Total Scrap Value = -1
Min Scrap Count = 18
Min Total Scrap Value = -1
Outside Enemies = MouthDog:70, ForestGiant:10, Baboon hawk:20
Purchase Mode = Default
Route Price = 550
Scrap Items = Large axle:30, Gold bar:5, ...
Scrap Value Multiplier = 1.25
Tier = 6.28
Auto Scale = true
Moons are listed by name without their number ([Rend], not [85 Rend]), and both moons and settings are in alphabetical order. If two moons would end up with the same name, the second keeps its number.
| Setting | What it does |
|---|---|
| Enabled | false = moon uses its normal values, ignores everything below |
| Tier | Your own "how worth it" rating, shown where the Hazard Level letter was. Never calculated from the other settings. Safe moons (The Company) start at 0. -1 keeps the original letter |
| Scrap Value Multiplier | Multiplies every scrap piece's value. 1 = normal, 1.5 = +50% |
| Min/Max Scrap Count | How many pieces of scrap spawn (both inclusive) |
| Min/Max Total Scrap Value | Total value of all scrap; pieces are rescaled to land in this range (applied after the multiplier, so it has the final say). -1 = off |
| Interior Size | Interior size multiplier (vanilla ~1.0 – 2.35) |
| Interior/Exterior/Daytime Power | Enemy power caps – how much enemy "budget" each area gets |
| Interiors | Name:Weight list. Weights are relative; 0 = never |
| Inside/Outside/Daytime Enemies | Name:Rarity list. Higher = more common, 0 = never, delete to remove, add any enemy from the reference file (modded too) |
| Scrap Items | Name:Rarity list of which scrap can spawn |
| Hidden | Left out of the terminal's MOONS list; still routable by typing the name unless also Locked |
| Locked | Terminal refuses to route there (shows the Locked Message); tagged [LOCKED] in the list |
| Route Price | Credits to route there. -1 = normal price, 0 = free |
| Purchase Mode | Default = follow the general Purchase Mode. Vanilla = pay every trip. Permanent = pay once, free for the rest of the run |
Auto Scaling (general config, [Auto Scaling])
Works out every moon's values from its Tier, starting from a hand-tuned Base Moon (default Experimentation). Moons with Auto Scale = false are left alone, and the Base Moon is never changed.
Default setup (one anchor). With d = tier − base tier:
| Stat | How it grows |
|---|---|
| Interior size | Linear: base + Interior Size Per Tier (0.2) × d |
| Scrap count | Follows interior size (same scrap density as the Base Moon) |
| Min/Max Total Scrap Value | Exponential: base total × Growth Per Tier (1.3) ^ d × Full Tier Bonus (1.25) ^ full tiers crossed |
| Per-piece value | Filled in automatically so each moon lands in its total range |
| Scrap Value Multiplier | Locked to the totals: shows the per-piece result vs the Base Moon (total growth ÷ extra scrap) |
| Enemy power | Linear: base × (1 + Enemy Power Per Tier (0.25) × d) |
Example: Experimentation tier 1.00, size 1.0, 42–48 scrap, total 800–1000:
| Tier | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Size | 1.0 | 1.2 | 1.4 | 1.6 | 1.8 | 2.0 | 2.2 | 2.4 |
| Scrap | 42–48 | 50–58 | 59–67 | 67–77 | 76–86 | 84–96 | 92–106 | 101–115 |
| Max total | 1,000 | 1,625 | 2,641 | 4,291 | 6,973 | 11,331 | 18,413 | 29,921 |
| Per piece vs base | ×1 | ×1.35 | ×1.89 | ×2.68 | ×3.87 | ×5.67 | ×8.37 | ×12.47 |
Set the Base Moon's Min/Max Total Scrap Value first; everything else fills in from it.
Other options: Scrap Count Scaling = LowHigh (Base Moon's count up to High Min/Max Scrap Count on the highest-tier moon), Total Scrap Value Scaling = LowHigh (Base Moon's total up to High Min/Max Total Scrap Value), and Scale Min/Max Total Scrap Value = false (no totals; the multiplier itself follows the curve and every piece rolls that much higher).
Two anchors (optional). Set Peak Moon to a moon's name and tune it by hand; every moon is then placed between the Base Moon's and Peak Moon's values.
Each launch the log says whether Auto Scaling is active (or why not) and prints a tier-by-tier preview with size, scrap, totals and per-piece value.
Permanent purchases### Permanent purchases### Permanent purchases
Set Purchase Mode = Permanent in the general config (applies to every moon), or per moon. After you pay for a moon once, routing there costs 0 and it shows [OWNED] in the MOONS list until you get fired. Purchases are stored in your save file when the game saves, so they survive quitting and reloading. Every player sees the same owned moons; if someone's info is ever out of date, the host refunds a double charge automatically. Switching a moon back to Vanilla makes it cost money again.
Typos don't crash anything: a bad entry is skipped and named in the BepInEx console/log.
With Reload Config On Route = true (default) the file is re-read every time you route to a moon, so you can alt-tab, edit, save and re-route to test.
Multiplayer
Scrap and enemy spawning are decided by the host, but every player builds the interior themselves and shows the tier from their own config. Everyone needs the same MoonTiers.Moons.cfg (sharing a modpack profile code does this) or interiors can desync.
Compatibility notes
- Hidden/Locked work on the vanilla terminal and LethalLevelLoader's moons list. They only stop routing from the terminal; another mod that routes by other means can bypass them.
- LethalLevelLoader: modded moons get sections automatically. Route Price is set both on the terminal pages and in LLL's own price, so LLL's moons list shows it too. If you also set prices in LLL's config, MoonTiers' Route Price wins for any moon where it isn't -1. LLL has its own interior-matching system and may override this mod's
Interiorsweights; the other settings still apply. - Other mods that also edit moon spawn tables (LethalQuantities, Lethal Moon Unlocks with price/scrap tweaks, etc.) will fight with this one; let one mod own those settings.
For other mods
[BepInDependency(MoonTiers.Plugin.GUID)]
...
float t = MoonTiers.MoonTiersAPI.GetCurrentTier();
float rend = MoonTiers.MoonTiersAPI.GetTier("85 Rend");
MoonTiers.MoonTiersAPI.OnMoonApplied += (level, tier) => { /* ... */ };
MoonTiers.MoonTiersAPI.SetLocked(level, false); // unlock at runtime, e.g. when a tier is reached
MoonTiers.MoonTiersAPI.SetLocked(level, null); // back to the config value
This is the hook for a later tier-unlock / LethalRPG upgrade-gating add-on.