Language / Язык: English · Русский
Author: Solo00n
Every morning the item dropship flies in and drops a free batch of random shop items on your landing pad — except some of them arrive as live traps or hostile monsters instead.
- Daily air-drop — the game's real item dropship is dispatched on schedule, lands by the ship and drops a batch of 2–4 random buyable items, for free (your credits are untouched).
- Auto item pool — pulls every orderable item from the terminal shop, including ones other mods add; ship upgrades are excluded.
- Selection modes —
Random(equal chance) orPriceWeighted(cheaper items are more likely, with an optional on-sale boost). - Traps and monsters — each slot can instead be a live trap (Turret / Landmine) or a small monster, dropped at the ship's own spots when its hatch opens.
- Whole-delivery modes — a once-per-delivery chance the entire delivery is all traps, or all monsters.
- Allow / block lists — for items, traps and monsters, so you decide exactly what can arrive.
- Flexible schedule — dispatch time(s) on the in-game clock, several deliveries per day, per-slot replacement chances.
- In-game config — every setting is editable live through LethalConfig.
- Items ride the vanilla
ItemDropship: the chosen indices are added toTerminal.orderedItemsFromTerminal(the same list a paid order uses, minus the credit charge), so the ship flies in, lands and drops them exactly where terminal orders land. - The descent is started at the scheduled
DeliveryTimesclock time, and traps/monsters spawn at the ship's own item-drop spots the moment its hatch opens, so everything arrives together in the same place. - Monsters spawn via
RoundManager.SpawnEnemyGameObject, traps viaNetworkObject.Spawn— no custom network objects. - The monster pool is built from every loaded
EnemyTypefiltered by the allow-list, so any allowed small monster can appear on any moon.
Only the host generates and dispatches deliveries; clients never generate their own, so everyone shares one authoritative delivery.
Items: queued onto the host's terminal order and delivered by the game's own dropship, which replicates to all clients.
Traps and monsters: spawned server-side throughNetworkObject.Spawn/SpawnEnemyGameObject, so all clients see the same result.
Install: the host must have the mod; clients receive everything through Netcode. Install it on everyone so the whole lobby shares the same config.
- BepInEx 5.4.21+ (
BepInEx-BepInExPack-5.4.2100) - Lethal Company V81
- Optional: LethalConfig for editing settings in-game.
- Mod manager (r2modman / Thunderstore Mod Manager): search for the mod and click Install.
- Manual: install the BepInEx pack, then drop
RandomDelivery.dllintoBepInEx/plugins/.
File: BepInEx/config/Timofey.RandomDelivery.cfg (created on first launch). The .cfg is re-read at the start of every day, and can also be edited live in the LethalConfig menu.
| Key | Default | Description |
|---|---|---|
Enabled | true | Master switch for the whole mod. |
DeliveryTimes | 08:30 | Comma-separated in-game times the dropship is dispatched (day starts 06:00). Each is an HH:MM time, StartOfDay, or a number of seconds after landing. List several for multiple deliveries. |
MaxDeliveriesPerDay | 1 | Hard cap on deliveries per day. |
MinItems / MaxItems | 2 / 4 | Slots per delivery (inclusive range). |
ItemSelectionMode | Random | Random or PriceWeighted. |
PriceWeightFactor | 1.0 | Price-weighting steepness (0 = flat, 1 = inverse price, 2 = strongly favour cheap). |
DiscountBoost | true | Boost on-sale items in PriceWeighted mode. |
DropshipAutoOpen | false | Open the hatch by itself on landing instead of waiting for a player. |
ChanceForTrap / ChanceForMonster | 15 / 10 | Per-slot % chance a slot becomes a trap / a monster. |
Priority | Monster | Winner when both a trap and a monster hit the same slot. |
ChanceForAllTraps / ChanceForAllMonsters | 0 / 0 | Once-per-delivery chance the whole delivery is all traps / all monsters. |
The allow/block lists —AllowedItems/BlockedItems,AllowedTraps/BlockedTraps,AllowedMonsters/BlockedMonsters— live in theItemFilters,TrapsandMonsterssections. A non-emptyAllowed*list acts as a whitelist; otherwise the matchingBlocked*list applies.
- Automatically includes items other mods add to the terminal shop (reads
Terminal.buyableItemsList). - In-game configuration via LethalConfig (auto-detected, optional — no hard dependency).
- Uses the game's own dropship and vanilla networked spawns — no custom network objects, low conflict risk.
- Works on vanilla and modded moons; if a moon has no dropship, the delivery falls back to spawning on the pad next to the ship.
dotnet build -c Release
Output: bin/Release/RandomDelivery.dll. Game assemblies are referenced via the LethalCompany.GameLibs.Steam NuGet package as compile-only (PrivateAssets="all") — no game files are distributed.
- Solo00n — author.
- Built on BepInEx and HarmonyX.
- Licensed under MIT.
Автор: Solo00n
Каждое утро грузовой дропшип прилетает и сбрасывает на посадочную площадку бесплатную партию случайных предметов из магазина — вот только часть из них прибывает в виде живых ловушек или враждебных монстров.
- Ежедневная доставка — настоящий грузовой дропшип отправляется по расписанию, садится у корабля и сбрасывает партию из 2–4 случайных покупаемых предметов, бесплатно (баланс не меняется).
- Автопул предметов — берёт все заказываемые предметы из терминала, включая добавленные другими модами; улучшения корабля исключены.
- Режимы выбора —
Random(равный шанс) илиPriceWeighted(чем дешевле, тем вероятнее, с бонусом за скидку). - Ловушки и монстры — любой слот может стать живой ловушкой (Турель / Мина) или маленьким монстром, которые высыпаются в точках выгрузки дропшипа при открытии люка.
- Режимы всей доставки — шанс один раз за доставку, что вся партия будет только из ловушек либо только из монстров.
- Белые / чёрные списки — для предметов, ловушек и монстров: вы точно решаете, что может прибыть.
- Гибкое расписание — время(-на) отправки по внутриигровым часам, несколько доставок в день, пошаговые шансы замены.
- Настройка в игре — все параметры меняются вживую через LethalConfig.
- Предметы едут на ванильном
ItemDropship: выбранные индексы добавляются вTerminal.orderedItemsFromTerminal(тот же список, что и у платного заказа, но без списания кредитов), поэтому корабль прилетает, садится и сбрасывает их туда же, куда падают заказы из терминала. - Спуск начинается в заданное время
DeliveryTimes, а ловушки/монстры спавнятся в точках выгрузки дропшипа в момент открытия люка — так всё прибывает вместе и в одном месте. - Монстры спавнятся через
RoundManager.SpawnEnemyGameObject, ловушки — черезNetworkObject.Spawn, без своих сетевых объектов. - Пул монстров строится из всех загруженных
EnemyTypeс фильтром по белому списку, поэтому любой разрешённый мелкий монстр может появиться на любой луне.
Доставки генерирует и отправляет только хост; клиенты ничего не генерируют сами, поэтому у всех одна авторитетная доставка.
Предметы: добавляются в заказ терминала на хосте и доставляются дропшипом самой игры, что реплицируется всем клиентам.
Ловушки и монстры: спавнятся на сервере черезNetworkObject.Spawn/SpawnEnemyGameObject, поэтому итог одинаков у всех.
Установка: мод обязателен у хоста; клиенты получают всё через Netcode. Ставьте всем, чтобы у всего лобби был общий конфиг.
- BepInEx 5.4.21+ (
BepInEx-BepInExPack-5.4.2100) - Lethal Company V81
- Опционально: LethalConfig для настройки в игре.
- Через менеджер (r2modman / Thunderstore Mod Manager): найти мод и нажать Install.
- Вручную: установить BepInEx-пак, затем положить
RandomDelivery.dllвBepInEx/plugins/.
Файл: BepInEx/config/Timofey.RandomDelivery.cfg (создаётся при первом запуске). .cfg перечитывается в начале каждого дня и правится вживую в меню LethalConfig.
| Ключ | По умолчанию | Описание |
|---|---|---|
Enabled | true | Главный выключатель мода. |
DeliveryTimes | 08:30 | Список времён отправки дропшипа через запятую (день начинается в 06:00). Каждое — время ЧЧ:ММ, StartOfDay или число секунд после посадки. Перечислите несколько для нескольких доставок. |
MaxDeliveriesPerDay | 1 | Жёсткий лимит доставок в день. |
MinItems / MaxItems | 2 / 4 | Слотов за доставку (включительно). |
ItemSelectionMode | Random | Random или PriceWeighted. |
PriceWeightFactor | 1.0 | Крутизна весов по цене (0 = ровно, 1 = обратно цене, 2 = сильный уклон в дешёвые). |
DiscountBoost | true | Бонус к шансу товаров со скидкой в режиме PriceWeighted. |
DropshipAutoOpen | false | Открывать люк автоматически при посадке, не дожидаясь игрока. |
ChanceForTrap / ChanceForMonster | 15 / 10 | Пошаговый шанс (%) сделать слот ловушкой / монстром. |
Priority | Monster | Кто побеждает, если в один слот выпали и ловушка, и монстр. |
ChanceForAllTraps / ChanceForAllMonsters | 0 / 0 | Шанс один раз за доставку, что вся партия — только ловушки / только монстры. |
Белые/чёрные списки —AllowedItems/BlockedItems,AllowedTraps/BlockedTraps,AllowedMonsters/BlockedMonsters— находятся в разделахItemFilters,TrapsиMonsters. Непустой списокAllowed*работает как белый список; иначе применяется соответствующийBlocked*.
- Автоматически включает предметы, добавленные другими модами в магазин терминала (читает
Terminal.buyableItemsList). - Настройка в игре через LethalConfig (определяется автоматически, необязателен — жёсткой зависимости нет).
- Использует дропшип самой игры и ванильные сетевые спавны — без своих сетевых объектов, низкий риск конфликтов.
- Работает на ванильных и модовых лунах; если на луне нет дропшипа, доставка запасным путём спавнится на площадке у корабля.
dotnet build -c Release
Результат: bin/Release/RandomDelivery.dll. Сборки игры подключены через NuGet-пакет LethalCompany.GameLibs.Steam только для компиляции (PrivateAssets="all") — файлы игры не распространяются.
- Solo00n — автор.
- Построено на BepInEx и HarmonyX.
- Лицензия MIT.