Solon-DestroyedMoons icon

DestroyedMoons

Moons hit by a FacilityMeltdown nuclear explosion become permanently unvisitable for that save file.

Last updated an hour ago
Total downloads 2
Total rating 0 
Categories Mods Server-side AI Generated
Dependency string Solon-DestroyedMoons-1.0.8
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100
loaforc-FacilityMeltdown-2.7.5 icon
loaforc-FacilityMeltdown

Maybe taking the apparatus out isn't such a great idea...

Preferred version: 2.7.5

README

DestroyedMoons

Author: Solo00n

An addon for FacilityMeltdown. When a moon is destroyed by a nuclear meltdown, that moon becomes permanently unvisitable for the current save file. You can no longer route there through the terminal or the ship lever. The block survives between sessions and is stored inside the save itself, so deleting the save also clears it.

Features

  • Permanently blocks a moon for the current save after a FacilityMeltdown nuclear explosion.
  • Stops routing to a destroyed moon from both the terminal and the ship lever.
  • Strikes a line through destroyed moon names in the terminal moons list.
  • Buy back a destroyed moon for credits, with a dedicated section on the terminal HELP page.
  • Automatically clears the list once every routable moon is destroyed, so you are never stranded.
  • Works with vanilla and modded moons.

Multiplayer

The host is authoritative. Only the host detects a meltdown, records the destroyed moon and saves it, then syncs the list to every client so their terminals and levers also refuse the route. Buyback is decided on the host and synced to everyone.

Requirements

  • BepInEx
  • FacilityMeltdown (by loaforc)

Terminal commands

  • moonstatus — list the destroyed moons.
  • buyback — show the buyback list and price.
  • buyback [moon name] — restore a destroyed moon for 500 credits (configurable).

Configuration

Section Setting Default What it does
General Enabled true Master on/off switch.
General AutoResetWhenAllBlocked true Clear the list once every routable moon is destroyed.
General BlockOnMeltdownStart true Block the moon the moment a meltdown starts.
Buyback EnableMoonBuyback true Allow paying to restore a destroyed moon.
Buyback MoonBuybackPrice 500 Credit cost to restore one moon.
Visuals StrikethroughBlockedMoons true Strike through destroyed moon names in the terminal.
Lists ManualBlacklist (empty) Moons that are always blocked.
Lists Whitelist (empty) Moons that are never blocked.
Compatibility FilterRandomMoonFXPool true Remove destroyed moons from the RandomMoonFX random pool.
Maintenance ResetBlockedListOnNextLoad false One-shot clear of the stored list.

Compatibility

  • FacilityMeltdown (required) — provides the meltdown and explosion that trigger the block.
  • RandomMoonFX (optional) — destroyed moons are excluded from the random lever pool, with a built-in anti-hang guard.
  • Meltdown_Chance (optional) — blocking only happens when a meltdown really occurs.
  • LethalLevelLoader (optional) — vanilla and custom moons supported.

Credits

  • Solo00n — author.
  • Built with BepInEx and HarmonyX.

Русский

Аддон для FacilityMeltdown. Когда луну уничтожает ядерный взрыв, она навсегда становится недоступной в текущем сохранении — на неё нельзя прилететь ни через терминал, ни через рычаг. Блокировка сохраняется между сессиями и хранится внутри самого сейва, поэтому удаление сейва её очищает.

Возможности

  • Навсегда блокирует луну в текущем сохранении после ядерного взрыва FacilityMeltdown.
  • Запрещает маршрут на уничтоженную луну через терминал и через рычаг корабля.
  • Перечёркивает названия уничтоженных лун в списке лун в терминале.
  • Выкуп уничтоженной луны за кредиты, с отдельным разделом на странице HELP в терминале.
  • Автоматически очищает список, когда уничтожены все доступные луны.
  • Поддерживает ванильные и модовые луны.

Мультиплеер

Решение принимает хост. Только хост определяет meltdown, записывает уничтоженную луну и сохраняет её, а затем рассылает список всем клиентам, чтобы их терминалы и рычаги тоже отказывали в маршруте. Выкуп решается на хосте и синхронизируется со всеми.

Зависимости

  • BepInEx
  • FacilityMeltdown (от loaforc)

Команды терминала

  • moonstatus — показать список уничтоженных лун.
  • buyback — показать список для выкупа и цену.
  • buyback [название] — восстановить уничтоженную луну за 500 кредитов (настраивается).

Changelog

1.0.8

  • Fixed stale blocked lists surviving across save deletion. The save data is now the single source of truth, and deleting a save clears its destroyed-moon list.

1.0.7

  • Fixed a freeze when pulling the ship lever with many destroyed moons. Added an anti-hang guard, a routing safety net, and a config toggle to disable the random-pool filtering if needed.

1.0.6

  • Performance and stability hardening; cached checks and safer strikethrough.

1.0.5

  • Added crash safety so the moon pool can never be fully emptied, and the moon buyback system.

1.0.4

  • Auto-reset the list when every moon is destroyed.

1.0.3

  • Kept only the moonstatus command; more robust strikethrough in the moons list.

1.0.2

  • Fixed the save list not loading; added reliable meltdown-start detection and terminal strikethrough.

1.0.1

  • Fixed the meltdown auto-detection crash and dependency detection.

1.0.0

  • Initial release.