apfel-MortalityControl icon

MortalityControl

Allows toggling mortality in BONEWORKS.

Last updated 3 years ago
Total downloads 3207
Total rating 0 
Categories Code Mods
Dependency string apfel-MortalityControl-2.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

gnonme-ModThatIsNotMod-0.2.5 icon
gnonme-ModThatIsNotMod

A mod for loading in custom items, making life easier for other mod creators, and a whole lot more.

Preferred version: 0.2.5

README

Mortality Control

Allows controlling your mortality on the fly.
Requires MelonLoader 0.4 and ModThatIsNotMod.

Settings

You can change whether the mod turns you mortal (ToggleMortality) and whether you'd prefer to die instantly (PreferInstantDeath) in your MelonPreferences.cfg.
ModThatIsNotMod's BoneMenu is also supported.

Compiling

Requires:

  • .NET Framework 4.7.2 SDK
  • CMake 3.10 or newer
  • A copy of BONEWORKS with MelonLoader and ModThatIsNotMod installed
cmake -B build                          # Creates a build folder, use -DBONEWORKS_DIR=<path> if you installed BONEWORKS somewhere outside of C:\Program Files (x86)\Steam\steamapps\common
cmake --build build --config Release    # Builds the Release configuration.

ChangeLog

2.0.0:

  • Renamed settings values to more accurately convey their meaning
  • Added a preference toggle for instant or timed death
  • Fixed the hot-reload code
  • Cleaned up some of the in-place code

1.1.0:

  • Added an attempt to allow hot-reloading the mortality setting

1.0.0: Initial release.