GithubHelp home page GithubHelp logo

infomod2's Introduction

infomod2

This is a full rewrite and updated version of the original InfoMod project - with upgraded visuals, improved performance optimizations, and a more solid foundation to build future ideas.

This project is in early alpha and is not yet available on the Steam Workshop. However, it already includes most features that were in the original InfoMod and is stable enough to replace it by now. You can scroll down to the installation section of this README page to learn how to install this mod, or head over to my Slay the Spire mod website for a curated collection of all my mods (including more indepth installation instructions and tutorials!).

This mod is intended to be installed alongside Bestiary (a mod to display enemy AI patterns and movesets) as it originated inside the original InfoMod before being spliced off into its own standalone mod. Be sure to check that out as well for the full experience if you haven't yet!

Features

Potion Chance Tracking

Easily keep track of your current potion drop chances. At the start of each act, this value resets to 40%. If you see a potion, the chance goes down by 10%. If you don't see a potion, the chance goes up by 10%. This indicator on the top bar will keep track of this (relatively easy math) for you. Mousing over it will show the chance to see at least one potion after multiple fights!

Potion tracking

Question Mark Floors / Boss Indicator

The Map tooltip has been replaced with two modules - one to let you know what to expect on your next mystery floor, and a second one for quickly identifying the upcoming boss (no more scrolling to the top of the map!). Additional explanations on the calculations performed to get these probabilities can be found on the very useful Reference Spreadsheet.

Event tracking

Right clicking the map icon will bring up an event overview screen. This screen will show which events you can see on the very next floor and updates the colors based on whether you satisfy the event's requirements. You can use this overview to quickly understand which events are possible, and check that you correctly fulfill all the necessary prerequisites (e.g. minimum gold requirements, having certain relics, etc.).

Each of the events has a full description of the possible choices and effects of those choices, as well as listing out further details that may be of interest. Events that you encounter previously in the run will be marked "inactive" (shown in a bluish gray color) and have their tooltips updated to display which floor you saw them on.

Event detail screen

Card Drop Chances

The deck tool tip has been replaced with a visual way to see how likely you are to see a card of a certain rarity in the next combat reward screen. This is a reasonably complicated calculation, but the general gist is that the more common cards you see -> the more likely you are to see a rare card. A decent ballpark estimate is that each common card you see will increase your chance to see a rare by 1% - although hitting a rare card will reset the chance to 0% again.

Elite combat rewards are more likely to have a rare card than normal combats - and there are some other wrinkles in the computation (e.g. hidden card rewards for some Neow rewards) that make the calculation a bit more involved. Some additional information can be found on the Reference Spreadsheet, but it isn't quite 100% accurate due to some semantics in the mathematics.

Card drop tracking

Card Play Stats

The Settings tool tip has been revamped with some simple data collection. It has a turn counter (especially useful when combined with Bestiary!) and will keep track of the number of cards you play each turn, combat, and over the entire run.

Although averages aren't really the best mathematical tool for assisting decision making, the average cards played per turn should hopefully enable you to make slightly more informed decisions regarding the general playstyle of your deck - especially when considering the impacts of relics such as Pocketwatch or Velvet Choker.

The cards per combat / last turn data sticks around until the start of your next combat, letting you have access to this information on intermediate floors if you forget to check it during a fight!

Card play stats

Shop Prices

The Gold tool tip has been improved to show the prices you can expect in the next shop. The values are color coded to easily tell whether you can afford a certain rarity of item with your current amount of gold. These prices and colors will properly adjust with your current relics and whenever you gain / lose gold. There's also a card removal price tracker as well!

Shop Prices

Installation

A more in depth explanation of installing Slay the Spire mods from Github can be found on my Slay the Spire website, if you run into any issues!

Requires ModTheSpire and BaseMod (you can find them on the Steam workshop!). Currently, I'm holding off onto releasing into the wilds of the workshop until I finish up a few more planned screens and do a bit more testing / polishing to make sure everything works.

To install:

  • Remove any previous version of InfoMod from your SlayTheSpire/mods folder (you can delete InfoMod.jar as it is incompatible with this mod)
  • Head over to the releases page and download the latest InfoMod2.jar file. Place it into your SlayTheSpire/mods directory. You should create this folder if it doesn't exist!

NOTE: this is not the same location as Steam workshop managed mods - for this mod, you'll want to install directly inside the SlayTheSpire directory (putting it somewhere like .../steam/steamapps/common/SlayTheSpire/mods/InfoMod2.jar)

  • Launch the game with mods and make sure to check the box to enable InfoMod and the required BaseMod library.

Notes

  • You may want to start a fresh game save first - as the boss indicator won't update correctly
  • This is not a cheat mod! Using this mod doesn't give you any practical advantage in optimal play - none of the data displayed is unable to be calculated manually without the mod. It's just tedious to do in normal games!
  • This mod is under construction - expect bugs!
  • This mod is designed for 1080p (1920x1080) resolution first, but a decent amount of effort was put in to make it compatible with alternate resolutions (including ultrawide). It should work, but it'll be a bit less pretty. As I don't have anything other than a 1080p screen personally, please let me know if anything looks too wonky or unreadable over on the Issues Page here on Github.

Feedback

Please drop me a line on the issues page if you have ideas, suggestions, find bugs, or have any other comments. Thank you!

infomod2's People

Contributors

casey-c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

infomod2's Issues

Minor resolution bug

I play at 1920 by 1200 and the hover tooltips on all the things top right are all down to far, probably by the 120 pixels between 1080 and 1200 lol.
image

Slay the Relics Boss tooltip colors not working

Prepending #p to the string will only affect the first word, e.g. "#pSlime Boss" instead of the desired behavior of "#pSlime #pBoss". Need to format it better.

Should also consider adding colors to the other tool tips to make them more readable.

Tooltip positioning off at certain width ratios

Looks like there are issues with window ratios that are very different from 1920x1080. On my 13" MacBook, fullscreen puts the window in 1440x900 (ratio of 1.6), which screws up the positioning:

Screen Shot 2022-01-02 at 8 32 46 PM

Screen Shot 2022-01-02 at 8 32 54 PM

Switching to 1366x768 for the window size fixes the issue (I'm guessing since 1366/768 is ~1.77, which is very close to 1920/1080).

P.S. Thanks for working on this mod and following through on so many improvements, it's been awesome for a long time and glad to see it getting even better!

File location on Mac

FYI, on Mac if I create a mods folder in: /Users/xxx/Library/Application Support/Steam/steamapps/common/SlayTheSpire, then add InfoMod2.jar to it, nothing happens. I don't see InfoMod on my list of available mods in the Mod the Spire launcher (I see other mods subscribed to from Steam).

However, if I click the folder icon in the Mod the Spire launcher, it opens: /Users/xxx/Library/Application Support/Steam/steamapps/common/SlayTheSpire/SlayTheSpire.app/Contents/Resources/mods If I add InfoMod2.jar there, everything works as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.