kizu-LCStatsCapture icon

LCStatsCapture

Saves end-of-day stats to JSON: scrap collected, player count, survivor count, and an auto-updated registry of every moon, enemy, weather, interior, and scrap type found in your modpack.

By kizu
Last updated 17 hours ago
Total downloads 17
Total rating 0 
Categories Tools AI Generated
Dependency string kizu-LCStatsCapture-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

LC Stats Capture

Automatically saves a JSON file at the end of every round with your crew's performance stats. No configuration needed — mod content is discovered automatically.


What It Captures

Per round:

  • Moon name, weather, interior type, seed
  • Player count, survivor count, survivor names
  • Every death (player name, cause, time of day)
  • Every scrap item brought back to the ship (name, value, weight)
  • Total scrap value and weight collected

Growing content registry (saved separately, updated every run):

  • All moons — including mod-added ones
  • All weather types
  • All enemy types — including mod-added ones
  • All scrap item types
  • All interior/dungeon flows

The registry builds itself up passively as you visit new moons and encounter new content. You never have to list anything manually.


Output Files

All files go to:

C:\Users\<you>\AppData\Roaming\LCStatsCapture\

Round snapshots are named:

<sessionId>_day<N>_<MoonName>_<timestamp>.json

Example: a3f7c901_day02_TitanMoon_20250301_213045.json

Content registry is a single file that grows over time:

content_registry.json

Example Round Snapshot

{
  "SessionId": "a3f7c901",
  "DayNumber": 2,
  "CapturedAt": "2025-03-01 21:30:45",
  "Seed": 498271634,
  "MoonName": "Titan",
  "Weather": "Stormy",
  "InteriorType": "Level3Flow",
  "PlayerCount": 3,
  "SurvivorCount": 2,
  "SurvivorNames": ["Alice", "Bob"],
  "Deaths": [
    { "PlayerName": "Charlie", "CauseOfDeath": "Mauling", "TimeNormalized": 0.62 }
  ],
  "TotalScrapItemCount": 8,
  "TotalScrapValueCollected": 420,
  "TotalScrapWeightCollectedLbs": 103.5,
  "ScrapCollected": [
    { "Name": "Gold bar",   "Value": 210, "WeightLbs": 77.0, "TwoHanded": false, "IsConductive": true },
    { "Name": "Old phone",  "Value": 45,  "WeightLbs": 7.3,  "TwoHanded": false, "IsConductive": false }
  ],
  "KnownContent": {
    "Moons":        ["Experimentation", "Assurance", "Vow", "Titan", "CustomMod Moon"],
    "WeatherTypes": ["None", "Rainy", "Stormy", "Foggy", "Eclipsed", "CustomWeather"],
    "EnemyTypes":   ["Bracken", "Hoarding bug", "Coil-head", "CustomEnemy"],
    "ScrapTypes":   ["Gold bar", "Old phone", "Jar of pickles", "CustomScrap"],
    "InteriorFlows":["Level1Flow", "Level2Flow", "Level3Flow"],
    "LastUpdated":  "2025-03-01 21:30:45"
  }
}

Notes

  • Mod compatibility: Any mod that adds moons, enemies, weathers, interiors, or scrap items is automatically picked up. Nothing needs to be configured.
  • Death tracking: On the host, all player deaths are captured with cause. On non-host clients, only your own death cause is captured in real time; other players' deaths are reconciled at round end as "Unknown" cause (they are still counted correctly for survivor math).
  • Non-destructive: This mod only reads game state and writes JSON files. It never modifies the game and is safe to use alongside any other mod.

Iteration Loop

Change What to do
Analyse existing runs Open the JSONs — no game restart needed
Capture different data Edit DataCapture.cs, run dotnet build, relaunch
Re-test same seed Use Imperium's seed field — paste the seed from the filename