MrGlim-ShipStarterKit icon

ShipStarterKit

On first load of a save, pile configurable store equipment on the ship floor (belt bags, flashlights, jetpacks, and more).

Last updated 3 days ago
Total downloads 79
Total rating 0 
Categories Mods Tweaks & Quality Of Life AI Generated
Dependency string MrGlim-ShipStarterKit-1.0.0
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

README

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.

Thunderstore namespace: MrGlim
Author: Ben Hough (MrGlim)
GUID: com.benhough.lethal.ShipStarterKit

Requirements

Behavior

  1. Host-only spawn — the host instantiates networked GrabbableObjects (same pattern as vanilla LoadShipGrabbableItems / dropship delivery) so clients see the piles.
  2. 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.
  3. 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).
  4. 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