You are viewing a potentially older version of this package. View all versions.
Wesmania-Soulmates-0.3.1 icon

Soulmates

Matches people into pairs so that each pair shares all damage. Based on the "Shared damage" mod.

Date uploaded 4 days ago
Version 0.3.1
Download link Wesmania-Soulmates-0.3.1.zip
Downloads 749
Dependency string Wesmania-Soulmates-0.3.1

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403

README

Soulmates

A multiplayer mod that matches players into pairs, where each player in a pair shares damage of the other. Based on the "shared damage" mod.

Features

Implemented:

  • Sharing damage!
  • Sharing hunger and weight!
  • Sharing healing!
  • Sharing bonks! (configurable)
  • Sharing extra stamina gain! (configurable)
  • Sharing extra stamina USE! (configurable)
  • Shared lollipops and energy drinks! (configurable)
  • Shared slipping! (configurable)
  • Many other shared afflictions! (all configurable)
  • New soulmates chosen at every biome!
  • You can set fixed soulmates!

Implemented, but maybe buggy:

  • Players that disconnect and rejoin should re-discover what their soulmate is from other players.
  • Collecting players into larger soulbound groups than 2 players! (configurable)
  • Sharing soulmate damage/healing at a different rate than one-to-one! (configurable)

Planned features

  • Fix bugs.

Installation

Using Thunderstore should "just work".

Manual installation

  1. Download and extract this mod into BepInEx/plugins.

Configuration

  1. Run the mod once.
  2. Open and edit the file BepInEx/config/com.github.Wesmania.Soulmates.cfg in PEAK's directory.

Fixed soulmates

You can set fixed pairings of soulmates in the configuration. Check the "FixedSoulmates" key. NOTE THAT:

  • Your pairings must have as many people as the "SoulmateGroupSize" value.
  • Nicknames must match exactly and cannot repeat.
  • Fixed pairings are HOST-LOCAL. If your host changes, fixed pairings will no longer apply!

Multiplayer Compatibility

This mod uses custom network events. Because of this it's best that all players in the lobby have the mod installed. If some players don't have the mod, weird and bad things will probably happen.

CHANGELOG

Changelog

V0.1.0

Release

V0.1.8

First kind of working version

V0.1.9

  • Split things up into files
  • Hopefully fix weight calculations
  • Hack around morale boost function being called hundreds of times

V0.1.10

  • Fixed picking new soulmates at campfire
  • Less spammy and more useful logs

V0.1.12

  • Experimental features: sharing bonks, extra stamina, lolliopos and energy drinks

V0.1.17

  • Sharing slipping.
  • Test status:
    • Recalculating soulmates at campfire doesn't work sometimes.
    • Receiving heat stops you from getting cold at night?

V0.2.0

  • Don't try to synchronize status when soulmate schange. Too complex, and probably unintuitive for players.
  • Use Photon's inMasterClient to decide who should recalculate soulmates.

V0.2.1

  • Probably fix incorrect weights/thorns calculations.

V0.2.2

  • Soulmate color is now green.
  • Fixed add/subtract messages sent on recursive calls. Probably doesn't fix the heat bug.

V0.2.3

  • Fixed the heat bug. Problem was with arguments to postfix being modified by the original function.

V0.2.4

  • Bigger soulbound groups.
  • Configurable soulbound effect strength.
  • Unretardate configuration file.
  • Mark each soulbound group with a nick color. Your soulmates are always green.
  • Maybe fix the jittery weight/thorns bug.

V0.2.5

  • Fixed the most obvious bugs.

V0.2.6

  • Added a message cache for tiny updates. Hopefully the mod will stop spamming a bajillion messages per second now. Should help with the lag I've seen other players have.

V0.2.7

  • Updated the mod just enough to successfully load in the Roots update. Full check-up pending.

V0.2.8

  • Change most Photon messages to unreliable. This might help with some players lagging a lot.
  • New mod icon. Thank you, /v/!

V0.2.9

  • Fixup AddStatus signatures so that the mod loads again.

V0.2.10

  • Add option to set fixed soulmate pairings. Check the README.
  • Calculate hunger ticks locally instead of sending messages. Should help with lag.

V0.3.0

  • Various big internal refactors.
  • Prepare for future conversion to Steam networking.
  • Added more shared afflictions, including those added in the Roots update.
  • More optimization to minimize network message spam.
  • Collect stats on network messages.
  • Fix some issues with local hunger calculation.

V0.3.1

  • Fix an error in README.