QoL compilation mod for Slay the Spire 2
README.md

Minty Spire 2 #

Successor of the StS1 mod with the same name. This is a compilation of small quality of life tweaks that reduce friction without giving additional information the player wouldn't have normally or changing any system in the game.

Current Features #

Combat Visuals #

  • Shows summed incoming damage next to your hp bar
  • Sums damage from multi attack intents
  • Display a second amount on powers that track multiple values (kiooeht)
  • Increase animation speed of shuffling discard into draw pile (pandemonium)

Relic Reminders #

  • Adds an indicator to cards when Pen Nib, Tuning Fork or Galactic Dust would trigger (book & erasels)
  • Make History Course pulse and display a card tooltip (kiooeht)
  • Display relics near the end turn button if they would trigger if you end your turn now

Other #

  • Heal preview above the rest button at rest sites
  • Adds a preview of how much gold you will have after a purchase (Ind-E)
  • Show ascenscion effects when hovering the character portrait in the top bar (kiooeht)
  • Reorders combat rewards to stop special card rewards like Thieving Hopper from covering the normal card reward when clicked in default order (kiooeht)
  • Make torches clickable to extiguish and light them (cany0udance)
  • Make's the Pael's Eye relic look at the mouse cursor (mangochicken)

Configuration #

Some more invasive features can now be toggled via the mod settings. To access them, navigate to the mod menu via the options menu while on the main menu and then select Minty Spire 2 from the list. THere should be a gear icon in the top right, above the mod's image. Click that gear icon to access the menu.

Installation #

Make a folder called mods in the same directory as your sts2.exe Steam\steamapps\common\Slay the Spire 2 and unzip the contents of the release (once available) into that folder or a subdirectory within that folder.

Contribution #

Minty Spire 2 (and its StS1 predecessor) is open to contributions. Feel free to contact me if you're unsure whether your idea fits the mission statement at the top of this README.

Contributions should meet reasonable code quality standards. I'm happy to give feedback once a PR is opened, but I may wait to merge until the code is in a good state.

If a feature is too intrusive, it may be disabled by default with the option to enable it via the mod configuration menu. I will let you know beforehand if that would be the case.

If you see features here that you'd like to incorporate into your own mod, feel free to do so. The code is open source. The only thing I ask is that you wait until this mod is released on the Workshop (once available) before releasing your own spin-off.

Maintenance Notes #

Keep Running While Unfocused #

If the game appears to "pause" when the window loses focus on macOS, the effective fix is in src/BackgroundExecution.cs.

The issue was not just App Nap. Slay the Spire 2 also has its own background handlers:

  • NBackgroundModeHandler lowers FPS when SettingsSave.LimitFpsInBackground is enabled.
  • NMuteInBackgroundHandler fades audio out when PrefsSave.MuteInBackground is enabled.

The working patch does four things:

  • disables Godot low processor mode
  • forces LimitFpsInBackground = false
  • forces MuteInBackground = false
  • patches NBackgroundModeHandler and NMuteInBackgroundHandler so their background enter/exit methods do nothing

The stronger macOS NSProcessInfo.beginActivityWithOptions(...) call is still kept, but by itself it was not enough.