/Balatro-Preview

Simulate the score you will get on the selected cards!

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

Divvy's Preview for Balatro

Simulate the score you will get on the selected cards!

Installation

  1. Install Steamodded
  2. Download the latest release of this mod, here.
  3. Copy the downloaded folder to C:\Users\[USER]\AppData\Roaming\Balatro\
  4. Launch the game!

Features

  • Score preview without side-effects!
  • Updates in real-time when changing selected cards, changing joker order, or using consumables!
  • Can preview score even when some cards are face-down!
  • Perfectly predicts random effects...
  • ... or not! There is an option to show the minimum and maximum possible scores when probabilities are involved!

See It In Action

Demonstration for viewing the score when some cards are face-down.

 

Demonstration for the score changing in real-time.

 

Demonstration for the score changing in real-time, again.

 

Demonstration for viewing min-max scores
under the effects of Business Card with Bull and Bloodstone.

Use My Simulation!

If you are a mod developer, feel free to copy the Mods\DVSimulate.lua file to your mod and use the simulation function! Ideally, I would like DVSimulate.lua to be a sort of library for mods to use, but I have not yet looked into the best ways to make that work with Steamodded. If you have ideas, feel free to open an issue.

Mod Compatibility

This mod is focused only on vanilla Balatro. If you find errors in score calculation that seem to involve another mod, you may open an issue here, but I will not fix it unless it is a very popular mod. Instead, I should hopefully work with other mod developers to make it as easy as possible to adjust the simulation for compatibility. It should be as easy as checking whether DV.SIM is defined and then creating custom advice for the DV.SIM.run(..) function. To be clear, this would be placed in the other mod. Unfortunately, this approach depends on the order in which mods are loaded, so if you know how to influence that, let me know by opening an issue.