You are viewing a potentially older version of this package. View all versions.
RedstoneWizard08-ConfigurableWarning-1.4.1 icon

ConfigurableWarning

Makes the game configurable!

Date uploaded 3 months ago
Version 1.4.1
Download link RedstoneWizard08-ConfigurableWarning-1.4.1.zip
Downloads 1500
Dependency string RedstoneWizard08-ConfigurableWarning-1.4.1

This mod requires the following mods to function

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
CommanderCat101-ContentSettings-1.2.2 icon
CommanderCat101-ContentSettings

A library for adding custom settings to Content Warning.

Preferred version: 1.2.2

README

ConfigurableWarning

Makes the game configurable! This is a quality-of-life mod to help you make the game as hard (or as easy) as you want!

Caveats

  • I have not had a chance to test this much in multiplayer, so beware of bugs!
  • Hopefully configs will sync but I'm not sure.
  • Configs should be host-only! Changes by anyone but the host should not apply!

Current Settings

  • Max Oxygen
    • Type: Float
    • Default: 500.0
    • The maximum oxygen (in seconds) for a player.
  • Max Health
    • Type: Float
    • Default: 100.0
    • The maximum health for a player.
  • Oxygen Usage Multiplier
    • Type: Float
    • Default: 1.0
    • How fast a player's oxygen will drain.
  • Use Oxygen in Dive Bell
    • Type: Bool
    • Default: False
    • Whether or not the player's oxygen decreases in the dive bell.
  • Days Per Quota
    • Type: Enum
      • 3
      • 5
      • 7
      • 10
      • 14
      • 18
      • 20
    • Default: 3
    • How many days per quota period.

CHANGELOG

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[v1.14.0] - 2024-05-18

Added

  • New settings DSL!
  • Other mods compat!
  • Better organization!
  • Annotations!
  • Much more that I forgor!

[v1.13.2] - 2024-05-09

Added

  • New Developer API (ConfigurableWarning.API)
  • Added documentation built with DocFX
  • Added CI for docs
  • Added new days-per-quota patch
  • Added new state cache
  • Added new option loader
  • Added [RegisterOption] annotation
  • Added clamp toggles (via a patch to Zorro.Settings and ContentSettings)
  • Added BoolOption, FloatOption, IntOption, and TextOption
  • Added documentation comments to all API classes

Changed

  • Updated README
  • Migrated existing settings to the new API
  • Migrated patches to the new API
  • Reorganized project
  • Switched to Cake (Frosting) for builds
  • Switched to Thunderstore CLI/Cake for packaging
  • Switched mostly to Rider (for development)
  • Moved the syncer from the Plugin class to an instance of OptionSyncer
  • Improved code structure
  • Moved namespaces to the top instead of a block

Removed

  • Removed old (legacy) package script
  • Removed old days-per-quota patch

[v1.12.0] - 2024-05-05

Added

  • Added diving bell settings

Changed

  • Updated sync

[v1.11.0] - 2024-05-02

Added

  • Added depdendencies

Changed

  • Fixed settings sync (again)
  • Made UI elements not borked
  • Redid settings packing
  • Fixed for CW's new May 2nd release

[v1.10.2] - 2024-05-01

Changed

  • Hopefully fix settings sync

[v1.10.1] - 2024-05-01

Changed

  • Actually fixed the build

[v1.10.0] - 2024-04-29

Changed

  • Updated settings UI to be cleaner
  • Switched fully to Mycelium Networking
  • Cached settings values
  • Building in release mode! (Yes, I wasn't before.)
  • Removed BepInEx config because it kinda broke stuff

[v1.9.2] - 2024-04-19

Changed

  • Fixed settings sync

[v1.9.1] - 2024-04-18

Changed

  • Nothing, just updated the README. :)

[v1.9.0] - 2024-04-18

Changed

  • Refactored UI
  • Moved to using ContentSettings and MyceliumNetworking

[v1.8.1] - 2024-04-12

Changed

  • Fixed a default config value
  • Hopefully fix the lobby patch

[v1.8.0] - 2024-04-12

Changed

  • Fixed health & days left HUD to actually reflect the correct value (in real time)

[v1.7.1] - 2024-04-12

Changed

  • Fixed lobby stuff (I actually applied the patch this time!)
  • Fixed patches not using nameof

[v1.7.0] - 2024-04-12

Added

  • Modified ContentSettings API is now built-in
  • Settings patch
  • TextSetting and TextSettingsUI for blank "settings" (basically a label/divider)
  • Common*Setting classes for ease
  • Basic register & setup function for settings (DX stuff)

Changed

  • Reorganized settings to make it easier to work with
  • Fixed a few issues
  • Made the patches better
  • We no longer rely on ContentSettings!

[v1.6.0] - 2024-04-11

Added

  • Added oxygen refill-related settings
  • Added private lobbies patch & config

Changed

  • Changed the sprint multiplier max from 4 to 10

[v1.5.0] - 2024-04-11

Changed

  • Moved to weird(-er) patching methods instead of overwriting methods for maximum compatibility (pretend that had echo in it)
  • Removed redundant stuff
  • Made config sync hopefully better
  • Hopefully didn't break anything :pray: