#Lock the Deal MOD

1 messages · Page 1 of 1 (latest)

fresh wagon
#

Tired of missing out on must-have cards like Jokers, Tarot, or other rare finds just because you’re short on cash? Lock the Deal is here to save your run!.

Features

  • Lock Shop Items: Keep cards and other items you want for the next round or within re-rolls.
  • Unlock Anytime: Change your mind? Unlock cards with a click.
  • Dynamic Costs: Locking comes with increasing costs for balance.
  • Plan Strategically: Save money for the perfect card while ensuring it stays available.
  • Localization Support: Available in multiple languages, with translations for English, Spanish, French, Italian, Portuguese (Brazil), and German.
  • FRJM Integration: The Joker card selected by FRJM is automatically locked at no cost.

Make your Balatro runs more strategic and rewarding with Lock the Deal!

Links

Installation guide: https://github.com/LnxFCA/balatro-mods#installation

Nexus Mods :: Balatro

Ensures a specific Joker card appears in the shop during the first round

GitHub

Collection of my hand-made mods for Balatro. Contribute to LnxFCA/balatro-mods development by creating an account on GitHub.

GitHub

Collection of my hand-made mods for Balatro. Contribute to LnxFCA/balatro-mods development by creating an account on GitHub.

Nexus Mods :: Balatro

Adds a Lock feature to shop items, allowing players to save cards for future rounds or re-rolls.

karmic robin
#

got this visual bug when frjm + lock the deal in my list activated mod

#

when i turn off frjm + lock the deal, all back to normal

#

thats joker from jen's almanac

fresh wagon
#

Let me check.

fresh wagon
# karmic robin got this visual bug when frjm + lock the deal in my list activated mod

First of all. Can you please send me a full screenshot of the bug.
The problems seems related to LTDM (Lock the Deal), since FRJM don't modify the card's UI.
Also could you please provide me with the bug reproduction steps.

For example: 1. Enable FRJM pick Foo Joker, 2. Start a new Run, 3. Purchase Foo item...
So that I can got straight to the problem. (I'm a bit lost, since I don't use the mod(s) you mentioned.)

karmic robin
#

simple:

  1. enable frjm or lockthedeal
  2. go to collection/frjm UI search for eternal-type joker from Jen's Alamanac ex. the knight, the pawn, etc (usually last page)
  3. hover and move that joker to the right or left n u will find this visual glitch
#

this happen in game too

#

not all joker have this visual bug just some joker from jens

knotty talon
# karmic robin

things like that always happen to me when im using multiple mods with multiple layered jokers, for example when i use the card sleeves mod and cryptid the exotic jokers have the same effect, i thinks its just some weird bug that happens when you combine certain mods and not this specific mods fault

karmic robin
#

thats make sense, i have several joker mods

#

but before installing lock the deal or frjm

#

all normal

#

never finds this visual bug

fresh wagon
#

I'm going to test with the Jens Almanac mod. The strange thing it that it affects FRJM too, which don't modify the card's UI.

karmic robin
#

take your time

#

btw i using smods olc calc

#

and using the jens almanac ot4 rev3 version (not latest version)

fresh wagon
#

I've fixed the visual error, it was a clash with Cryptid and how LTDM draws the LOCK button.
New release: https://github.com/LnxFCA/balatro-mods/releases/tag/lock-the-deal-v1.0.1
I just tested OT4 Rev 3 and there is a bug with this release, I tested it without LTDM installed, and the visual bug still persists which shouldn't be the case.
Can you update to OT4 Rev4 and test LTDM v1.0.1?.

GitHub

Release notes

Fixed compatibility issue with some mods (Cryptid and others)

karmic robin
#

ok ill test using Jen's OT4 Rev4

karmic robin
#

visual bug is gone

in both version OT4 Rev3 and Rev4

fresh wagon
#

Good to know. Thanks for the report.

thin heron
thin heron
#

ah

fickle wind
#

Any chance you could implement the lock button where the native controller prompts are ? Currently you have to select the item you want to lock and while using controller on steam deck I cannot select packs or items in shops to lock unless I use a method to get the cursor up

#

Lock button only available after summoning mouse with ds5 track pad+ ps button

#

I did submit a bug to the main discord about controllers not being able to select things but until then I'll also ask here

fresh wagon
#

Yep, these things should be done here or on mod's GitHub.

Don't worry I'm already working on it. I'll release a new update once it's ready.

stoic night
#

when i lock a joker and joker slots are full and i press buy, the lock button for that joker is gone and automaticaly unlocked

fresh wagon
fickle wind
#

thats usually what makes mine disappear

fresh wagon
#

Ah, sorry, this is for controller users, right?
Yep, mine also would disappear on controller.

fickle wind
#

this also happens with pc controls

#

as you cant select the certain cards(shop, jokers in round) with controller so its a larger issue at play there

fresh wagon
#

The only way I found to fix this for any "controller" users is to make the "lock/unlock" mechanism to be triggered with a controller button, e.g Left Trigger or so, and instead of the button, add the lock/information to the card hover popup. Since the proper control support requires many modifications and possibly will break some mods, I think the only approach I can use is to remove the button for controller/gamepad users and instead add a popup with the information related like lock status, price and controller/gamepad button that triggers the mod.

fickle wind
fresh wagon
fickle wind
#

https://i.imgur.com/hS7aNHK.jpeg dont worry about mobile compat, i leave it in there so i can use batch scripts I made to organize the files for creating the required android file structure and then move over so its easier to leave in

#

cryptid, steam modded and talisman are all latest builds

#

"my-balatro-mods-main" is betmma

thin heron
mint horizon
#

People can't be ourple nowadays without someone complaining smh

fickle wind
fresh wagon
stoic night
#

i'll just have to be carefful

humble portal
#

only LTD installed

fickle wind
fresh wagon
#

I guess.

#

They broke many things 😭

fickle wind
#

😦

fresh wagon
# humble portal

Its due a new smods update. I'll try to add support for the new APIs without affecting users who use a old smods version.

#

Well, I guess its time for V2, I'll release it tonight.

fresh wagon
#

Lock the Deal v2.0.0

Lock the Deal - Major Release

Release notes

Full Changelog: https://github.com/LnxFCA/balatro-mods/compare/lock-the-deal-v1.1.1...lock-the-deal-v2.0.0

  • Added support for smods v1.0.0-beta-0301a and latest.
  • Added proper gamepad/controller support (See Controller support)
  • Optimized rendering performance and improved logic handling
  • Enhanced localization support (See c44568c)

Downloads

NexusMods: https://www.nexusmods.com/balatro/mods/191
GitHub: https://github.com/LnxFCA/balatro-mods/releases/tag/lock-the-deal-v2.0.0

NOTE: You must start a fresh/new run after updating.

fickle wind
#

so i restarted my run, got to the first shop, game crashes when i select a card with mouse. if i use controller then it immediately crashes when using the directional stick

fresh wagon
#

Let me patch it.

fickle wind
#

first off: i really like the chance of it becoming a text box by the description
second: seems to work

#

but

#

if i click A on a booster pack, even tho the prompt is to click LB the game crashes

fresh wagon
fickle wind
#

wait scratch that

#

i just redid it and tried to screen record

#

but now it does nothing

#

seems fine

fresh wagon
#

Mmm... Then the patch works?

fickle wind
#

looks like it

#

while ive got you here, there are a couple mods that require you to select jokers or shop packs (e.g cryptid banish, betmma abilities) but when using a controller certain things arent actually selectable via the A button, do you know how to begin getting around that?

fresh wagon
#

Yep, I had the same issue when testing... The problem with my Controller support implementation is that it relies on card.children.focused_ui, which is only set when the card is focused... I'll try to workaround this one, since the main description showns when selecting the card (not focusing), but the thing is that said action don't draw the "BUY" or "BUY AND USE" button.

That's from my point of view, not sure if I got what you mean.

fickle wind
#

so you mean in a round for example, if i wanted to "select" a joker with controller, the prompt to sell doesnt call the correct function to allow the controller to select?

#

only calls the function to show the sell button?

fresh wagon
#

Wait... I'm lost.
Is this related to Lock the Deal?.

fickle wind
#

no just because you're someone who replies lol

fresh wagon
#

😄

So it not related.
But well, that problem is related to Balatro itself, or may be the mods aren't implementing proper controller support.
But actually a workaround can be created. For example, assigning a Gamepad key that actually focus any highlighted/selected object.

fickle wind
#

you put any thought to submitting this to balatro mod manager?

fresh wagon
fickle wind
# fresh wagon Oh, I had it in mind too. I guess I will.

you gotta share your controller implimentation with other modders, they all have extra buttons on selecting an item with mouse but the button moves when using the controller to try and use said button. your work is godsend

fresh wagon
#

While this approach works for this mod, using the same method in other mods would be a bad idea. Since my implementation adds a new box to the card popup, if every mod does the same, the UI will become overly cramped.

But I will have the time to test and improve controller support on my other mods.

fickle wind
#

biggest ones I have issues with RN are cryptid, paperback, balatro+, so i've been trying to come up with some solutions with ai since I can't code but it doesn't really understand it all, so we can get close but no cigar

fresh wagon
#

A first step would be to report the issue on their repositories and discord channel, so they can check and improve controller support.
I don't use other mods than the ones I developed since I'm relatively new to this game (I'm still playing black stake). For that reason I don't know the current state of many mods and its compatibility. I think you should start with reporting the problem on their side, I can only help you a bit on that since I don't use those mods.

heady locust
#

Hey, I got a crash at startup with the latest verion of the mod

fresh wagon
#

Seems like you installed the mod directly from GitHub, which leaded to the error.
When installing from GitHub, you must also install the common directory alongside LTD.
Let me create a new release, so you can install the latest version using a release file.

wind crypt
fresh wagon