#⚙・modding-general
1 messages · Page 136 of 1
i folowed the lovely one iirc
there doesn't seem to be any mod folders yet, i'll look further on the steammodded link
was easiest so i did it first
ok cool
well roaming/balatro
i only got lovely* no steammodded in yet*
but version.dll doesnt go there of course
yeah steammodded should go in the mods folder
thats not roaming is it?
i will help 🙂
this is the path you should follow i think to put the mod folder
crunc is just my username
while drawing i accidentlay picked the clolor idential to the transparent background
i'll look
does everything i do need to go that path?
not the lovely
the lovely is already where it should be
cool
why is talisman not working for me damnit
the steammodded and the modpacks your using go in a different place than the lovely
thats just my username
ah yea ok xD
if you dont seee the roaming it may be hidden
found it!
does it break compat with base saves?
🙂
that looks right
well i just cut and paste the entire steammodded folder into mods
the folder or the zip?
unzip first
i'll just keep it this way
i don't need to use the mods folder for minecraft annymore (god thank for modrinth)
looks good
and now i download a mod?
now you just need to put the mods in that folder following the same process
and put the unzipped folder in?
i mean maybe some mods work different than others
thats- it?
yeah at least for the mod that im using rn
huh, nice
and if i get lua
how can i preview the mod while working on it?
might be a big ask tho
i have no idea
sure 🙂
i'll look at lua once i actually have it
No
At least it shouldn’t do
I need to make sure I haven’t changed base behaviour
does the lovely program stay the whole time?
or well "program files"
what do you mean?
i now have 2 instances
of balatro
one is just code
or did i actually install a virus 💀
yeah i have something like that running while im playing too
yeah i think its supposed to be that way
i mean fair but god thats annoying
having the second window open?
oh. i play balatro in fullscreen so i dont see it
yeah im going with lucky cards rn and they can stack
imagine if balatro university plays this
its betmma mod
funny
my lucky cards have a chance of creating negative jokers when triggering 💀
sadly i cant play them without the game crashing. but i refuse to sell hanging chad
what if i had naninf jokers?
;-;
what?
immagine the glass cards
you'll be set for life if you had 1 unbreakable glass cards
actually,
that seems like a good mod idea-
dont worry my lucky cards are polychrome 
lol
i am abouta to make this my first mod 💀
double glass
well dont stop at double
not bad
.<
what the hell is tentacle edition
its what allowed me to copy the 100 chips from the ice cream joker and put it onto the hangingchads value
i probably wouldnt be much help with mod creation 
its fine
you can turn this off by configuring your steam launch args as --disable-console
i need idea's >:D
where i can find the steam launch args?
go to your steam library, right click balatro and select properties
there should be a "launch options" text box
another joker idea:
"When He Died"
[inspired and based on the Lemon Demon song "When He Died", each effect will have the line of the song it's referencing]
whenever a card is destroyed one of the listed effects happen:
Create a random Face Card (but not the card that was destroyed) (any card if the pendeolia joker or whatever it's called) ["When he died, turned out he left behind. A mention of other peoples skulls, the odd thing's that he never found his own"]
Create a random negative tarot, planet or spectral card in the usable slot ["When he died, he somehow left behind, strange symbols on the floor beneath his corpse, Investigators said the wood was scorched"]
Next played hand is upgraded three times ["When he died, they found so many scorpions inside his lungs"]
Create the deleted card with a random enhancement, random edition, and random seal ["When he died, the statues of his missing children cried, what was later found to be his blood"]
During the next round all jokers activate twice ["When he died, on a dark and stormy night, they telephoned his wife, who reacted with delight, but gradually her voice began to fade to nothing, and the laughing record played"]
Reroll the boss blind (wont happen when boss is active) ["When he died, they found a message etched into his spine, that said when he died, an endless age of untold nightmares would be nigh, and the blood would make the seas run red"]
Create a random negative joker ["When he died ,on a dark and stormy night, a nearby shed caught fire ,it simply caught alight, and when they cleared the charred wood from the ground, inside they found a painting of a clown, he'd painted it when he was just a child, but scrawled upon the back was exactly when he died"]
When He Died performed by Lemon Demon
🎧 Listen to more great pop music here: https://youtube.com/playlist?list=PLtanmeupwqanDzIBQWgjJ6qfhiyF_2WoY&si=t5_ls6Du2i9BzIm1
🔔 Subscribe for updates: https://www.youtube.com/MarsMusic?sub_confirmation=1
🎤 Want your music featured on our channel? Submit your music below!
https://ffm.link/songsubmissions...
yeah that should do
the last one was what realy made me concider this joker
cool :D
where can i get the glass card sprite?
i cannot find the enhancement on the google drive
can anyone who's colourblind please tell me if any of these jimbos are the same?
i hope i'm not being trolled
cuz i'm not colourblind
but the bottom left 2 are the same xD
the bottom 2 are slightly different
if you look closer the one on the right has slightly more green
i don't think colour blindness will cause those colours to equate
there's some useful websites for testing out palletes tho
my colours are too dark
but i cant get them to be slightly lighter for some reason
hmmmm
idk if darkness will do it, it's more hues i think
some hues can be shifted to look the same
that looks more different yeah
phew i thought i just found out in the most unfortunate way i was colourblind
LOL
is it just me or did that affect both of them
it did
i wanted to brighten them all
protonopia and deutronopia are apparently quite similar
well the thing im using for colourblind values is rgb so it might not be very helpful anyway
but thanks
im gonna have these colourblind editions which all act the same ish
they swap 2 values
but some are for different jokers
because for example swapping chips and mult wont do anything on a money joker
wait, is there a config to apply shaders to the soul layer? (I know it is possible to do manually, but is there like a built-in config or something??)
edition
local deuteranopia = SMODS.Edition({
key = "ed_deuteranopia",
loc_txt = {
name = "Deuteranopia",
label = "Deuteranopia",
text = {
"{C:chips}Chips{} act as {C:red}Mult{},",
"and vice versa"
}
},
discovered = false or Ceres.discover_all,
unlocked = false or Ceres.unlock_all, -- play a hand with 100x as many chips as mult
shader = 'deuteranopia',
config = {},
in_shop = true,
weight = 8,
extra_cost = 4,
apply_to_float = true,
loc_vars = function(self)
return { vars = {}}
end
})```
you can take ownership probably
You can take ownership of them
I'd want to be able to toggle that in game for vanilla editions
yeah that's an extra work lmao
theres only 4 vanilla editions tho
I should probably migrate it into the shader definition at some point
Its like five minutes of work tops to add it for vanilla editions
I might throw it in the editions mod I have in concept
for _, edition in (g.editions whatever) do
its_mine_now(edition)
floaty = true
end
idk if that would work but its funny
Oh you could do it that way too I suppose, just modify the object in the pool
im tryna think what other values i could swap
chips and mult is an obvious one
not sure what i could swap money with
hands and discards probably too
maybe card and joker generation
instead of getting tarots you get jokers and vice versa
could be cool for riff raff and whatnot
maybe retriggers and money?
wouldnt work for all of them tho
play end of round payout
maybe hands and money works better
just thought of a cool idea
making a black and white shader for any joker that you cant swap values for
You can likely just have this as one edition and have a function that changes which shader to use
I'm colorblind, the two on the left are exactly the same, the third one in the order is uncomfortably similar to the other two
do they look at all similar to regular jimbo?
there we go, full set
also changed this slightly
Can you try throwing the bottom left two editions onto a card with green?
Maybe add a shine effect or something to one? You're able to see the difference side-by-side like this, but, in game, it'll probably be really hard to tell if it's Protnopia or Deueranopia at first glance.
i would if i knew anything about shaders 😭
Maybe just go with a general color darkening for now, then? Make the white not as white so that they're easily told apart, and then you could come back later if you figure out shaders?
ill fix it up before release, so for now i cba to do any work to the shader
not sure what to make the last one do
not finished, but i just gotta brag about how well i did the reflection aspect
just flipped background with 15% transparency, and cut out to not be outside the monolith
i could if i wasnt already making a game myself as a full time job
solo game dev is not easy
wait thats cool as hell
and i cant afford to work for soemone else if i want to keep this game of mine alive
where can i find info about it?
it's in such deep inDev you cant
ah nws
i been only dropping hints so far
but im slowly but surley getting to a point where there is something to show
so in liek few months something will be
thoughts?
ehh.... changes thing only in like 5 jokers, doesent make sense to be a eddition thing
all the jokers that make consuambles too
would be better to just make these 5 jokers as their inverted things
like, new jokers
cause if you pull this eddition on any other joker, thats a waste of eddition
im making it so it can only be on jokers it effects
thats why ive got like 3 different editions
all based on colourblindness
well then at this point it makes more sense to have a joker like this instead of an eddition that only works on that joker
you could combine the 3 editions
why me?
and wouldnt that just give double intensity vision?
(each of the 3 is by missing one color, so each has 2/3 color receptors, so 2/3 X3 = 2)
110
101
011
222
it would be super saturation
i wasn't referring to the shader, i mean the effects. i was also speaking to nekojoe
may i ask how to get the achievements for steam to work? do i just put the lua in the mods folder? or am i doin sum wrong
Make a mod folder for it by itself, name doesn't matter, and then throw it in there.
finished "The Monolith" based on the sunrise on mars
hold on, as always, i tweeked it a bit after i said i was done
realy gives that depth
ahh damn it
any time i post my art i see a place i can improove it in
obviously something so shiny would cast reflection on the ground if the sun was shining at it directly
ahh damn it, i forgot about a reflection of the brightened floor
oh hey
cant think of anything i might have missed now
i think this should be more useful than Syntax error: game.lua:4: '=' expected near 'Game'
working the reflections made me come up with another joker.
"Prism"
makes colors act as their neighboring colors
(Spades = Clubs and Hears, Hearts = Spades and Diamonds, Diamonds = Hearts and Clubs, Clubs = Hearts and Spades)
this joker would make the clubs the best color (in terms of stone jokers)
cause both X1.5 and +50 chip
it still wont give me achievements
Which achievement are you trying to get? And, just in case, try grabbing the file from here and using it instead of whichever version you found. https://github.com/Steamopollys/Steamodded/blob/main/example_mods/Mods/AchievementsEnabler.lua
thats the one i have. and the less than 20 card deck one. its the easiest i can test
literally this 
god it's so BLUE
can anyone reccomend a balatro mod/modpack that is known for not crashing? (not a cosmetic mod)
why are some people's crash screens blue but mine has always been gray? legit don't know
not sure if I've ever played a mod that literally never crashes ngl
😦
losing runs to crashes is annoying bur you kinda get used to it :P
I also never play with only one mod at once so take what I'm saying with a massive grain of salt
I'd probably go with The World Ends with Jimbo, has a lot of jokers and I don;t think I ever get crashes from it
crash screens are blue if they happen early enough
mostly syntax error within the game's code itself
ah makes sense
so somethings gone horribly wrong. balatro isn't even starting to load, just hangs on a black screen. if i remove version.dll it works fine, just anything modded crashes when i try to open it for obvious reasons. here's the log.
i've possibly gotten too silly for the last time
so far my attempts at making this album cover into a joker
accidentaly make the joker hot
annd what would it do?
this is for the "When He Died" i mentioned erlier
too long to re-type
just go to the chat search and look for messages from me
you'll find it
i see. neat
do people consider quality of life mods "cheating"
what mods are we talking about?
it's a gradient
mainly subtle things
like there's definitely a barrier between a texture pack vs. an auto-reroller vs. something that completely reworks a joker to make it better
I'm intentionally avoiding stuff like hand previews n stuff
most stuff is displaying info that's already avilable in vanilla in an easier way
yeah that seems finbe
so far just
yeah this all looks fine
im assuming you're talking about like jokerdisplay?
yeah im getting joker display rn
i think the barrier comes from when things affect gameplay
ok, got a second to ping the joker
y'all should listen to some Lemon Demon tho
he's the genious behind the legendary meme of Ultimate Showdown Of Ultimate Destiny
example would be not just yet
not just yet has the potential to be absolutely busted
final list
the song with that part that goes like
"And gandalf the gray, and gandalf the white, and the "montypython and the holy grail"s black knight, and mussolini, and ...."
I'd suggest that one consumable merging mod but you can actually use it to have more consumables than you're supposed to
just makeing non-negatives unmergable would fix that while they make a proper solution
ah
tbh I wish there was a mod that showed stake stickers in game
for easier completionist hunting
There is one
StickersAlwaysShown
yeah you can have like 4 non-neg fools for example but only have them take up 1 slot
I'm guessing the reason you actually care much about 'cheating' is because you're only playing with QOL mods, and not content mods and want your performance to be comparable to vanillia
And LessIntrusiveStickers if you want them smaller, less intrusive (name, obv lol)
Until I reach all stakes completed, I'm only playing with QOL mods lol
mod ui just got better (escape actually saves mod config, you return to the page where you came from out of individual mod boxes)
must make developing mods a bit odd then, lol
Yeah, when I finish development for the day, I move the content mods to its own folder, and back when I start back at development
makes sense
yeah lol
ok, now he looks exactly like the guy from the album
I just wanna play the vanilla game just with slightly easier to digest UI n stuff
you think you can link the github? I dont see it when searching
I've got some mods to recommend to you then
is this meant to be Cicierga or just a Jimbo with some cicierga qualities?
hm?
is jumbo the name of the joker?
thats cool trivia
yes and no to both
it is Cicierga on a base of the joker cause i suck at faces
*Jimbo
but also he's meant to look like the other jokers cause of couse
tho idk if you could call this exactly "easy to digest" lol
I use
- https://discord.com/channels/1116389027176787968/1249486500811378718 (animated Jokers, really cool)
- EscapeExitButton (Adds an exit button to the esc menu, easier to leave the game after you rage from gold stake black deck)
- Jimbos-Histories (Run Reviewer after you finish a run, see your Jokers and playing cards)
- https://discord.com/channels/1116389027176787968/1257497890352271471 (Colored Tarots pack)
- AchievementsEnabler (Keep earning your sweet, sweet achievements to flex on your friends)
- in addition to what you already said you have installed.
ah thanks :D
dimserenes modpack is busted for me
may be related to the game currently having me in 'tutorial mode'
now just to do background
leaving tutorial mode has broke it in a third fucking way
and this is after a reinstall of the modpack and game
istg if the newest version of steammodded broke everything
is that cabinet man
too
the album has Cabinet man (one of the top's of Lemon Demon imo)
but this joker is based on When He Died thats on the same album
if i went for cabinet man it would be an arcade machine
G.SETTINGS.tutorial_complete = true; G.SETTINGS.tutorial_progress = nil; G:save_settings() should get you out of tutorial mode
since it will definitly be a rare given the amount of chaos it can do, imma also do some transparency places
nevermind, i cant think of where there could be transparency
i now have exactly 20 custom jokers
and im not stopping
if you wanna help me mod them as a full mod dm me (you programming)
ok good thing to note, most mods fucking hate tutorial mode
Question, can I force mods to work through Balamod, or must I necessarily use other injectors?
Issue is other mods have to be written for Balamod, and it’s not nearly as large as Steamodded now
how would i manually create lobcorps config file? id dosen't seem to be able to create it itself or is failing to detect it not existing
Click "Mods" on the main screen
does that just automaticly create any needed config files or do i need to do something else?
I think that should do it normally, otherwise the mod's missing something
also update your steamodded, you're almost 2 weeks behind
i just reinstalled dimserenes modpack from the setup bat
this is the version it uses ig
although i am seeing a whole lot of fuckin red deck right now
is red deck bugfix merged yet?
no, i still need to finish reviewing the sticker stuff
Starting to feel like this is a pretty good Joker loadout, lol (negative Lolita Mic is just for temprence value)
oof, but not good enough for ante 11
hehe me too
so dna deck combined with "end round button" mod makes it super easy to COMPLETLY RIG YOUR DECK HOWEVER YOU WANT
20 steel aces generated a round.
Did you had "Iconic Icon" too?
Would be such a crazy combo
no, but if i manage to find crust i'll dig for it
And Printer (from Mika's mod I think) would enable even more card duplication
im using dimserenes modpack
Guys I probably cracked the negative edition shader thanks to help of ChatGPT without too much coding knowledge.
Can you with help of ChatGPT make this shader acceptable for OpenGL? Like make it usable for web
you need to download source code, by clicking "Code" button
you download 1.0 directly from source
and then downloading zip archive
I don't have much knowledge in shaders but after today I want to learn. If we can find example codes to refactor this code may be we can brute force ChatGPT to do that.
they'd jsut need updating from the old weird strand of opengl that love uses, right?
okay i need some help getting 1.0
steammodded 1.0
can someone help
and can i use it with r2modman

why not 😦
i dont wanna have to move the mod folders every time i wanna play vanilla
They're called archives, lol. I guess because Windows opens them like folders and has for a long time the term is less used now
Just rename it .mods
Or anything that isn't "mods"
can someone help me get 1.0
i been using 0.9.8 this whole time
but now i want to play 1.0 mods
alright so first you have to verify integrity of game files on steam to uninstall 0.9.8
where do i start w/ that
does anyone know how to fix this issue?
What mods do you have?
If you copy the Balatro.exe and rename it to something like Balatro - Modded.exe it will provide a completely separate area in your AppData for mods for that specific executable
basically r2modman profiles
All you gotta do is copy your save file over, and you're good to go
can you help him get steammodded

You don't have to even touch git
does he know how to read?
no
that is a shame then
using the 3-6 step thing?
install lovely
install steamodded 1.0 using direct download
There are two options: Either direct download, and using git. Choose the first option, and follow the directions
no
do i have to uninstall v0.9.8 to install v1.0
Yes, or well you need to reverify the game with steam if you installed with the injector, or just delete 0.98 is you were already using the Lovely method
In any case reverify the game files to be sure
kay
im gonna read and do the rest of the stuff on the guide & if i have any questions ill ask
lets give this reading thing a try
Don't forget about this after you install everything if you want profiles
ok i did it
i have no idea what i did differently from last time
but
sure ok it works im not gonna complain
highest I've scaled in cryptid before
yo @ whoever made the cryptid mod
you need to fix a glitch with empowered tag
I got the memory tag proceeding empowered tag
which bugged out the game
we alr know what it is
(72 - hue), then +360 if <0
plus a value inversion
is it at all clear what he does?
What about Foil do we have a shader of that? I am trying to see how it works.
You mean like 1 in 300 for ante 1 small blind?
well
0 in 300
then when you play a hand
say it scores 150 points
then its 150 in 300
you can just look at the code
you can literally just open the game's exe in 7zip and look at the shader code
I'd word it as "Chance to win blind equal to proportion of blind's score requirement scored when hand is played"
thats very wordy tho
It's about as understandable as I can make it
Yeah, I am doing that and try to recrate that in GIPS via help of GPT to print some cards in real.
score in requirement is pretty straight forward tho
i feel like
i would make it score/requirement chance but i want to keep it consistent w the game
can't you just make it dynamic?
Then make it "Hand Score in Blind Requirement"
id rather not
please advise me someone crazy mod like cryptid
Cryptid is pretty unique
Play redeemed deck with all the voucher mods
Though jenwalter is working on an expansion, it's not released though
Or add Cruel Blinds
Betmma's vouchers can get pretty nuts combined with other mods too, is guess especially cryptid
is this better?
I still can't quite parse what it means
Oh I see
Maybe the green sounds be "Current scored proportion of blind requirement"
But wordy, but a lot easier to understand
i dont get how its not clear tbh
current score
out of blind requirement
i just scored 500 and blind is 10000
well its 500 in 10000
Because the "put if blind requirement" is only implied and ots very grammatically fucky. It's easy to forget that green text is a probability
It's fine now that I understand it, but from an outside perspective I think it's still a bit hard to read
the only green text in the game is probability related tho
Yes, unless you're colorblind or use a trance theme that changes it
Why not make it dynamic in parentheses or something?
Or just forget momentarily
As I said I get it now, but it found be worded a bit more clearly
(Current score / blind requiremnt)?
Would be a lot more readable too tbh
Make it something like "Current Score (0) in Blind Requirement (300) chance to win Blind"?
Yeah exactly
I forgot it's "in" in balatro
All you'd have to do is put 0 and 300 as variables in the config, feed those to loc_vars and start of each blind, adjust the 300, and after each hand, adjust the 0.
yeah ik how to do it
I feel like having numbers would make it 100% clear.
Finally a win lol
I’d make it into a percentage because “72,043 in 96,000” is too difficult to parse. Maybe something like:
0% chance to win after you play a hand
-# (Improved by your current score)
Maybe “your score this Blind” instead
I’m glad. I try to provide good wording suggestions and I think I am decent enough
Also this feels like a Legendary effect lol
its pretty good, but the closer you are to winning the less important it becomes probably
might up it to epic at most
I mean it should double with O!A6s
Which would make it the strongest O!A6s synergy piece
im gonna make it incompatible with oops
what are epics anyways
You could hide it behind another card, with pool flags, or an impossible pool flag and a joker that uses create card to spawn it.
Or make it Legendary
or just make it epic lol
What is more likely, Epic or Legendary?
doesn’t mean it’s more likely
I think the chance of getting a specific Legendary on average was about 1% but I’m not sure
So it would be the same chance
Just wondering, how do I make modifications to vanilla jokers? Can I just edit game.lua and card.lua and use these as mod files, and let the game override the original game.lua and card.lua?
this is what im settling with
with steamodded you can take ownership
and then edit them how you like
Is that the dog fun the prototype version of Fanily Guy?
Idk where I recognize him from
talking ben lol
Oh lol
So for example, if I wanted to make bonus card +50 chips instead of +30, I just put my version of game.lua as a mod file, and then change +30 bonus to +50?
Id never hard ilof that though, weird
you should just be able to take ownership of the enhancement and edit it
no need to copy the games files
Must've seen art from it somewhere
😧
why are there 2 e's?
ben?
Just that big of a number
talisman break infinity
Welcome to the realm of uber beeg numbers. Here is that as 1 followed by a lotta 0s.
179 KB of 0s.
178413 characters. so 1 followed by 178412 0s.
niiiice
The limit for Talisman big number is 1EE308. That 1st E is likely also 308, so hang on a sec..
Hmm.. I'm assuming the big num calculator got screwed up by the decimels in the E, as I only got about 98K 0s with 1EE308.
this is pretty mind boggling stuff
yeah these are reality breaking numbers
don't get me started on the omeganum limit tho
whats that? 👀
the highest number omegaNum will store
It's a new setting on the latest version of talisman. The limit becomes e10##1000. Whatever the hell that means.
You know what the #s mean mathguy?
e3#7 is eeeeeee3 about
ooh so the # means "amount of Es"
so the result of 1000Es.. That many Es.
thats the kinda number that would make your head collapse into a blackhole if you could fit it all in
no
omeganum limit uses a double hashtag
which basically means there are 1,000 hashtags
the limit is meant to be out of reach
yeah i get that
i wonder how much memory would be needed for a number that big..
there goes any chance of calculating how many antes to reach omeganum limit
Except I'm making changes to almost every item in the vanilla game, so how would I do that?
Can I just copy the part from game.lua where all of the cards are defined and then just edit the values?
Or maybe hook Game:init_item_prototypes to edit G.P_CENTERS directly
^^ this guys way smarter than me, listen to him lol
This is probably easier if you just want to edit numbers. In most cases it just works but a few are hardcoded
If you want to completely change a Joker’s behavior then you should probably use take ownership
Most of them are number edits, where the number depends on the variable "level"
So how would I do that?
Do you want “level” to change during the run, or only on game startup?
eventually, I may want to add some items that can change the level during the run
e.g. Tarot Upgrade — upgrade all Tarot cards by one level
Hmm alright
I'm just wondering how to implement that, since most of the upgrades are numerical
That might be more or less difficult depending on if you want it to apply to current and/or future items
Since current items’ values are saved individually, but future items are pulled from a lookup table basically
Let's suppose that I have a Joker, but in the shop, I picked up an upgrade item that upgraded it to level 2. The expected behavior is that the Joker immediately becomes level 2, instead of needing to sell it and get a level 2 Joker separately
If you bought a future Joker of the same kind, would you also want it to be level 2?
Or only the ones currently on-screen
I haven't quite gotten the concept, but one idea I had is that all Jokers of a certain type gets upgraded after taking a certain item (e.g. the first "+Mult upgrade" upgrades all +Mult jokers to Level 2, where every +Mult joker seen in the shop will now be Level 2)
This upgrade will persist for the rest of the run
But my concept is basically being able to upgrade any item currently in the game
Ah, I see
I think the most straightforward way to do this, while affecting both current and future items, would be to make a function that processes upgrades for a specific known item
One thing I tried was this (for a level 2 bonus card)
m_bonus = {max = 500, order = 2, name = "Bonus", set = "Enhanced", pos = {x=1,y=1}, effect = "Bonus Card", label = "Bonus Card", config = {bonus=(30+(20*level))}}
but the game didn't register it
Main issue is you’d want it to change throughout the run
I don’t know too much about where enhancement data is stored in a card but what you’d want to do is modify the config when the upgrade happens, and then apply it manually to all current cards held in hand, deck, discard, etc.
I was thinking to just change the definition of a joker / enhancement / tarot / edition etc. whenever the upgrade happens, but I don't know if that's actually going to work
Of course, this is quite far, so I'm thinking of just starting with a mod where every item is Level 2, and then figure out from there
So something along the lines of (I’m just using a Joker value as an example since I’ve worked more with those)
function upgrade(card)
if card.config.center.id == "j_joker" then
card.ability.mult = 4*([level variable for +mult])
end --for +Mult in general, you could maybe check if a mult variable exists in the center table, might not scale well with other mods tho
end
From there, there’s two places where you’d need to apply this function that process upgraded values
It's very likely that this mod will not be compatible with custom jokers in other mods, since the levelling amount for each joker / tarot etc. is manually set
Yeah then I’d assume you’d probably have some sort of massive if else statement or lookup table system for this function
The first is in create_card which is when a card is created (from a shop, consumable, etc.)
That's why I was suggesting making changes to the already existing if else lookup table in game.lua
is this too bad?
The problem with changing G.P_CENTERS is it won’t apply to cards you currently have
I’m working on typing an example now that solves this, I do something similar to randomize all Joker values in Cryptid
This "Ceres" project of yours seems pretty extensive (and exciting) should probably get its own thread soon to build some hype
ill make one now actually
local cc = create_card
function create_card(args) --there’s several arguments, you would need to copy them all here
local card = cc(args)
upgrade(card)
return card
end```
You would also have to run this function whenever you use the consumable that applies the upgrade to make it work with currently held items
use = function(self, card, area, copier)
G.GAME.plus_mult_level = G.GAME.plus_mult_level + 1
for i = 1, #G.jokers.cards do
upgrade(G.jokers.cards[i])
end
--Do the same for shop_jokers, etc. - any card areas that could have jokers
end
Here are the things I planned can get upgrades:
- Jokers (+mult, xmult, chips, effect, retrigger, economy)
- Consumables (tarots, planets, spectrals)
- enhancements, editions, seals
(but not vouchers, since not only will it have to be retroactive, and some things can break)
(also, I haven't thought about how to upgrade some skip tags)
This system should have you covered for any number changing. If anything doesn’t work you might need to take ownership of it to allow it to work with number changing
Shoot the Moon, Riff Raff, Fortune Teller, Chaos the Clown, Perkeo are some that are hardcoded
Planets also work a bit differently, since the hand level ups aren’t stored in the cards themselves
For this one you would basically modify the table that those values are in, and I’m pretty sure it just works
I don't think it needs to be chance based, swapping values really isn't that powerful in aot of cases
reading the Ceres thread made me think, do you ever think we'll see any mod that allows multiple editions per card
since I don't think the shaders would like that
it doesn't, that's why i banned all editions from Information
I guess you could probably just cycle through the shaders every couple seconds
EXCUSE ME?
i think that would always generate a foil joker
nope
oh, bunco
that's the one that made my game shit its pants
The tags give a buff to your next played hand
It was a bit broken for a while but u think it's working fine now
here's what i was refering to #1255696773599592458 message
Ah I see
bunco shits its pants if you use reboot while the round can be ended
and seems to brick the save along with it
Yeah I've never used the mod that it's imcompat with
I tried just starting off with a mod that has a j_joker that gives +6 mult instead of +4.
--- MOD_NAME: upgrademod
--- MOD_ID: upgrademod
--- MOD_AUTHOR: [ValkyRiver]
--- MOD_DESCRIPTION: upgrademod
----------------------------------------------
------------MOD CODE -------------------------
function upgrade(card)
if card.config.center.id == "j_joker" then
card.ability.mult = 6
end
end
function SMODS.INIT.upgrademod()
upgrade("j_joker")
end
However, this happened.
[SMODS upgrademod "upgrademod.lua"]:11: attempt to index field 'config' (a nil value)
But that sounds very unfortunate
so sounds like it's looking at card.config which is nil, and.. death. I;'m assuming this was a unmodified card you tried this on?
Well... I'm new to modding, so I have no idea that doing the string "j_joker" would be a problem
So what should it be instead?
Try doing this
what do I put for args?
_type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append
Also, I'm not up to the stage of creating the upgrade cards yet, I still haven't even figured out how to make a mod which starts with an upgraded j_joker
I think something much simpler would work then:
G.P_CENTERS.j_joker.config.mult = 6 (assuming it’s in config.mult in the game.lua table, I can’t check right now)
By the way, how do I change the text for the description of a joker/consumable/enhancement etc.?
The numbers should change themselves because they’re designed to reference the values
I'm saying, maybe changing the description of j_joker to (lvl.2) +6 mult or something
That one would probably be good with taking ownership since you have to change the description and variables
Also by the way I would probably recommend using the Steamodded 1.0 beta, it makes things much easier
One simple description might be like:
"(lvl.#1#) {C:mult}+#2# Mult"
and then you can tell the game what variables those are
Here’s a very simple example of both those parts from my mod
loc_txt = {
name = 'Cube',
text = {
"{C:chips}+#1#{} Chips"
}
},
…
loc_vars = function(self, info_queue, center)
return {vars = {center.ability.extra.chips}}
end,
…
I don't quite understand this syntax; could you please explain it to me? And what is the {C:attention} that I see everywhere but has no idea what it means?
That's the colour of the text
Balatro basically passes this through a formatter that turns this into a fancy text box with colors, variables, etc.
The #1#, #2#, etc. reference variables that you give in the loc_vars() function. In the example above that would be the chips value given in center.ability.extra.chips.
Things in {} represent formatting options. There are many but the most common one is C: which represents colors. For instance C:mult is the color used for Mult, C:attention is the yellow color used, etc.
By the way, I tried upgrading every +mult joker, but only j_joker got upgraded, and nothing else:
oh, it's in game.lua
Oh dear god... pray for me, everyone.
ngl doesn't look that terrifying LOL
what
in future feel free to keep reply pings on for me
almost completely missed this message
i mean if you get a colourblind edition on a joker that cant swap values it does this
so maybe thats balanced enough and youre right i dont need the probability
oh.... so uh... this is one edition that shouldn't be in the aura pool then
.
Unless the effect of the edition is to be free and sell for the full sell value of the joker or something
well its only available on jokers that cant swap values
4 diff types of colourblind edition
music
they only go on valid cards/jokers
so if you take the spectral
it might give you the chips/mult swap on a chips joker
but it cant give any of the other colourblind editions on that joker
and if it randomly picks a joker that it cant have one of the editions that swaps values
it gives it the black and white one
so its like a downside
a risk
I meant WOF, like, doesn't change anything, but I mispoke, lol
wheel of fortune
because aura acts on playing cards
which obviously wasn't relevent
yeah that's fine, I think. Just don't wanna have something risk totally killing a joker. Whatever does that shouldn't be in any of the pools that give random editions
would 100% make me not install the mod, lol
how should i make the joker it self? to go with this card?
tbh, i am not sold on the iron corners yet :I
Okay, here is a testing version of this mod, with level 4 mult, level 2 chips, level 6 xmult, level 5 econ, and level 3 effect:
(Unimplemented Jokers: Ceremonial Dagger, Joker Stencil, Business Card, Four Fingers, DNA, Splash, Pareidolia, Sixth Sense, Superposition, Séance, Shortcut, Midas Mask, Luchador, Diet Cola, Mr. Bones, Certificate, Smeared, Showman, Blueprint, Oops! All 6s, Brainstorm, Caromancer, Astronomer, Burnt Joker, Chicot, Perkeo)
it couldnt be more clear what this joker does right?
prolly wanna add "for the round" just to be safe
but yes it's clear with some reasoning, considering it's a common and not a cryptid exotic
lmao
true
burglar uses just +number
oops didnt read the rest
its clear but its too strong for a common imo
Lol, rolled 2 vouchers that do the same thing and can't afford either of them
hud got us like https://www.youtube.com/watch?v=68ugkg9RePc
Are you interested in Eiffel 65 news? Subscribe to the channel: http://bit.ly/1jVW9Sz
★ Buy "Blue(Da Ba Dee)" On
Itunes: http://apple.co/1Kty2Ab
GooglePlay: http://bit.ly/1MXcG4w
★ Listen:
Spotify: http://spoti.fi/1XokAHa
Deezer: http://bit.ly/1jYzB3K
Blue (Da Ba Dee) is the title of the debut single of the Italian Eurodance band Eiffel 65, ex...
hehe
though would fit better if I was running the simpleblue trance theme instead of my own aqua/purple one
insane
do you think itd be better to reduce the % then?
you turned balatro into a horror game wth
i'm putting too much effort into my challenges i think
3/12 are done i think, but one is untested
by untested i mean just make it work because i'm not playing through my own shit unfortunately
fair enough if youre making a bunch of challenges
i probably wouldnt play through 12
ive had enough of the base game ones
I see mention of an aura pool which I’m pretty sure doesn’t have custom editions in anyway
what idiot gives their challenge 7 starting hands and discards
Another testing version. Now, it's up to those jokers, consumables, and other items that can't simply be changed just by using G.P_CENTERS.
Example, in card.lua, there is this section about ceremonial dagger:
if self.ability.name == 'Ceremonial Dagger' and not context.blueprint then
local my_pos = nil
for i = 1, #G.jokers.cards do
if G.jokers.cards[i] == self then my_pos = i; break end
end
if my_pos and G.jokers.cards[my_pos+1] and not self.getting_sliced and not G.jokers.cards[my_pos+1].ability.eternal and not G.jokers.cards[my_pos+1].getting_sliced then
local sliced_card = G.jokers.cards[my_pos+1]
sliced_card.getting_sliced = true
G.GAME.joker_buffer = G.GAME.joker_buffer - 1
G.E_MANAGER:add_event(Event({func = function()
G.GAME.joker_buffer = 0
self.ability.mult = self.ability.mult + sliced_card.sell_cost*2
self:juice_up(0.8, 0.8)
sliced_card:start_dissolve({HEX("57ecab")}, nil, 1.6)
play_sound('slice1', 0.96+math.random()*0.08)
return true end }))
card_eval_status_text(self, 'extra', nil, nil, nil, {message = localize{type = 'variable', key = 'a_mult', vars = {self.ability.mult+2*sliced_card.sell_cost}}, colour = G.C.RED, no_juice = true})
end
end
I would like to change it to this:
if self.ability.name == 'Ceremonial Dagger' and not context.blueprint then
local my_pos = nil
for i = 1, #G.jokers.cards do
if G.jokers.cards[i] == self then my_pos = i; break end
end
if my_pos and G.jokers.cards[my_pos+1] and not self.getting_sliced and not G.jokers.cards[my_pos+1].ability.eternal and not G.jokers.cards[my_pos+1].getting_sliced then
local sliced_card = G.jokers.cards[my_pos+1]
sliced_card.getting_sliced = true
G.GAME.joker_buffer = G.GAME.joker_buffer - 1
G.E_MANAGER:add_event(Event({func = function()
G.GAME.joker_buffer = 0
self.ability.mult = self.ability.mult + sliced_card.sell_cost*(2 + ((mult_level-1) * 1))
self:juice_up(0.8, 0.8)
sliced_card:start_dissolve({HEX("57ecab")}, nil, 1.6)
play_sound('slice1', 0.96+math.random()*0.08)
return true end }))
card_eval_status_text(self, 'extra', nil, nil, nil, {message = localize{type = 'variable', key = 'a_mult', vars = {self.ability.mult+2*sliced_card.sell_cost}}, colour = G.C.RED, no_juice = true})
end
end
question: If I had an idea for a mod and absolutely no knowledge on how to code it, could I make a thread on it?
This is unironically one of the coolest things I've seen
Y'all are making me want to actually install mods
No such thing as too much effort
🥹
i may or may not have found the combo fire code >:)
How do I do this in a mod?
use a lovely patch
lovely? I'm new to modding, how do I set up a lovely patch?
do we not have a lovely tutorial
guh
make a file called lovely.toml in your mod's directory
Scroll down to this and it tells you what a patch is https://github.com/ethangreen-dev/lovely-injector
eh a lot of that is unnecessary
It shows the basics at least
The thing is, I don't just want to add another if statement for Ceremonial Dagger, I want to replace the existing one in card.lua. So how do I do that with lovely?
What are you trying to do with Ceremonial Dagger exactly?
[manifest]
version = "1.0.0"
dump_lua = true
priority = 0
[[patches]]
[patches.pattern]
target = "card.lua" # the file you want to modify. if it's in a folder, also include the folder, ex. "fuctions/UI_definitions.lua"
pattern = "self.ability.mult = self.ability.mult + sliced_card.sell_cost*2" # the line you want to change. changing multiple lines at once is a lot more complicated
position = "at" # before, after, or at
payload = "self.ability.mult = self.ability.mult + sliced_card.sell_cost*(2 + ((mult_level-1) * 1))" # the code you want to insert. you can do multiline by using """
match_indent = true
Ceremonial Dagger is the only +mult joker that requires separate treatment. But I have a lot of other jokers that require separate treatment.
Also, note that the variable mult_level is only defined in my mod file, and is not in the base game. Is that okay? Or will that raise an error?
As long as mult_level is a global variable it should be good
Also, where is the text description for the cards set? I would like to change the description
When Blind is selected, destroy Joker to the right and permanently add double its sell value to this Mult
to
When Blind is selected, destroy Joker to the right and permanently add n times its sell value to this Mult
when n is mult_level + 1
is my steamodded outdate or smth
Yes
yeah i realised after struggling with adding poker hands for ages :(
my lovely isnt patching
nvm ik why
wrong fil
e
balatro players try not to necro dead threads challenge
necromancy is in rn
Wait this is fire wtf
Hey does anyone know if it's possible to download ONLY the Custom Decks in the mod: 'Sylvie's Silliness' https://github.com/NewtTheFish/SylvieSilly without installing all the other content it includes?
anybody know what went wrong here
I'm just tweaking around with the Trance mod and I wanted to reload the game and suddenly got this error. Have no idea what it means
ok wtf
basically I made a palette lua file for the trance mod. decided I wanted to change the name but now if it doesn't have that lua file with that name the game won't load
how
because it looks for the file with that exact name
but why if before I could just create and delete and rename those files
why now does it NEED that file to exist
does that mean I'm stuck with having this file named like this forever and I can't remove it??
I think I'll delete the mod altogether and redownload it
yeah that worked
The coolest boss blind I made 
mfw last shop of the run and it's a mega greed fight
does anyone know how i would program custom challanges?
sobbign
What are some cool mods for the game (besides the speed up mod)?
Both qol and content mods
Cool
why the jimball here
emotional support
obscure overshoot outsmarted
congrats
round 100
as someone who've had to witness like five eas alarms
the introduction to ||control|| was not cool
yeah i noticed that h_chips was implemented by twewy and i changed it without testing
im bed now
jimball
lmk if that needs to have lower values
can't censor waluigi
lmao
probably should redo this without waluigi
well you're using a cryptid joker no surprises there
and censored is inherently busted
even when it part of it didn't even work
Ain't gotta yell at us, we didn't do it 😂
ok
you can tell cause the difference between the depest white pixel and the outermost black is 1 on lefft and 2 on right
the black pompom is 1 pixel squished
this is what is should look like
I can almost guarantee you that was an intentional design choice
excuse me?

i got 3 new joker ideas for my mod in a very short period of time
"Mirror Joker" [from the anti pack mod] (anti of brainstorm)
copies the ability of the rightmost joker
"Schematic" [from anti pack] (anti of Blueprint, bearly different at all, and practically identiac exept very few cases)
copies the ability of the joker to the right
"Stopwatch" [asylim pack, the pack of insane jokers]
when active, the ante doesn't progress, always comes as perishable
hey. when installing mods, shoul i usually add just the lua file? or the entire thing as a folder?
and what content mods do you recommend?
id say the whole thing
usually the whole thing, most mods have assets and secondary files of some sort
i fw cruel blinds
its simple but it just adds more stakes & bosses
that and just some qol stuff such as morespeed, jokerdisplay, & galdur is all i got rn
im having trouble winning over blue stake with most decks so for now maybe ill take mods that buff me instead of the game lol
will get to these when im op enough
If you want more jokers and stuff to play with, there's quite a lot out there. I have over 700 in my game now
jokers I mean
got it
i will say the best way to win pretty much any run is to get a progressive mult joker, a chips joker, and 3 mult multers
The easiest thing for me to reccomend is of course mods I actually play with. It just so happens that I maintain a mod pack containing all of those
if you;re at all interested
if i have balatro updated in steam is it version 1.0 or 0.9.8?
at the very least the list of mods is the oens I reccmomend
that sounds awesome
1.0 and 0.98 are steamodded versions, not game versions
WHAT
https://github.com/GayCoonie/Coonies-Mod-Pack
It includes steamodded too, all you need to do is install lovely if you haven;t
hm. i might be undervaluing chips. i mean i got moderly good, i beat gold stake on checkers and on around blue with most of the other. maybe i feel like i suck bc i played a lot of black deck lately
oh. so how do it check it version?
https://github.com/ethangreen-dev/lovely-injector
What you do with lovely, is you take the version.dll file from the release zip, and place it in the folder with the balatro exe
what you think of the innital concept for the art of mirror joker
?
like a barbie pocket mirror
steamodded is something you need to download, so you don't have it unless you already have been playing mods
and the version is printed in the top right of the screen if you do have it
i installed it today according to this tutorial https://www.youtube.com/watch?v=VY2LnRYWm5Y
Get everything you need to know about installing Balatro mods in today's guide. Installing Balatro mods should only take a few minutes & the first thing you will need to do is download and install steammodded as shown in the video. The link to steammodded can be found below.
https://github.com/Steamopollys/steamodded/releases
https://xenochear...
4% PER TIME POKER HAND PLAYED
That video is 3 months old it might not be updated for 1.0.0
yea i just checked it looks like 0.98
ill try to follow this then
pretty old tutorial, just reverify your game files and download steamodded from the repo, or just download my back to get the newest
I would follow the instructions in the Steamodded wiki
well if they do want to use my mod pack, it includes the latest steamodded
so they'd just need lovely
Oh sorry, just popped in here. May have missed some context
no worries
another idea for a joker:
"Color Mix" [anti pack mod] (anti of smidge)
hearts and spades count as one color
diamonds and clubs count as one color
alt name "colorblind"
hehe
"colorblind"
the joke is that you cant see color here
oh look
this is better
now that i think about it, not a bad joker design
"colorless joker"
"translucent joker"
Not gonna lie, if it's a cutout it looks too much like Joker Stencil imo
Wow, that's actually incredible
im sayng that a joker design where he has that transparency gridd and not a hole
it wouldnt let me keep the unsafe downloads, even with edge
firefox
easiest answer

Go to Windows Defender and add an exception to your folder where you download it
Assuming that's the issue
lovely is apperently a total pain in the ass on windows, lucky I use linux :P
I think chromium browsers also like blocking it
so might be both
is it not the defualt way to install mods?
another joker idea:
"remember that joker" [asylium pack, pack of insane jokers]
when sold turns into the fist joker bought this round
i want to first get on with it bc im trying to get it started for a while
you need lovely, it's just that windows hates it
Windows thinks it's a Trojan cause it injects code into Balatro.exe
but it does work, just need to use the workarounds
But it doesn't do anything harmful
is lovely different from steammodded?
Yeah
lovely basically loads steamodded
so you need both
What if that joker is the first bought.
okay
okay i have the version.dll of lovely in my folder. anything else before this?
is it in the Balatro steam common folder, where Balatro.exe is?
yea
