ShipStarterKit
On first load of a save, pile configurable store equipment on the ship floor (belt bags, flashlights, jetpacks, and more).
模組介紹 作者原文
ShipStarterKit
Lethal Company BepInEx mod that pre-supplies the ship with configurable store equipment on the first load of each save file. Items appear in separate piles per type on the ship floor.
namespace: MrGlim
Author: Ben Hough (MrGlim)
GUID: com.benhough.lethal.ShipStarterKit
Requirements
- BepInEx Pack
Behavior
- Host-only spawn — the host instantiates networked GrabbableObjects (same pattern as vanilla LoadShipGrabbableItems / dropship delivery) so clients see the piles.
- First load per save only — an ES3 flag ShipStarterKit_Supplied is written on GameNetworkManager.currentSaveFileName (e.g. LCSaveFile1). Reloading that save or returning from moons does not re-spawn. Starting a new game on the slot clears the flag via ResetSavedGameValues.
- Config per store item — defaults of 10 for belt bags, pro flashlights, jetpacks, lockpickers, spray paint, weed killer, and shovels. All other buyable store equipment is listed at 0 (raise in config as desired).
- HostModGate (MrGlim.ShipStarterKit) — advantage QoL; features follow host enable state.
Config (BepInEx/config/com.benhough.lethal.ShipStarterKit.cfg)
| Section | Key | Default | Notes |
|---------|-----|---------|-------|
| General | Enabled | true | Master toggle |
| General | VerboseLogging | false | Match / pile logs |
| General | SpawnOncePerSave | true | Keep true unless testing |
| ItemCounts | BeltBag, ProFlashlight, Jetpack, Lockpicker, SprayPaint, WeedKiller, Shovel | 10 each | Flexible name match |
| ItemCounts | (other buyables) | 0 | Auto-bound after Terminal loads |
First-load gate (detail)
- Hook: StartOfRound.Start Postfix on server (after vanilla LoadShipGrabbableItems).
- StartOfRound persists across moon trips, so this does not fire every landing.
- Persistence: ES3 on the current save file name; file fallback under BepInEx/config/ShipStarterKit/ if ES3 reflection fails.
Spawn API
Instantiate(item.spawnPrefab, pos, identity, elevatorTransform)
→ GrabbableObject setup (fallTime=0, isInShipRoom, scrapPersistedThroughRounds)
→ NetworkObject.Spawn(false)
License
MIT — Ben Hough, 2026
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: