#⚙・modding-general

1 messages · Page 22 of 1

rare shell
#

I mean I think it's known as the thunderstore mod manager now

#

But folks just still use the older shorthand still

grand geode
#

bet

#

i think i'll wait a while until i port all of my mods to the Risk of Rain 2 Mod Manager

#

just to see how Risk of Rain 2 Mod Manager is gonna go

lean dune
#

unless you're using love.filesystem, you don't need to change anything

grand geode
#

oh so is it just for mod loader stuff

#

insignificant for me then

lean dune
#

more so about the platform you install stuff with

cosmic shell
#

https://thunderstore.io/c/balatro/create/docs/ this page lists all the details about the files you need to include, the most important one is arguably manifest.json which contains information like the mod's dependencies, name, description etc.

gleaming talon
#

did the update mess with love.filesystem or something ?

#

I saw something like that

lean dune
#

it uses nativefs instead afaik

gleaming talon
#

because I use love.filesystem to load and play custom sounds etc

grand geode
#

i think you just change every love.filesystem to NFS

#

or something like that

tacit mountain
#

For Steamodded mods, you just have to list Steamodded as a dependency and use NFS in place of love.filesystem

#

And that's it

sleek granite
#

thunderstore support? hype 👀

grand geode
#

dear christ it's so stretched

sleek granite
#

this is probably a weird question but is it possible to make arbitrary playing cards atm? like say i want to make just a card that counts as a 3 with no suit or something weird like that (steamodded user here)

#

i just saw something about playing card api in the update notes and its got me curious

lean dune
#

The playing card API currently only supports adding complete ranks and suits, so you'd probably have to implement some functionality yourself. That being said, "no suit" is currently locked to stone cards only, which is its own issue. A way to make other cards suitless might be added in the future

sleek granite
#

interesting, thank you

livid igloo
#

Do someone know if mods can affect the game like this ? Why it is a Hight Card and not a Straight ?

#

I've just installed this mods :

grand geode
#

Update Steamodded

livid igloo
#

It's up to date

lean dune
rare shell
livid igloo
lean dune
#

yeah that looks like an off-by-one error

#

sorry about that

livid igloo
#

No problem, I just want to report it

cunning silo
#

Oh wait version 0.8.1 is out?

lean dune
cunning silo
lean dune
#

we can go for 0.8.2 with the new APIs when they're ready

tacit mountain
#

I fucked up the tag 0.8.0 so I had to create a new one

magic sandal
#

We need 8.0 lore

tacit mountain
#

It was born dead

magic sandal
#

Rip 8.0

sleek granite
#

better lore than most OCs

sleek granite
#

i assume balatro still needs to be added on r2modman's side? tried loading it but it doesn't look like it's there

tacit mountain
#

It's somewhere in this thread

sleek granite
#

i might just take a breather on modding stuff until some of this core stuff gets ironed out 😵‍💫

exotic pine
#

Got it, thanks

mossy cairn
lean dune
#

easy mode lmao

#

that needs a downside

umbral pilot
#

that'll have Balatro in the game selection menu + package support

mossy cairn
quaint basalt
#

"High Card"?

#

Am I the one who's being high or

woeful finch
#

mod bug i assume

quaint basalt
#

oh no

#

for some reason it works when there's no Aces in the played hand

grand geode
#

yeah it's still bugged

quaint basalt
#

saw the guy earlier having the same problem, I got none of his mods so looks like it's Steamodded

grand geode
#

yeah the playing cards api still has issues

mossy cairn
#

when suits added and viewed deck, it crashes

tall seal
#

how strong is ante 18?

tired ibex
# quaint basalt ???

aces are broken in straights with steammodded 0.8.1 so better off destroying them

lean dune
#

blame me, I was slightly too restrictive in trying to prevent infinite loops

lean dune
strong swift
#

superposition in shambles

lean dune
#

like deck of fours has this issue, but it's nothing I can ensure compatibility with

sweet moat
#

If I am using lovely injector to use steamodded, do I still have to "verify the integrity of the files" for Balatro before updating steamodded?

lean dune
#

no

sweet moat
#

Thought that but just wanted a confirmation. Ty!

proven basin
#

Is there a tutorial to make balatro mods? I mod FNV and had some ideas for a mod

lean dune
#

https://github.com/Steamopollys/Steamodded/wiki has some info on steamodded APIs though incomplete, you'll probably get the most value out of inspecting the game's code (extract the game exe with 7-zip and there ya go) or looking at other mods people have made as well as the code for steamodded

GitHub

A Balatro ModLoader. Contribute to Steamopollys/Steamodded development by creating an account on GitHub.

fresh delta
#

Willing to pay someone to install all mods to my game. my old dumbass cant figure out how to do it. I have successfully installed steammod and mikas mod. but i cant do anything else

#

DM me if youd like to help for a small compensation

past pulsar
#

yall this gonna sound dumb but is steammodded safe to actually use? defender keeps kicking it back as a trojan

fresh delta
#

it is safe. turn off realtime protection off

tacit mountain
#

Or use lovelly

fresh delta
#

10$ for anyone who can help me install mods

past pulsar
dapper helm
marble sundial
#

anyone know how to install plocate? it's a prereq for mac mods install?

fresh delta
#

thats all i have now since i had to reinstall. cuz i kept crashing

dapper helm
#

huh

patent harbor
#

hey i cant use the injector because im on a school laptop and i it the schools firewall keeps denying me to use the incector how do you install it from the sorce code file

fresh delta
#

disable real time protection

dapper helm
fresh delta
#

thats what i had to do

patent harbor
fresh delta
#

hey @dapper helm would you be willing to install mods for me using team viewer? i can zelle, or paypal you 10$

dapper helm
grand geode
dapper helm
#

sure one moment but i'm not sure i can accept the $10

patent harbor
#

i tryed installing thunderstore but didnt see balatro in it

fresh delta
#

take the $$ bro. im just too old to be doing mods

grand geode
#

in Mika's Collection github page, press the green Code button and download the entire thing as a ZIP

grand geode
#

then you can just extract it in the Mods folder

dapper helm
#

mikas has assets now?

grand geode
#

been for a long while

dapper helm
#

huh, i haven't been paying attention to it

fresh delta
#

i actually had MYSTs mod installed as well. just reinstalled 15mins ago cuz i tried other shyt to mod and kept crashing

grand geode
#

If you did it right, then the mod files should be in its own folder in the Mods folder

#

should look somewhat like this, in the folders are a .lua file and an assets folder

fresh delta
#

error i get when installing mods

dapper helm
#

i'll be down to help in about an hour if its still not working but at the moment i'm a bit busy

fresh delta
#

thats fine dude. Just DM me. Ill def compensate you for your time

lean dune
#

Hm, I'm free rn

#

Let me have a look at that

fresh delta
#

@lean dune can i fresh install balatro and you can install all the mods for me?

lean dune
#

actually i gotta go have dinner, but sure I'll help you out when I'm back at my PC

grand geode
#

Try removing BlindCollectionPatch and MystBlinds

tacit mountain
grand geode
#

hmm did you have Ink and Color Suits

#

probably not

dusky reef
#

does NFS allow us to access the game folder itself as well?

umbral pilot
#

it should

dusky reef
#

hmmmm

#

will check out later

umbral pilot
#

but only if it's present in the current install, otherwise Steamodded falls back to love.filesystem

dusky reef
#

cuz it used to be we only have access to the mods folder

umbral pilot
#

so be fail-aware

dusky reef
#

ok updated CardBackInjection for those of you using it!

#

it is also on Thunderstore now

lean dune
rare shell
#

try it without jellymod

lean dune
#

yep, if issues come up, that's the first thing I'd try removing

fresh delta
#

gotcha, thanks guys

rare shell
#

🫡

lean dune
#

let us know if anything crashes

past pulsar
modern kiln
#

Is there any precedent for collaborating with the homies in the fan art channel to make functional mods from their joker ideas? There’s some pretty awesome stuff in there…

dusky reef
past tendon
#

I tried the latest steamodded version, I can confirm flush five and 5oak now work with my custom rank cards 👍

dusky reef
#

Otherwise just name your card back files (individual ones) following the b_name convention and put it in your own asset folder and it will be fine!

#

Also, it doesn’t really matter where you put it because it goes through every folder with assets subdirectories as well as a high level assets folder

#

And you look them up by file name slug, so location doesn’t really matterrainbowcat

past pulsar
#

awsome thanks, now to figure out why i keep getting an overflow error. modding new games is alwasy a headache

prime cairn
#

Hello
I'm here to ask for new mods

#

And hopefully play a working game with 12 or more pages of mods

past tendon
#

I hope I'll be able to post some progress on my joker pack soon.

steady rose
#

Hey everyone!
Is there a mod that logs game state turn by turn? This way you'd be able to review each hand, cards played, active enhancements and jokers, and so on. The closest thing I found is https://github.com/Mi1cK/Jimbos-Histories/tree/main
I have an idea of how to implement this by adding hooks for logging everywhere, but I'd love to save the trouble if someone's already working onit

lean dune
#

I'd say go for it, I don't know of anyone actively working on it

#

blatro

round ore
#

what modloader do people tend to use? i wanna make somethin simple that replaces the 'new run' button in a challenge with 'restart challenge' if ya die before ante 9

lean dune
#

steamodded and balamod kind of coexist, with both getting their bits of usage

round ore
#

i have looked at the ui code and am not looking forward to modifying it but what must be done must be done

lean dune
#

it's not as bad as it looks

round ore
#

holy shit

#

oh man this doesn't feel sane

lyric spear
#

Greetings everyone. While browsing the #1155557846805643434 I found a request for someone to create a Balatro modding server so I decided to make my own Balatro modding server where you can easily find, discuss and create mods, get advice and find partners for bigger projects. Here you can also promote your mods, and it will be easier for people looking for mods for balatro to find the latest mods. Please, if you are interested then DM me.
The server is still raw in my opinion, so if there are any flaws dm me

tepid sentinel
#

Can someone help on why the green box is not inside the other one?

function G.FUNCS.roulette_button()
  G.FUNCS.overlay_menu({
    definition = create_roulette_menu()
  })
end

function create_roulette_menu()

  local t = {n=G.UIT.ROOT, config = {align = 'cm', minw = 20, minh = 10}, nodes = {
    {n=G.UIT.R, config={minw = 20, minh = 10, colour = G.C.GREEN}}
  }}
  local Td = {x = 0, y = 0, w = 2, h = 2, r = 0}

  return UIBox{T = td, definition = t, config = {minw = 20, minh = 10, align = "cm", colour = G.C.PURPLE}} 

end
lean dune
#

especially with r2mm allowing to easily browse for mods as well, and that server not being easily accessible to the public (you know, no self-promotion and such)

tepid sentinel
#

maybe not "helping" but more code oriented lets say

lean dune
iron onyx
#

so i'm trying to use lushutils to make localization updates, but it seems like using variables (#x#) always results in ERROR being returned

iron onyx
#

it works fine if i hardcode the numbers into the descriptions, but i don't want to do that if i don't have to

#

anyone got a clue what's going awry?

past tendon
#

At some point, we'll need a "modding gameplay" channel yeah, dedicated to general modded runs discussions

tepid sentinel
lean dune
#

what loader is lushutils for?

iron onyx
#

steamodded

lean dune
#

I've started to incorporate easy localization definitions into steamodded itself, it should be available for jokers in the latest release

iron onyx
#

should i just pull the trigger and port my mod to balamod or lovely?

#

here's a snippet of how i'm trying to use the variables

#

and i looked in the localization files for the game, that's literally how it works in there

#

and yet when i try using it...

lean dune
#

on a joker object created though the steamodded joker API, you just need to define a loc_def function on it

iron onyx
lean dune
#

there will be more In-depth docs on this soon

#

pretty much, the function that takes care of these values is hard to patch into, so I'm trying my best to make it available loader-side

#

it's quite a pain otherwise

iron onyx
#

yeah, for now i think it's just less of a headache for me to just hardcode the variables into the descriptions

tepid sentinel
iron onyx
#

suboptimal, but it's all i can do

lean dune
lean dune
#

especially given the headache the UI of this game is

tepid sentinel
tepid sentinel
lean dune
#

after calling j_envious_joker:register(), I can do the following

#
    function SMODS.Jokers.j_envious_joker:loc_def(card)
        if card.ability.name == 'Envious Joker' then
            return { card.ability.extra.s_mult, localize(card.ability.extra.suit, 'suits_singular') }
        end
    end
lean dune
#

either way, I've made the loader process that in the appropriate function so that I'm the only one having to deal with it

#

oh shoot i just realized now I also have to do that for all the other center types

blissful herald
#

i want to create a mod that adds a deck that's based on a traditional game where i live
it's a standard deck, only missing the ranks 2-6
i would also like to have special hands that fit the the traditional game i'm basing it on, so i don't want the standard poker hands to be available

I am looking for mods that have a similar ideas, but i couldn't find any, if anyone knows of any mods that i would benefit from reading the source code i'd highly appreciate it

lean dune
#

for the removing ranks part, you may look at what the code for abandoned deck is doing

tepid sentinel
lean dune
#

for hands, I don't think anyone has done anything deck-specific about them

#

nothing that can't be done, though

blissful herald
tepid sentinel
#

also, for fun, thats the important part

#

though sometimes im near having a stroke trying to figure things out

blissful herald
#

"im near having a stroke" so true lmao

#

im going through the game code for abandoned deck as Aure suggested and i still can't figure it out

#

jumping through the code to figure out what everything means

#

it also doesn't help that i barely know how to make loops in lua lol

#

although it is **technically **the first programming language i learned

pseudo shell
#

wheres the mod folder for balamod

iron juniper
pseudo shell
#

uhhh

iron juniper
#

Oh nevermind

#

I'm thinking Steamodded

pseudo shell
#

nvm it is there

iron juniper
#

Don't know if it's different for Balamod or not

pseudo shell
#

i just couldnt find appdata lol

iron juniper
#

Ahh, Windows?

pseudo shell
#

yeah

#

but i have hidden folders off

#

so i found it

iron juniper
#

Hitting windows+R and running %appdata% opens the folder right away

pseudo shell
#

yeah

tardy sierra
# iron onyx

Does this just give Misprint values of Mult/Chips for every Face card played?

#

That doesn't sound like the best Legendary...ESPECIALLY because the design/name isn't based on a real life jester/joker.

lean dune
normal onyx
#

any mod recommendations?

orchid vault
#

a joker that i really wish would exist is a joker that allows ‘once per round’ effects (burnt joker, DNA) to be triggered more than one time

loud crystal
#

Blueprint

orchid vault
# loud crystal ~~Blueprint~~

i meant the joker itself could trigger on more than just the first hand or discard, like the first and second discard/hand

loud crystal
#

oh ic

lyric spear
# lean dune I'm not sure it's a great idea to have a separate modding server, given this one...

We have separate channels for sharing resources (code snippets, templates, guides) , finding modding partners and getting help with various aspects of modding. This will allow server members to easily find the information they need and suitable partners to work with, as well as reduce confusion and make navigation easier. This structured and participant-friendly modding space will certainly contribute to the activity and development of the modding community.

lean dune
#

my point stands that having a separate server that isn't easily accessible to the public will not benefit the modding community

white scarab
#

Since everything is done here already

stone brook
#

i do kinda wish we had a separate chat for troubleshooting vs developing

dusky reef
#

Basically a player chat and a nerd chat

tepid sentinel
#

can we tag mods or make them see this?

dusky reef
#

☝️🤓

oblique berry
#

So how would i go about removing steammodded from balatro? Do i just uninstall the game from steam and reinstall it?

modern kiln
#

From Steamodded Readme: "If you already installed Steamodded, you will need to reset your Balatro executable before doing the update. To do it, go to you Steam Library -> "Balatro" -> (Right Click) "Properties" -> "Installed Files" ->"Verifies the integrity of the files". Remember to stop the game before clicking on it. It will re download all the game files. "

oblique berry
#

okay so just verifying the files on steam will take care of it?

exotic shadow
#

yeah

oblique berry
#

👍

fickle elbow
#

I just finished upgrading the jokers and tarot cards art. What'd you think

modern kiln
#

pretty clean, nice work

pearl belfry
#

Has anyone suggested a legendary that's just "^2 mult"?

orchid vault
#

i’d love to see something like that in an unbalanced joker mod

pearl belfry
#

That's why it would be a legendary, and the only joker to have it

orchid vault
#

cryptid*

#

hate autocorrect

coral shale
#

or maybe plasma deck without extra steps*

orchid vault
#

it’s very similar though

coral shale
#

Oh ye ig scaling will be much greater

pearl belfry
#

Tbf alternate deck perks are usually a voucher or a joker

orchid vault
pearl belfry
#

It just squares the mult, although it having a drawback would make it more balanced

#

I just loved the idea of a legendary joker being a description as simple as just "^2 mult"

orchid vault
pearl belfry
#

"^2 mult. -1 joker slot"
And make it so the soul card doesn't generate it if you only have one slot available

boreal ibex
#

hello! wanting to get into modding balatro, anybody able to give me a bit of guidance on how to set it up?

#

do i just download mods and put them in a folder in balatro, or is there like a setup for it

orchid vault
boreal ibex
#

i figured thered be something like that

orchid vault
#

follow the instructions on the github page after that

#

if you got any other questions ask like me or someone in that thread

boreal ibex
#

alright, thanks!

rare shell
blissful herald
#

ok am i crazy or is the game's source code hard to read 😭

#

i hate functions that just take args, WHAT ARE THE ARGS TELL ME YOUR SECRETS

hardy brook
#

Okay, I'm trying to figure this out

#

I wanna make it so that the joker I have shatters any played glass cards

vast kayak
#

Shatter glass cards gain 0.1x mult start at 1x mult

fickle elbow
vast kayak
#

I was giving a description of what a joker would do

#

Is that not what they mean?

fickle elbow
vast kayak
#

Ah

#

I'm in the wrong chat room oops

rare shell
#

theres a shatter function

#

you call it when a scored card's enhancements are glass

#

i think its literally blah:shatter()

#

search that function through card.lua and you should be able to find something that checks for glass cards

bold fiber
#

So if I'm understanding it right, Balamod is better for altering the existing functionality of the game while Steamodded is better for add ons?

rare shell
#

i know anything that destroys cards checks if its a glass card first

#

if you want a more or less out of the box way to hook into consumeables and pools and what not from a compatibility standpoint as a coder you could go balamod, steamodded just happens to have more published mods for it

bold fiber
#

I ask because I'm trying to add secondary abilities to the existing jokers rather than add new ones

cunning silo
rare shell
#

i think you could do that with steamodded yeah

#

you would have to localize the set_ability() function i think?

#

i know thats how stuff like to-do list has their bonus attributes like to_do_hand

cunning silo
#

it really depends on what function you want

#

you can also localize calculate_joker()

rare shell
#

i presume in this case paco's asking for ways to define additional attributes to existing jokers, like adding self.ability.to_do_hand to whatever joker, for whatever reason you'd need to do that

cunning silo
#

oh i see

bold fiber
#

I'm currently making the modifications right on the card.lua

#

Could I for example replace the entirety of the original card.lua with my modified version?

cunning silo
#

that's not a good idea

rare shell
#

thats not really a practical thing to do

cunning silo
#

and not really possible TBH

rare shell
#

youre much better off learning on how to build on top of it and calling the stuff you need to modify in your own .lua file

#

i didnt know how to localize functions until myst enlightened me

#

ill try pulling up an example of what i mean

bold fiber
#

Is there a smaller mod that I can look into? I tried figuring out how Jellymod works but didn't get very far, it's just too large

rare shell
#

you could try my mod, jankjonklers

rare shell
#

i personally learned from Multijokers though

cunning silo
#

this mod explains how the joker API works and how to use it

rare shell
#

what itay posted is like the most barebones and explanitory

#

would go with that

#

but never be afraid to look at how everyone else does certain things if you get confused

cunning silo
#

this is the basic mod from steamodded

dusky reef
#

I learned from Mika initially

cunning silo
#

but you should check out some other mods, since i don't know if this works

dusky reef
#

A very comprehensive mod that does a lot of things

rare shell
#

that is a strange way of initializing the joker yeah

cunning silo
#

yeah that's a good mod

bold fiber
#

Thanks, I'll look at a few different examples and come around when I have better defined questions

rare shell
#

very small mod, about 5 jokers, easy to figure out what sections of code do what

fickle elbow
rare shell
#

this chat is magical in that if you spend 5 hours stuck on a single bug, then get frustrated enough to type out your entire problem you magically realize the solution 5 seconds later

fickle elbow
hardy brook
#

So what? I do something like this?

#

idk the coding

#

I'm still learning it

weak cairn
#

Has anyone found the troll engine?

hardy brook
#

So

#

Figured out a way to make organizing your jokers and other card art easier

#

So yeah, there's your fun fact i guess

#

Unless someone already did it

glad fern
#

hey just wanted to ask how do i get modded stuff?

fickle elbow
#

I'm thinking of replacing the color icon in my mod, because it looks like chrome and was made in ms paint, but I don't know what symbol I should use for color.

civic grail
#

what is it for exactly?

fickle elbow
civic grail
#

ah a suit

#

can i steal a sample card?

fickle elbow
#

yea

civic grail
#

or your file for the suit

fickle elbow
#

theres two suits in the mod so they are combined

civic grail
#

oh god you made it with mixels

fickle elbow
civic grail
#

does anyone have a png of a normal balatro playing card?

civic grail
fickle elbow
#

yea

#

letme try to find one

#

does this work?

civic grail
#

awesome

modern kiln
#

Halfway through implementing Pi Joker - Here's my shitty sprite... @civic grail save me

civic grail
modern kiln
#

haha no worries or rush

civic grail
#

@fickle elbow

#

simplified the symbol into a disk

#

and no more mixels

#

onto the void suit

fickle elbow
# civic grail

its suppose to be ink suit not void also this looks really good

civic grail
#

can i make the symbol an X?

#

to contrast the O shape and also because X is cool

fickle elbow
#

yea

civic grail
#

@fickle elbow are you sure about going black black?

#

or is that the point

fickle elbow
#

i mean im really just trying to get an ink effect/color if you can keep that possible somehow i don't mind if you mes with the color

#

mess

civic grail
#

im asking whether to use #000000 black or the #374649 balatro uses

rare shell
#

always go balatro black

fickle elbow
#

i dont really know the differce so i'l just go with balatros

rare shell
#

left is pure black

#

color palette sticks above a certain shade of color for the style

fickle elbow
#

oh, i suppose pure black creates the more desired effect

grand geode
rare shell
#

it really pops out with everything else which isnt a good thing immo

#

myst what are you cooking

grand geode
#

:3c

fickle elbow
#

that just whcih ever you think would look better @civic grail

#

then, which

rare shell
#

i am missing critical information

iron onyx
#

I FIXED IT

sleek granite
#

is there any downside to the fusion effects or is it Just Better

iron onyx
#

the downsides are fringe cases

#

sometimes you want an extra joker for abstract or you lose out on an edition

#

but usually it's Just Better

sleek granite
#

also cant you then get the original jokers again or do i not know how this game works (yes)

iron onyx
#

but i fixed the problem i had with loc_def

#

you can, actually

#

and i have no idea how to prevent that

#

or if i even can

rare shell
#

maybe look into how challenges ban jokers

grizzled sentinel
grand geode
#

chat i fucked up

sleek granite
#

very blind

rare shell
#

violet virgin

grizzled sentinel
rare shell
iron onyx
rare shell
#

since that has code that prevents jokers from spawning in the same way that challenges do

grand geode
#

chat i fucked up

iron onyx
#

what the fuck

rare shell
#

myst's blinds if it was lore accurate

grand geode
#

BWAHA

iron onyx
#

but yeah, that's fair

rare shell
#

you can look at how cavendish is prevented from spawning

#

there's a flag that gets checked when gros michel dies that allows it to spawn

iron onyx
#

i should probably just look into other methods now that i have my own custom loc_def stuff working

rare shell
#

wait

tall vessel
iron onyx
#

yeah, i was the +ERROR guy awhile back

rare shell
iron onyx
#

been cracking at it

grizzled sentinel
grand geode
#

what do you meannnn it's totally Big Blind

rare shell
#

mf made the zorua blind

tall vessel
rare shell
#

myst i swear if this is like some kind of chameleon blind that secretly copies abilities i will develop a third eye

civic grail
#

@fickle elbow both options

rare shell
#

playing suit from OFF

civic grail
#

what its like with contrast

fickle elbow
civic grail
#

aight

civic grail
#

its late

#

ping me so i remember

modern kiln
#

sweet if you don't mind I totally will thanks!!

#

should have it up and running tomorrow too

grand geode
#

alright, looking for playtesters now

#

shoot me a dm if you wanna test what i have so far

random breach
#

hey can yall make this happen more than once its a mod that allows you to pick the first joker

#

local forced_joker_shop = nil
Orginal_get_current_pool = get_current_pool
function get_current_pool(_type, _rarity, _legendary, _append)
sendDebugMessage(inspectDepth(G.GAME.current_round))
if forced_joker_shop and G.shop and (_type == 'Joker' or _type== 'Tarot' or _type== 'Planet') and not (G.GAME.was_forced_joker_shop) then
local _pool, _pool_key = EMPTY(G.ARGS.TEMP_POOL), ''
G.GAME.was_forced_joker_shop = true
_pool_key = 'Joker'..(_rarity or pseudorandom('rarity'..G.GAME.round_resets.ante..(_append or '')) )..(_append or '')..G.GAME.round_resets.ante
_pool[#_pool + 1] = forced_joker_shop
return _pool, _pool_key
end
if G.shop and not (G.GAME.was_forced_joker_shop) then
G.GAME.was_forced_joker_shop = true
end
return Orginal_get_current_pool(_type, _rarity, _legendary, _append)
end

local Original_Controller_key_press_update = Controller.key_press_update
function Controller:key_press_update(key, dt)
Original_Controller_key_press_update(self, key, dt)
if key == 'f4' then
if self.hovering.target and self.hovering.target:is(Card) and G.SETTINGS.paused and not(G.GAME.was_forced_joker_shop) then
local joker_name_with_j = self.hovering.target.config.center.key
if string.find( joker_name_with_j,"j_" ) then
local edition = {negative = true}
self.hovering.target:set_edition(edition, true, true)
forced_joker_shop = joker_name_with_j
end
end
end
end

grand geode
#

i cannot read that

random breach
#

why?

grand geode
random breach
#

oh sorry didnt know that existed

grand geode
#

no worries

woeful finch
#

also put your code in discord formatting

if this
  then that
end

( to do that, do this:)
```lua
this
```

random breach
#

sorry but since im here could you give me any tips?

woeful finch
#

i dont know lua breh

grand geode
woeful finch
#

oh yea do that

random breach
#

ok

#

but still how do i do it?

round oar
rare shell
#

removing the check for if it was a forced joker shop should do it

#

or the updating of the forced joker shop variable

#

at least from a glance

random breach
#

ok what line is that?

#

im a noob at this lol

woeful finch
round oar
#

i think it technically works though which is the worst part

fickle elbow
#

It looks awesome @civic grail

#

I might update the jokers to fit the suits new texture

sleek granite
#

now where's the guide on not sucking at art even if you use the right colors CoolCry

round oar
#

(damn i forgot discord embeds text files)

#

(that kinda made it sound just mean)

modern kiln
#

we're in business homies

manic anvil
#

e joker next

modern kiln
lean dune
#

"naturally" balatrojoker

modern kiln
#

{Log}ical next step hiker

lean dune
#

oh my god

#

i hate loc def so much

manic anvil
#

(Na)

modern kiln
#

There’s no way the art for avogadros number doesn’t have an avocado on it

#

Or maybe a nice pixel art Mole

modern kiln
lean dune
#

it's just really obnoxious to get generate_card_ui to work with custom centers

modern kiln
#

I see, definitely out of my expertise - did you do it how Jelly did it?

lean dune
#

as you can see, it works now

modern kiln
#

Yeah it looks terrific, congrats on getting over the hump

past tendon
wide atlas
#

Hey all, if I wanted to mod this game with little experience where would yall tell me to start?

grand geode
#

start by looking at other people's mods

wide atlas
round oar
#

the first thing you want to do is become familiar with how the language and the game engine works. then start by making mods that change individual small things about the game

grand geode
#

that was pretty much how i started modding any game

gleaming talon
#

That's also how I started

rough horizon
#

you can also have a look at the code of other mods

#

and the games source code

lean dune
#

pretty close right?

#

[UI ERROR]

ocean torrent
lean dune
#

oh no

past tendon
#

I love how perkeo makes everything broken

ornate gull
sly carbon
candid harbor
#

the swatch library and palette files for photoshop and aseprite have been posted in #🎨・fan-art

#

so you can just import all the colors instantly

sly carbon
#

i don't use either of those apps for my pixeling, i know they're better than what i got though lol

#

thanks though!

mossy cairn
#

wait what

#

i removed mystjokers

grand geode
#

after changing your mod list, ya gotta do a new run

#

though i don't recall main.lua having 2385 lines

mossy cairn
#

squished 6 moment

grand geode
#

that 6 has seen some shit

mossy cairn
#

lol

sleek granite
#

twelve of spadiamonds

grand geode
#

but i am not working on MystBlinds atm

lean dune
#

now what could I call a boss blind that debuffs stars

grand geode
#

the sun

#

obviously

candid harbor
#

or like The Void

grand geode
#

but do you have a symbol to go with it

sleek granite
#

cloud cover prevents seeing the stars in the sky...

hardy brook
iron onyx
small ether
#

What button is fast restart run for switch?

hardy brook
candid harbor
#

Entropy might be a good fit too

lean dune
#

i considered black hole (or supernova, for that (anti)matter), but I don't want duplicate names for different things

hardy brook
#

Oh right there’s the black hole spectral

drowsy urchin
#

question, what mod loader/injector is better

hardy brook
#

Most people use steamodded but it depends on preference tbh

drowsy urchin
#

alright thank you

#

is it normal that the steamodded injector gets detected as a virus

ornate gull
#

yeah thats the virus making you recommend steamodded getting installed /s

grand geode
#

Install using Lovely

ornate gull
#

its a patcher to an executable, an av expects that to be a virus

drowsy urchin
#

oooh

lean dune
#

omg I'm so original

tepid sentinel
# lean dune

Wouldnt it be the other way around? Eclipse boss debuffs star cards, like the Sun?

lean dune
#

but how does the void debuff moons?

tepid sentinel
#

Debuffing moon could be New Moon

covert condor
#

Just found the modding pool, decided to install 25 mods to try out

#

Did this

#

I love this community

dapper helm
#

reshuffled screenshots are always so cursed

covert condor
#

Thankfully I didnt find a Negative tag

#

Otherwise my brain will be fried

grand geode
#

i'm so sorry for your loss

dapper helm
# covert condor

also anaglyph always ends up like this for me, like 7 double tags and nothing to use them on

jovial hornet
#

Have this issue where my game has like 2 bugs that i've found and only found while having 2 mods installed, steammodded and Increasejokercapacity, as shown in the photo there should be a straight 10 - A, but is playing the hand as a High Card, besides that bug i've found that spectral packs in the shop dont show up anymore, played till ante 12 and haven't seen a spectral pack in the shop, Any thoughts on how to fix this ?

tepid sentinel
sly carbon
#

i seen some folks talking about aces being bugged in terms of making straights with them in the latest steammod version

dapper helm
#

are you using the latest steamodded hotfix?

#

pretty sure they put out a hotfix just for that

lean dune
#

yep that's fixed in steamodded 0.8.2

jovial hornet
#

I dont know why tbh, dont have a clue on coding or anything like that sorry for ny ignorance

lean dune
#

huh, haven't seen anyone bring that up, maybe it's just weird luck

#

I'm not sure anyone touched that logic

dapper helm
#

yeah i think you should try another run and see if it still doesn't show up, might just be luck

jovial hornet
lean dune
#

have you tried with just steamodded and no additional mods? one of the mods you have installed might be the issue as well

dapper helm
grand geode
#

i've definitely seen spectrals while testing my mod methinks

jovial hornet
jovial hornet
lean dune
#

which mods do you have installed?

jovial hornet
#

But only have a mod called Increasejokercapacity and steamodded

#

You want me to give you the link ? To that mod

dapper helm
# jovial hornet Yws

idk then good luck, i only know the IT type solutions of "update to the newest version" and "restart it"

grand geode
#

yup spectral still exists

lean dune
#

also just found one on ante 2

#

must just be bad luck then

grand geode
#

yeah

jovial hornet
#

Ill give it another try, but is there a way to check if something is wrong ?

grand geode
lean dune
#

lol

haughty hinge
#

can anyone make an option to disable sci notation?

lean dune
#

sure, why not

glad fern
#

hey i asked yesterday but forgot to respond how do i get started in modding

tired ibex
dusky reef
#

Oh btw I remembered somebody did a larger than usual joker before

#

Does anybody remember that? Have they ever released the joker?

past tendon
#

this one ?

dusky reef
#

Yaaas

past tendon
#

it's from this mod

dusky reef
#

Awesome

#

Thx

modern kiln
young obsidian
twin basin
#

i'm getting this error after installing a shit ton of mods

#

mostly joker mods

#

ok i put the game_modifications.lua in there and it stopped complaining about it

#

woohoo i get to play the game with basically every joker mod

tepid sentinel
#

Anyone knows why this isnt working from a fast glance at it?

SMODS.Sprite:new("roulette", SMODS.findModByID("Roulette").path, "roulette2.png", 50, 50, "asset_images"):register()

azure mulch
azure mulch
tepid sentinel
azure mulch
dapper helm
dull mortar
#

Im on mobile too

dull mortar
#

Rn that's why my account is different

azure mulch
dapper helm
#

lmao

dull mortar
#

I'm going to be improving the jokers for the mod when I'm back on my pc

fallow bramble
#

I've decided to give Balatro modding a go and so far i've been able to do something simple, just trying to get the hang of things, might do more. (joker based of one of my friend's oc)

ocean torrent
lost solar
#

hey, are there any resources here on how I could make my own mod for Balatro? like, would there be a way for me to look at the game's source code to modify that or any other tips would be appreciated!

rare shell
#

wew

#

oops

lost solar
#

i've installed steamodded, but are there any specific resources on creating mods as opposed to simply running them

rare shell
#

the steamodded github has a bunch of example mods inside of its repo

#

other than that, your best bet is to look at simpler, smaller mods, and work off of that

azure mulch
rare shell
#

this is the one i usually suggest for people starting to mod to look at

#

(i pretty much just snagged the first few lines of code that set up sprite rending tbh)

ocean torrent
rare shell
#

im deploying the blahajs

azure mulch
azure mulch
rare shell
azure mulch
languid hearth
#

the lyman jonklers go crazy

dense dock
#

bomb them

coral shale
#

so I was tinkering today

tepid sentinel
#

noice

rare shell
#

oh hell yes

modern kiln
#

this is so sick

digital compass
#

I’m curious how low that value skews in the range

rare shell
#

😛

#

hello chat

cobalt wedge
#

That looks awesome!

#

And was similar in artwork to what I imagined a Cowboy Joker would look like

coral shale
rare shell
#

the bullet holes are properly transparent

#

🫡

fallow bramble
#

Love the art

drowsy urchin
#

I just played some modded and it is really fun

cobalt wedge
#

I would like to try learning to make mods some time. I have many ideas (mostly probably dumb)

lunar fable
#

why is it whenever i select something that if played would trigger an efeect it triggers?

lunar fable
#

?

lean dune
#

do you have that mod installed?

coral shale
#

If it is, try upgrading to latest version of the mod. I haven't gotten any mis-trigger complaints on it yet

fickle elbow
#

finished updating the jokers to fit with the suits

coral shale
#

Just to clarify, my mod is not compatible with jokers from other mods*

lunar fable
#

ah

coral shale
#

(yet 👀 )

kindred venture
#

Hello, new to modding here. How do I download the steammodded with the lovely injector on windows? I can't find the dwmapi.dll on github.

gleaming talon
#

tis on lovely github page

kindred venture
#

Thank you!

gleaming talon
#

WE NEED MORE CHANNEL

fallow bramble
sonic pollen
#

Anyone here have any experience/knowledge in creating a novel menu for their mod?

#

Trying to make the sense of the menu classes and not having a good time of it

tepid sentinel
# sonic pollen Anyone here have any experience/knowledge in creating a novel menu for their mod...

Hopefully i'll end my mod in a few days time and im trying to write comments on some things for people that might find it useful in the future while looking at my mod. This said there's things I still dont understand fully about the UI but i do find myself a lot more confortable than i did 4 days ago when I was pretty lost. Maybe by the time im done with the mod you dont need help anymore but ill try to answer anything i can though as I said there's things i havent seen/done/understood yet

#

Though I'd use some help too if someone is reading this, but my problem is a lot more specific and i've spent some time now tryng to fix it, but no luck.

coral shale
#

I'm pretty comfy with UIBoxes, feel free to DM me

dapper helm
#

would it be possible to put a card back into the draw pile?

candid harbor
dapper helm
#

that puts it in hand no?

candid harbor
#

Sorry yea, brain fart

rare shell
#

DNA creates a copy of the card, not redraw it, yeah

dapper helm
coral shale
#

Check G.deck

dapper helm
#

ok thanks

olive warren
#

Hello, good evening, where is the documentation to be able to program a mod using lua?

tepid sentinel
#

There's a thread somewhere in the server about starting to mod too

ocean torrent
#

ive been trying to download this for so long it wont let me (modloader) can someone hlp 😭

lost solar
#

you need to turn off windows defender for the download

ocean torrent
lost solar
#

you just need to go to your defender settings and tell it to not scan for that specific download

#

i literally did it today so i know it's possible

ocean torrent
#

got it

#

thanks

fickle elbow
#

I'm having trouble making a card similar to square joker.

blissful herald
rare shell
#

like trying to get it to proc on a specific hand condition or having it increment its chips?

dull mortar
#

I figured out the problem and my pc lost Internet

#

I made the joker increment what a specific suit played

civic grail
#

@modern kiln

#

it was weird implementing the pi sequence in the BG

#

thoughts?

modern kiln
#

oh grassy balatroheart

#

I love the picnic table background and the pie

civic grail
#

yes or no to the numbers

#

this is no sequence

modern kiln
#

I feel like you did a great job making them subtle, but do you think it's still too busy having them?

civic grail
#

its your joker

#

lol

modern kiln
#

yeah but you have a better eye for these things than I do

civic grail
#

sequence is subtle, but no sequence is super clean

modern kiln
#

yeah super clean

#

thoughts on a pi symbol watermark instead of numbers?

#

like one big one behind the pie and the text?

civic grail
#

might be tough to see

#

would be here lol

modern kiln
#

I think the UI text covers the digits well enough, I say go with clean - only other thought is maybe putting pi symbols in the corners, but if you think that is also a bit too busy I would totally get that

dull mortar
#

I think the pie in the shape of the pi symbol would look cool and get the point across

civic grail
crisp jasper
#

personally i thought the sequence was such a cool way of harmonizing the idea of pie with the actual function of pi w/ the tablecloth
the way it serves as a partial reminder of some things you could use is cool too

civic grail
#

theres also the option of giving the tablecloth pattern to the numbers and wiping the bg out

dull mortar
#

@civic grail when you can do you think you could make art for the secondary joker to the ink suit based on the gem hematite?

modern kiln
#

what about putting little decorative numbers (kinda like birthday candles) on the crust of the pie? That being said I already think the card looks amazing so if you're ready to move on then that's cool too!

civic grail
dull mortar
#

That would look cool

modern kiln
#

Grassy just goes into the shop and comes back with gold every time

civic grail
#

oh yalls actually like this one?

#

damn

dull mortar
#

And I thought golf was supposed to be rare

#

Gold*

civic grail
#

heres ur pngs

modern kiln
#

Thank you!!

civic grail
#

npnp

civic grail
dull mortar
#

Yea

civic grail
#

oh joy

#

tbh ive had a backlog of jokers i wanted to do for Mika's mod

dull mortar
#

I got the code in it took me 5 hours because I can't read

civic grail
#

i might do those first

dull mortar
#

I can wait

civic grail
#

ignore that

dull mortar
#

I've been procrastinating on stuff I need to do

civic grail
#

though im curious, @modern kiln how DID you import your pi sequence?

#

for your original sprite

#

if you say manually i will cry

modern kiln
#

so I used Krita

#

and did a vector layer for text

#

and pasted in a ton of digits for pi

#

and then manually adjusted font size and spacing and whatnot

civic grail
#

ah got it

#

well pro tip

#

well thats how I did

#

it keeps the font consistent

modern kiln
#

thank you for the pro tip

#

ok while we're on the subject, PiJoker is working but I have two concerns about it:

  1. So much card text
#
  1. Mechanic might be too awkward for normal gameplay
#

Should it be scored cards instead of played cards? Other ideas?

dull mortar
#

You could make it 0.1 or 0.01 mult drop the incorrect cards but and make it for scored cards

modern kiln
#

Good idea ^

crisp jasper
#

ehhh

#

i think scored would make it very niche given a lot of times that would mean you're getting at most like
a 2 of kind even out of the ideal sequence of 5
so progessing it would scale so pathetically it'd be practically unusable

#

id go with played but a slightly lower mult progression

dull mortar
#

Is that not what I suggested?

crisp jasper
#

no? you suggested it being scored, and dramatically lower mult, which would make it the absolute bottom of the barrel when combined in that specific way

#

played allows you to actually build the mult at a reasonable pace and therefore actually embrace a unique style emerging from it

#

maybe i misread what you were saying?

dull mortar
#

I suggested dropping incorrect resets, and I'm now seeing the difference between scored and played but 0.1 mult should be a decent amount

crisp jasper
#

yeah i agree, 0.1 mult feels fair for played

modern kiln
#

ok so to recap, we're thinking 0.1 mult increment on played pi cards, and a decrement of .1 on incorrect played cards?

dull mortar
#

I suggested getting rid of incorrect plays doing anything, also did you mean 0.01 decrements?

modern kiln
#

Oh yes you did say 0.01 decrements, but I'm wondering if that's a little too strong - happy to have y'all playtest a couple versions though if you're interested!

crisp jasper
#

incorrect decrementing by the same margin feels fair to me, you can afford to go off pattern for something really good without nuking it entirely while still being encouraged to keep up the pattern

dull mortar
#

Yea tho I might have to wait till my Internet decides it wants to work

crisp jasper
#

I'd definitely be interested in trying it out

dull mortar
#

When using an antenna what's the best way to have it for a PC?

#

I tend to disconnect for about 2 hours of the total time I'm on it

crisp jasper
#

honestly, no idea, I've never had to use an antenna for my computer before, but maybe someone else lurking will know?

dull mortar
#

Only downside of a good PC

fickle elbow
#

yay, i got internet back 🙂

fickle elbow
#

do you think this is fair?

#

it only applies the chip bonus if a ink suit card is scored and adds 5 chips to it when it scores.

grand geode
#

what's Wee Joker again

#

+4 or +8

modern kiln
#
  • 8
grand geode
#

ig if that's like a rare but Wee Joker procs much less than a specific suit

fickle elbow
#

its uncommon

modern kiln
#

I kind of agree, maybe +3?

grand geode
#

uncommon is such a powercreep tbh

fickle elbow
#

so +3?

grand geode
#

you get 13 cards to proc this, while only 4 (6 with the mod ig) to proc Wee

#

and changing suits is far easier than adding 2s

fickle elbow
#

the chips also dont apply unless the suit is scored

grand geode
#

you'd play Flushes with this

fickle elbow
#

so to balance this make it +3 instead?

modern kiln
#

I would try +3 with a flush build and see if it becomes too strong too quick

#

btw working on getting out a PiJoker repo for you, realized I can't let it decrement below x1

#

oh also do you think it would be better to have it reset back to 3 on incorrect, or just stay where it is? I have 100 digits hardcoded in so it could probably work both ways in most cases

fickle elbow
#

just have it loop

lunar fable
#

i have 6th sense and whn i played a six this happened

sly carbon
#

for the folks responsible for steammodded or whatever else, would it be possible to make it so i can set a custom card front texture for a specific deck?

modern kiln
#

there are some people working on custom card front pngs, I'm working on custom editions, which are you looking for specifically?

sly carbon
#

neither of those, i am make texture and i want to have one of my own custom decks use a custom front texture without changing the texture on all the other decks

dapper helm
#

the deck visual or the playing cards?

sly carbon
#

the playing cards

#

as a specific example, i have seen a deck irl which replaced the Hearts suit with Apples because new york or something

dapper helm
#

thats a really interesting idea

sly carbon
#

yeah, that's my plan, i just wanna know if the people who are better at this than i am can set up support for it lol

sleek granite
modern kiln
#

well you see

modern kiln
sleek granite
#

exciting stuff anyhow, sounds like it should be pretty cool

modern kiln
#

yeah I've got some fun ideas I'm excited to get feedback and collaborate on! I'll post something here when I get my first custom shader up and running

sly carbon
#

including, but not limited to

#

another of my ideas is a Large Print Deck

fickle elbow
#

i added two suits to the game so i may be able to help a little

sly carbon
#

you can message me if you can help, i'll be working on the textures this weekend!

fickle elbow
#

yea, i'll be back in like 14 hours and possible for a short while in about 8

sly carbon
#

goodnight!

vestal crag
#

Which modding framework gets more support?

weak flume
#

I was wondering, if it exists, and if not, how hard would it be to make a mod that applies only the effects of black stake (eternals in shop) without the previous stakes

grand geode
#

it's piss easy

weak flume
#

oh hella, guess i'm gonna have to learn to mod this game then lol

sleek granite
mossy cairn
#

blind idea: "huge blind"
it replaces big blind at 20%
score is base*5

round oar
#

today i learnt that wee joker is internally recognised as just 'wee'

viscid spear
#

decided to make it wasier to see what cards ive gold staked

round oar
#

that's actually sick

viscid spear
fallow bramble
#

Wonder what you'll do for red card

viscid spear
#

i dont think ill have to worry about it ive never won with it lmao

scenic surge
#

That looks sooo good!

lean dune
sly carbon
#

for just one deck?

lean dune
#

it probably doesn't work out of the box the way it's set up now, alternatively you could create a new suit and swap them out using yes_suits or no_suits on challenge.deck in Back:apply_to_run

#

though it won't be equivalent to the old suit to jokers

drowsy urchin
#

modding seems really fun in this game kinda wanna try it

#

is it hard to learn the basics of how to make mods?

fallow bramble
#

Depends what you're trying to do, what I did to learn was checking other's mods and looking at how the game's code work

drowsy urchin
#

alr i just like doing stuff and seeing that it changes what happens, it feels so monkey brain but its so much fun

#

im gonna try and learn how tf this game works

fallow bramble
#

Good luck

drowsy urchin
#

thank you

hardy brook
#

So a balatro update is coming it seems. Don’t think it’ll affect the mod engines but make backup just in case

#

This is definitely gonna affect Archived

lean dune
#

Oh good to know. I'll know to keep my 1.0.0 dump of the source code around so I can compare and look for changes that affect Steamodded. With all functionalities it has, it's likely something will have to change

weak flume
#

noteably, it is trivial to download old builds of the game through steam

grand geode
#

can't wait for the update to secretly have 3 billion backend changes

lean dune
#

oh I'm definitely expecting some

fallow bramble
#

Where can I see the full stack traceback, is there a log saved somewhere?

lean dune
fallow bramble
#

It's a bit too short sadly

#

Can't scroll down or something

lean dune
#

the tk_debug_window one, but currently it doesn't get saved if you don't have that active, sadly

#

it should probably save a dump somewhere

fallow bramble
lean dune
#

it's a python script on the steamodded repo

strong falcon
#

Is there a way to check if another mod is loaded, without having it be required?

#

I want to add support for some of the custom seals mod, but only if they're installed

runic kraken
#

Is this too weak or too strong?

weak flume
#

seems very weak, asking for 5 joker slots and 4 rounds to get a 6x that if you use a second slot for scales by only 1.5 is not great

drowsy urchin
#

its kind like madness except it scales more but its harder to scale and harder to obtain cool idea but it needs either a buff or a better way to get it

sleek granite
#

wait but you lose the cultist tho so you have no engine for them anymore

drowsy urchin
#

yeah you would need a second cultist

#

i think if you could keep te cultist it would work

weak flume
#

cries in painted deck

drowsy urchin
#

just get antimatter ez

grand geode
#

prolly not feasible to survive to ante 2 with 4 mult assuming you get cultist first shop or something

runic kraken
#

yea you are probably right

drowsy urchin
#

what if hyroglyph

grand geode
#

any later and it's basically unplayable

sleek granite
#

also consider: shop now has four more jokers that it can show you that are strictly worse than the basic joker

drowsy urchin
#

okay but most runs have useless jokers in the shop

alpine cosmos
#

yeah but this is especially useless

drowsy urchin
#

true ig

alpine cosmos
drowsy urchin
#

that could work

sleek granite
#

i'd personally consider giving each piece some kind of synergy effect for how many pieces you have

alpine cosmos
#

oooh

sleek granite
#

cuz i do appreciate that each piece is 1/4th a basic joker at base-level for flavor reasons

grand geode
#

still doesn't really work if cultist shows up later in the game

alpine cosmos
#

one could be +6 mult
one is +30 chips
one is like, one is 1.25 xmult
one is +2 cash

#

then they increase for each piece they have

#

maybe

sleek granite
#

also, i'd hope cultist can't repeat pieces

runic kraken
#

no thats just my for my cosmics

fickle elbow
#

gemstones wise what'd think about bismuth for color and hematite for ink

alpine cosmos
#

that would be cool

sleek granite
#

gonna see if i can upgrade this from Cursed Image to Real Functional Card In The Game
scream

weak flume
#

3 of 3s

sleek granite
#

three of threes

weak flume
#

I love it

alpine cosmos
#

i think thats just called 9

lean dune
#

now make suits for every rank

sleek granite
#

"+3 chips, triggers three times, suitless"

lean dune
#

"King of Queens"

sleek granite
#

lol, no, this is tying in with the question i asked a few days ago about unique playing cards

weak flume
alpine cosmos
#

what about a Jack of s

#

that was a bad one

#

im sorry

sleek granite
#

is latest steamodded still notably unstable/janky or should i just update i remember people sayin stuff was busted earlier

lean dune
#

at least straights behave properly in 0.8.2

#

there might still be jank some places, reports are always welcome

sleek granite
#

i love programming, man
why is this FALSE

azure mulch
sleek granite
#

well it's not me cuz i dont have friends <3

azure mulch
#

awh im sure you could make some at least online? also the name is cute and very transfem coded

grand geode
#

hm i haven't seen any transfem autumns actually

sleek granite
#

tbf this is the full extent of the three of threes code itself so like yeah i believe it doesn't work right but really i get luajanked immediately cmon

sleek granite
#

i dont understand how this apparently works for "proper" suits but fails to work for my dummy 'suit' so fool

lean dune
#

i would expect crashes if you make a suit exist but have no data for it

sleek granite
#

yeah but it's not even reaching code that checks that

#

it's crashing when trying to view the deck, and crashes because it tries to insert the Three of Threes into the 'dummy' suit's table, which is apparently nil; despite the fact that there IS a 'dummy' suit table it just doesn't believe the two are the same

lean dune
#

I have an idea on how I can make this work

sleek granite
#

at least, that's what i understand from this & lovely's patched dump

#

like i'd get it if it was trying to index 'dummy' from SMODS.Card.SUITS, because that doesn't exist and i'd just be like "yeah that makes sense let's fix that next" but it's not even getting there ^^"

lean dune
#

UI stuff in this game is jank

weak flume
#

where do the error logs get created to?

LoadError 2024-03-28 10:39:54.txt created because of an injectHead into create_card! Check the file for your error!

sleek granite
#

i've gathered that a lot of things in this game happen to be jank

lean dune
#

but I might add something like a None suit as well as the option to create a suit but not create any cards for it

sleek granite
#

drawing the card into the hand "works" :pained_smile:

lean dune
#

try playing it lmao

#

ideally nothing happens

sleek granite
#

already did and it worked about as well as you'd expect

lean dune
#

yep looks like missing data to me

sleek granite
#

yeah i don't expect it to fully work i was just hoping for at least one thing to work haha

sleek granite
dapper helm
sleek granite
#

i have no idea why it has no sprite, if anything would work it should be that

#

(note that i did add sprite code haha, ik the previous code didn't have any)

fallow bramble
#

Been spending some time on this joker now and I can't figure out why the x_mult of 3 is not being picked up

lunar fable
#

what couses this?

#

this is my mods

lean dune
dusky spire
#

Unsure if the concept exists yet, but is there a mod that can sort jokers in the most optimized scoring way? i.e. chips + additives in front, scalers in the back? I can imagine this might be useful for games where you have so many jokers it becomes difficult/impossible to order them properly (basing this on skootie's greener pastures video)

magic sandal
#

I mean it's tedious but it's not really hard to do manually, considering even 10 jokers is something you'll likely never see

#

Although I don't think there is a mod like that

runic kraken
#

Playtested a bit, getting the cultist before Ante 4 should give you an easy Jimbo, Ante 5 is possible but relies on editions or more joker slots, everything after that might be possible but extremely hard

arctic bough
#

damnnnn

#

bro is going crazy

patent pagoda
#

this just appeared today when booting up on steam deck, how do i disable? ive not been trying to mod anything. EDIT thanks for the help it was just steamdeck

cosmic shell
#

that's not related to balatro, it's a setting in the steamdeck quick menu (three dots button)

patent pagoda
#

ohhh it looked like a custom non steam font thank you jeez

#

sorry

#

happy to be proven stupid :)

tepid sentinel
#

someone experienced with the UI of the game,
in a button , is it possible to pass the same element as an a argument to the function thats called when its pressed?

haughty hinge
#

yall think i can win?

fallow bramble
#

I don't understand how a card like "Ramen" can get his x mult from its local variable but if I make a 1:1 exact modded copy it doesn't

lean dune
#

and you need to declare it first, obviously

fallow bramble
# lean dune it should work fine if you use the correct contexts in your joker's calculate fu...
SMODS.Jokers.j_burger.calculate = function(self, context)
        if context.discard then
            if self.ability.name == 'Burger' and not context.blueprint then
                if self.ability.x_mult - self.ability.extra <= 1 then 
                    G.E_MANAGER:add_event(Event({
                        func = function()
                            play_sound('tarot1')
                            self.T.r = -0.2
                            self:juice_up(0.3, 0.4)
                            self.states.drag.is = true
                            self.children.center.pinch.x = true
                            G.E_MANAGER:add_event(Event({trigger = 'after', delay = 0.3, blockable = false,
                                func = function()
                                        G.jokers:remove_card(self)
                                        self:remove()
                                        self = nil
                                    return true; end})) 
                            return true
                        end
                    })) 
                    return {
                        message = localize('k_eaten_ex'),
                        colour = G.C.FILTER
                    }
                else
                    self.ability.x_mult = self.ability.x_mult - self.ability.extra
                    return {
                        delay = 0.2,
                        message = localize{type='variable',key='a_xmult_minus',vars={self.ability.extra}},
                        colour = G.C.RED
                    }
                end
            end
        end
    end

Seems right to me

#

It's declared as well

lean dune
#

yeah that seems alright

#

so what's not working