WompProductions-CoronerCustomMessages icon

CoronerCustomMessages

Coroner custom death messages with editable BepInEx config entries for Thunderstore/r2modman.

Last updated 5 hours ago
Total downloads 4
Total rating 0 
Categories Mods BepInEx Client-side Tweaks & Quality Of Life
Dependency string WompProductions-CoronerCustomMessages-1.1.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
xilophor-StaticNetcodeLib-1.1.1 icon
xilophor-StaticNetcodeLib

A library/patcher for NGO in a static context.

Preferred version: 1.1.1
EliteMasterEric-Coroner-2.3.0 icon
EliteMasterEric-Coroner

Add Cause of Death to the performance report, now with a Mod API!

Preferred version: 2.3.0

README

Coroner Custom Messages

This is a Thunderstore-ready package that adds extra English death messages for EliteMasterEric-Coroner.

It now includes a companion BepInEx plugin that exposes message lists in the mod manager config editor and writes the Coroner XML file for you.

It uses Coroner's addon language file pattern under the hood:

  • Strings_en-us.xml is the base English file.
  • Any extra file matching Strings_en-us_*.xml is also loaded.
  • This package uses Strings_en-us_custom.xml, so it adds messages without replacing the base file.

Install

Thunderstore Mod Manager / r2modman

  1. Open Settings.
  2. Choose Import local mod.
  3. Select the packaged .zip.

After import, these files should exist in the active profile:

BepInEx/config/dowompi.coronercustommessages.cfg BepInEx/config/EliteMasterEric-Coroner/Strings_en-us_custom.xml

If the config editor does not show the package immediately, start the game modded once and reopen the config editor.

Editing in Thunderstore / r2modman

Open the config editor for Coroner Custom Messages.

Each supported death type is a string entry under the Messages section. Put multiple variants in one field separated by ||.

Example:

Stayed for the punchline. There was no survival after it.||Heard the music and still did not leave.||Took the performance too seriously.

On game launch, the plugin rewrites Strings_en-us_custom.xml from those config values and reloads Coroner's language handlers.

Upload to Thunderstore

Zip the package root so the archive contains:

  • manifest.json
  • README.md
  • icon.png
  • BepInEx/plugins/CoronerCustomMessages/CoronerCustomMessages.dll
  • BepInEx/config/dowompi.coronercustommessages.cfg
  • BepInEx/config/EliteMasterEric-Coroner/Strings_en-us_custom.xml

Then upload that zip as its own package or as part of a modpack.

How to add more messages

Recommended: edit BepInEx/config/dowompi.coronercustommessages.cfg through the mod manager config editor.

Direct XML editing still works if you want it:

Open BepInEx/config/EliteMasterEric-Coroner/Strings_en-us_custom.xml.

Each line inside <strings> is one message entry:

<DeathEnemyBracken text="Was folded into a portable shape by a Bracken." />

Rules:

  1. The XML tag name is the Coroner message tag, like DeathEnemyBracken.
  2. The text attribute is the message shown in-game.
  3. Repeating the same tag adds more random variants.
  4. Keep the file valid XML. If your text uses " inside the message, replace it with &quot;.
  5. You can add entries for any other Coroner tag listed in TAGS_REFERENCE.md.

Example with multiple random messages for the same death type:

<DeathOtherLandmine text="Conducted an unscheduled landmine inspection." />
<DeathOtherLandmine text="Proved the mine was active." />
<DeathOtherLandmine text="Discovered that pressure plates are not a myth." />

How to make a full custom language instead of just adding lines

If you want more control than "append extra messages", create your own full language file:

  1. Copy Coroner's base file Strings_en-us.xml.
  2. Rename it to something like Strings_my-pack.xml.
  3. Edit the messages you want.
  4. In Coroner's config, set LanguagePicker to my-pack.

Coroner looks for:

  • Strings_<language>.xml as the main file
  • Strings_<language>_*.xml as extra addon files

That means LanguagePicker = my-pack will load Strings_my-pack.xml and any extra files like Strings_my-pack_extra.xml.

Where to find everything you need

Notes

  • Missing tags fall back to English.
  • Extra Strings_en-us_*.xml files add to the message pool; they do not remove existing English lines.
  • This package currently exposes config entries for the sample death types included in the pack. More tags can be added in the plugin source if you want broader coverage.
  • Profile codes in r2modman include installed mods and changed config values, so once this package is installed normally your edited message lists can be shared through a profile code.