You are viewing a potentially older version of this package. View all versions.
HungryMuttis-Tweaks-2.0.2 icon

Tweaks

Some customizable tweaks for Content Warning. Features: don't consume oxygen when dead; give oxygen upon revival; refill oxygen; change amount of initial oxygen and more. Also adds custom commands (use them with TipeMod). Also a better console API for devs

Date uploaded a year ago
Version 2.0.2
Download link HungryMuttis-Tweaks-2.0.2.zip
Downloads 132
Dependency string HungryMuttis-Tweaks-2.0.2

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
RugbugRedfern-MyceliumNetworking-1.0.14 icon
RugbugRedfern-MyceliumNetworking

An easy to use networking library for sending custom RPCs through Steam.

Preferred version: 1.0.14
HungryMuttis-CWAPI-1.1.0 icon
HungryMuttis-CWAPI

A powerful api for developers to easily patch methods, add new features, create custom RPCs. Makes most of the repetitive tasks disappear

Preferred version: 1.1.0

README

Content Warning Tweaks

A mod with some quality-of-life changes for oxygen management and a better console for developers. And more tweaks to come!

IF SOMETHING DOESN'T WORK OR YOU WANT TO REQUEST A FEATURE, OPEN AN ISSUE ON GITHUB

Features

  • Oxygen on Revival: Give the revived player set amount of oxygen
  • No Oxygen Loss When Dead: Change oxygen consumption on dead players
  • Diving Bell Refill: Refill oxygen when in diving bell
  • Configurable Oxygen: Adjust how much oxygen you have
  • Console Improvements: Enhancements for the in-game console

Commands

Install TipeMod to use

Player

  • .SetRemainingOxygen <Player (Player)> <Value (Single)> [Percent (Boolean)]: Sets the remaining oxygen for the specified player
  • .Heal <Player (Player)> <Value (Single)> [Percent (Boolean)] : Heals the specified player specified value

Players

  • .SetMaxHealth <Value (Single)>: Sets the max health for all players to the specified value

For Developers: BetterConsole

If you're making mods and want a better console experience, you can reference this mod's assembly. This lets you use the Tweaks.Features.BetterConsole.ConsoleCommandAttribute

This attribute is a better alternative to Zorro.Core.CLI.ConsoleCommandAttribute because it handles:

  • Automatic help command generation
  • Optional arguments
  • Command overloading

There is also a class Tweaks.Features.BetterConsole.CommandsClass to specifically enable or disable commands in a specific class

Testing Note

I've tested this mod with two game instances (just me), but it should work fine with more players

Credits

me.