#⚙・modding-general
1 messages · Page 73 of 1
My bad I forgot
I’m used to intentionally pinging people on reply 😅
Hm?
Hm?
What’s that for? @_@
for being mean
Sorry if I was mean, I didn’t intend to :<
Ah I see makes sense :)
liar

yeah lol, oi tudo bem?
awesome
i felt compelled to say it again cuz i forgor who was there when it happened (historic moment (i released a mod))
the autumn circus
yea thats me whats up
iiiiiiiii
oh sick
oh that's cool
Awesome!
Also awesome!
need the fusion joker thats all 150 vanilla jokers glued together
how im tryna be
jestobiology souls DLC
in a function outside the joker, how do you call the joker?
with a jestophone
Lyman what do you think of the Octet
Lyman's goal is to steal all the funny jokers
What do you mean?
my goal is to not go homeless
Do you want the card object?
like with G.GAME in an if statement
octet is vry pretty
Not sure what you mean
Are you looking at the list of Jokers you currently have?
this but for a joker
I’m asking what you want to do, this doesn’t help me understand
this but with a joker
i do not understand
Do you want to draw a Joker from the available Jokers to the hand?
do you simply want to know if the player has a joker in their possession?
Because I too want to do that someday
yes
i now understand
You can iterate over the Jokers
Look up selling a card
Because it iterates over Jokers and passes the sold Joker in context
Fireplace uses it
Campfire*
BTW if you didn't see this morning
if you just need to find whether a copy of a joker exists, use next(find_joker("Joker Name"))
I solved our consumable crisis
???????????
if you want to iterate through all jokers, for _, v in ipairs(G.jokers.cards) do
real??
I heard from autumn
made a small mod for that
Just now
not out yet
no that's not oddities
shoutouts to jonklers
thats a different thing
But the screenshot has Oddities
thank you mys myst
Hmmm what’s the difference
itay made the menu for modded consumables
Oohhh
Wow thats cool
top 10 "oops i forgor about that code" moments in balatro modding speedrunning history
huh
should I release the mod tab patch?
NotEnoughConsumables
XD
EvenMoreConsumables
aure jumpscare
also for the close while this is going to be my modded consumables tab
unless i make another one
:o
cant wait for 7 more itay consumable types
oddities my beloved
oddities may be huge
now I jst need to add some boosters for the composite hands and i am done with it

eventies?
no, evenities
eventide???
what is evenities?
EVENTIDE MENTIONED
oddities evil brother
this
decent bow but not being able to use other arrows kinda sucks
empress of light is lame we out here mtgposting
wtf
terraria screenshot jumpscare
this is balatro in 2025
i couldnt find a gif of the version of Soul of Eternity with cycling effect text
eternity mode moonlord is aids
its not even like actually that much more challenging just annoying
whats composite hands
what?
they are hands
fuck you use all four classes moment
ah time for the mysterious "what did the crash log mean by this?"
aren't there accessories that's just generic damage up
ooooh ok
i look forward to slightly less jank alchemy packs hint hint nudge nudge 
?
wdym?
"i dont speak bottom"
Autumn "I dont speak bottom" Mood
sick
oh, i had a local just sitting around without anything else lol
whoops
this has been sitting in the mod files for almost a month without having an effect
what the fuck
whoops
the functions
G.UIDEF.use_and_sell_buttonsG.FUNCS.can_select_oddityG.FUNCS.select_oddity
basically i remap the button to call a different function entirely
and in that function i treat it the same way vanilla treats jokers, just with targetting G.consumeables instead
but what if they are opened in other packs>?
i probably could just have the check for the card being in G.pack_cards and skip the check for oddity booster
?
you're referring to this line right
yes
i.e. if they're opened in a newt pack
and not in an oddity pack
i could probably swap the G.ARGS.is_oddity_booster check for card.ability.set == "Oddity"...
why not in an oddity pack?
what
ok can you rephrase this because i think that is the crux of this misunderstanding
let's say another pack adds your cards to their pool
the new button would not appear
do alchemicals work correctly in the funny packs?
i have switched it to this locally, i'll probably give it a bit before i try to push an update, see if i cant get more polish on it
(tldr it should now work for any Oddity in any pack)
yes
i do want to add a button to directly use the oddity from the pack
okay finished it
for whatever usecases that might have
does it support negative cards from the pack?
it should, though i never tested it
okki
thats what this slop is for
Nice
i swear to god
New Joker: whenever you breath, draw a card
sick!
This is awesome
Victin have you considered implications for Lucky Break
free X64 on every final hand
you're a free X64 on every final hand
Ooohhhhh no, I had forgotten about that Joker
Vriska-maxxing
My bad, I’ll try harder to remember it @_@
I love the fact that
if you get at least 2 Vriska jokers
you just. win the game
it's funny because it's true
wait hear me out actually
what if
a new boss blind
which counters the Vriska build
by setting the global probability to 0
how does one call this inside a joker?
call it The Law or some shit
alternian letter L as the Blind sign
and the color is teal
TH3 L4W
The way Vriska joker makes every single probability score on the last hand is by multiplying the global probabilty by 8^8
The draw function?
not quite, i want the joker to draw all non-heart cards face down. i have that code but its not doing anything when i have the joker
i think its because there is not any code being call in the joker for it
Ah, I’m also curious how to do that because I want to do something similar.
You don’t need code in the Joker if the code is elsewhere
What does certainjoker do?
That check is wrong because you’re comparing a card to a string I believe
You should compare the card’s name
Which might be a field in ability
I forget
card.ability.name, yeah
is it possible with mods to add new card packs that work similarly to arcana/spectral packs?
Wouldn't next(joker) be enough?
yeah
next(find_joker()) sorry
Technically you’re comparing the card’s entries to a string, not the card itself
With the name as argument
What is he trying to achieve?
If only someone could tell us
cause like imagine a card pack based off of the deck of many things from DND lol
Nvm I can't scroll lol
hi new mystjokers just dropped
That wasn’t meant as an indirect
Maybe. There’s new support for consumeables in Oddities
newt's mod has custom packs
By the way, how to choose two different items (Jokers) at random from a list? I made code that’s supposed to do it but it’s not working as intended
pseudorandom_element?
But that’s one
do it twice
But then it can be the same
repeat the second one until its not the same as the first one
I want two not one
The worst-case complexity is bad
shuffle the list, and pick the first two
yeag
Immolate uses it
See, I was creating a copy of the list, then selecting one from it and adding to another one. Then removing from the second one. But sometimes that didn’t work. I’ll try shuffling the copy
is this right?
I don’t think so, but you can just hardcode the Joker’s name. The certainjoker is still wrong too I believe
Do next(findjoker(“JOKERNAMEHERE”))
Instead of certainjoker
^
still love me some subtitles
How do you add them?
through some annoying UI shenanigannery
its set up as an API hook in TheAutumnCircus so it could be used by anyone, technically, but you'd have to depend on my mod
in the future i may split off some of the API hook style things i've done in Thac as their own mod so others can use them, or perhaps they can be included in SMODS somewhere down the line
can 221 become 113
what... is that in reference to?
can they get shuffled to 1, 1, and 3
oh, yeah, i think so
one of the 2s gets upped to the 3, one gets downed to 1, and the 1 stays put
and then shuffled
ignoring the ups and downs
no
ok
it shuffles them as units
how are you supposed to call this?
This might be a silly question, but if we're not allowed to debug into the game's code, then how exactly do y'all figure out how anything works enough to mod it? I'm struggling to figure out how to find the variables/functions I need to mess with things.
you're allowed to view the game's code, which can be done with 7zip
you can then export all the source files to a folder, and then use grep or a grep-like tool to search them for function names and whatnot
i use notepad++ personally which lets you search within a folder with ctrl+shift+f
find a function call you dont know what it does? find the function
or you can find it the old fashioned way with grep
i am Blind
Oh gotcha, so we can view the source just not debug it? Not trying to argue past the rule, but why the distinction
it vague
i think it's just to prevent people from being annoying (?)
like oh thunk we can fix this why cant you smh
i think it has more to do with discussion thereof rather than the actual act?
yeah
but i could be wrong /shrug
Alright, no big deal either way. I've just been flying blind. Being able to read the source code will help lol. Thanks
time to do the card to area thing
WOOO
what even is this
so basically
there's like two strings in G.UIDEF.use_and_sell_buttons that matter
oh so we return directly if we're in our pack?
i've switched it to check the set of the card in my local copy (and on the github, but didnt push a release)
this preserves this functionality for custom packs like those in newt's mod
but yeah, basically
what am i doing wrong? nothing is happening
the important parts are button = "select_oddity" and func = "can_select_oddity"
oh ok this makes sense
which then make that button check those functions in G.FUNCS
wtF is select_oddity
it's uh
this funcs
G.FUNCS.use_card but it always treats the card similar to a Joker
except it puts it in G.consumeables
is this all needed??
i dont know how much is unnecessary
but i'd be surprised if there wasn't useless code
yeah
basically you'll want this section to match your set (so "Colour")
yeah i saw that

i want all non-heart suit cards to be flipped when drawing them when you have the specific joker. this should work, right?
oops (definitely my fault)
Oops!
ok now it magically works thanks so much

how tf did you figure thiis out
success
what would i change G.hand.cards to to get that effect?
once upon a time i was 11 years old and i learned lua to mod minetest
incidentally i learned lua to make love2d games
i "learned" lua for this
ok the way i have colours set up is quite satisfying
oh holy shit
jimbos from colour packs actually go to joker slots
yeah they'll behave like they're in a buffoon pack
also oddity api should probably register the null oddity for each rarity
what said null oddity does i do not know
i need to figure out some kind of good solution for that, yeah
considering making it just use the first entry in G.P_CENTER_POOLS['Oddity']
which with Thac is $1
oh the null oddity should be the infuriating note from enter the gungeon
i specifically want OddityAPI to not have any content in it
ok then do pink and black square
(i should add a config option for the shop and booster stuff)
and have it removed when any oddities are registered
that tracks
this should work? nothing is happening
G.playing_cards is every card in your deck
yes?
i could not answer why nothing is happening, but this definitely will not have the effect you want it to have
chat is this balanced
is there a specific part of code I'm supposed to put this in
i think you actually need to screw around with the CardArea:emplace function
and not G.FUNCS.draw_from_deck_to_hand
i feel like this would flip every heart every time you draw
by all rights it should be
but idk what else is going on
anyway CardArea:emplace has a third argument that is not used much
you could try hooking into it, checking if the CardArea is G.hand, if the card isn't a "of Hearts", and if you have the joker, then setting stay_flipped to true before calling the aliased function ref
I can't download steam modded :(
this usual keeps it from flipping when alreday flipped
me just realizing the name change from one of my mods
Joni let’s
How tf is that what my autocorrect corrected it to
thats from me sorry
@lean dune may we implement support for Six Suits’ hands to Composite Hands?
I didn't see the full thing for composite hands
reminds me i should finish dank rank
I rember
Basically, a consumable card that plays a hand
Me and another person had the same idea XD
composite hands support for dankranks hands...? :)
For sure
Wait, do you have 32?
Like, rank 32?
no
all i need is a way to flip the cards before drawing, how do i do that?
but i cant complete 30->40
i thought you were going to 40
not enough card real estate
this is so sad
alexa play oddityapi
Did you also change Fibonacci?
yea
And even Steven?
trying to download version .dll
tho it detects it as a virus
And odd Todd?
oddly toddly, even beven, and fibbolly
Nice
prime time from more fluff??
I must download mod tho this is blocking my way of doing so
how do you iterate though your entire deck with a joker?
prime time was a cut card from morefluff,
it exists now as an actual thing in mikas
Chat
I'm losing my mind
So I had a mouse problem for the past few weeks and I'm taking a day just to do a deep clean and
My brother in laws room
In his fucking room
In a closet
did you put a ringer on it so you can call it?
im eating breakfast just fyi
This is getting deep

Looks... Sun bleached
I FUCKING LOVE CHEESE
GIMME
Update
?
are you going to have some?
WHAT
I was terrified of opening this thing ngl
baseball cards=chesse
was the box cleaned out?
it was not cheese it was cards, hmm
update lyman you're awesome
baseball cards in cheese box
just get 1 uncommon
true
I gotta find that joker card in there
now we need a cheese box oddity that spawns baseball card
all my uncommons gonna be good
What did I do
cheese
lyman do you wanna see something funny
Vriska moment
inspire the community
lyman you're incredible and your work is appreciated widely
^^^^
lyman affirmations hour
this
lyman "words of affirmation"
i think we should have a lyman appreciation day where we all send lyman 5 dollars
guys
we need a cheese box/bafoon pack that is just 1 baseball card
cheese box tag that gives you baseball card joker
tag api........
cheese box sounds more like an oddity than a tag
itay........ pls...................
(slash jay)
I love these mods
however
version .dll is a "virus"
no more mods guys
opinion check on my terrible sun.
@cunning silo it happened
Lovely method
version.dll is lovely tho lol
Mostly just the outline
Lovely method
Yesssd
itay did you see the funny btw
labelled as eris at the top
What funny?
looks like that round meal without the rapping
looks real good
???
its actually labelled as pluto, but still
the dice are genuinely stupidly strong
same thing
vriska approved
what is "lovely method"
i read like 30 pages or smth and then got distractered
Can someone link the funny lovely method guide
like the third person I've ever noticed having that problem with lovely
i mean it will but you can like
weird
i deffo closed out without bookmarking anything
make multiple bookmarks
oh fair
chrome is saying version .dll is a virus
@knotty roost do you have a third party antivirus with web protection?
.dll files get flagged all the time
nope
they do, but I would expect them to be consistently flagged, which hasn't been the case
only normal windows 11 antivirus
alright yeah. you should be able to bypass the warning
how tho?
i have issues because
im stupid
compiling is a pretty straightforward process
cargo makes it surprisingly easy
You're using chrome?
@knotty roost
what is this
cargo space?
that's lovely.dll inside of a zip archive called lovely.zip
rust :3
rust :3
yeah, lovely's in rust
man whoever chose rust for lovely must be a cool dude
I'd want to be him ngl
rust is neat. I get to use it professionally and I still haven't really found reasons to dislike it
also god im so proud of this card in particular like holy shit
I have the so called "virus" now >:)

no problem greggo
Your art is excellent :0
reminds me i gotta figure out whats good with dankranks art....
(this is a large portion of why it isnt real yet)
metherul you talk exactly like the folks i went to high school talk these days
guys do you wanna see weezer if they were on the atari 2600
no
is this accurate? can this be rendered on the atari 2600?
chat is this real
-2

man I really fucked up when I chose this name 14 years ago

Who's that anime character?
my plushsona
:0
lyman im going to turn you into a marketable plushie
note: this video isn't a representation of qualia automata's canon. it's just meant to advertise the plush. aside from a few small references to tamari's story, it doesn't reflect what qualia automata or its characters are actually like. thank you!
tamari is now a marketable plushie! yippee!!!
available november 22 at 4pmCT
https://www.makeship...
why did you post a picture of baseball cards
it’s so cool to see mods getting better with time
Loot!
like what
jimbobread man 🙂
this explains why people open stuff like pokemon card packs
when will we add Jimbo bossfight to balatro
jimbobread man 🙂
thats coming in balatro story mode
balatro story mode when
How’s it going all?
crimson dont do that its a pyramid scheme
- At work.
- What mod
- I won’t have much time with school and packing
O
yes just oddityapi
When is it coming to Steamodded as a whole?
it isnt
Oh
it is not
it's a manual injection exclusive
lovely method
you gotta use autum's custom python script to inject it
oddity api is a mod for steamodded, no?
(it's python 2)
solitaire texture pack lookin ass
i dont even know python
speed mod so crazy
look in a mirror, uno lookin ass
it's actually a perl script
perl is fun
i definitely dont know perl
yes you do
liar
otherwise how would you have written the install script
smh my damn head
Metherul. I gotta ask now that i know it’s a personal project. What is lovely and how does it work? Lol
i know lua, some java, some js, slight php
im a C# developer lua is beating my insides into a smooth paste
i know rust, js(?), python(?), lua now i guess
Lovely is a runtime Lua JIT injector. It injects code into the game while it's running
granted i have used js for a whille
i mean, steamodded is also just someone's project
TL;DR it makes it possible to inject code into the game at very precise locations without modifying the executable.
So like… a launcher to choose to install steamodded/balamod/whatever without the weird installation?
modding is just using different APIs and making your own APIs and adding in way too many things until the game loads 5 hours and has too much content for one person to humanly comprehend
this is balatro in 2015
And the "code injection" refers to direct lua code embedding, not fancy hooks or anything. Lovely gives you full access to the game's source code.
listen i didnt come here to be attacked
hullo metherul does patches.copy basically copy the contents of the source files into the target?
Eh, sorta. It's a tool that a modloader can use to get its code into the game and bootstrap setup routines.
Yep!
hmmmm i hope this just works
let me know if it doesn't :-)
oH YEAH you're working on balamod support @stone brook
very cool
take a look at the latest prerelease - it has regex patching
it might make your job a little bit easier
Okay. I’ll try when i can after my projects!
"
I bash my "head" into the "keyboard" and "magic" occurs in the "game"
No. I use a game to tool my load into the code
Wait…

i make "mods" by taking "homestuck" references and calling it "balatrostuck"
how do i get lovely to append a line of code to the end of a file? do i use patches.pattern?
i use an into to tool my game load the code
hi coro
And i’m working on Dragon Ballatro
extremely loud incorrect buzzer
you make one mod
hi akai
coro did you see Fluorite Octet gif
nope
ah yeah, I knew I forgot to implement something
you could technically use a regex patch to capture everything, set the position = "after", and then the payload would be inserted at the end
i love it
Uhhh that’s a lot
but copy should absolutely support non-files, not sure why I haven't done that
I'll take care of it after work
How does that even work
and the big X64 payout
i saw +800 chips in there
yes
i'm gonna be so sad when i get a random tarot 3 times in a row
gives x2
should be x2 mult?
i like that its readable while going through all the options also
didn't I already give my okay for that?
what color is that?
its the color she types in
Like a cyan color
ahhh i see
X64 should be X64 Mult
literally no
literally yes
so much vriska color...
with the red box it doesnt really matter
I use a different color for generic Xboxes
sure it's recognizable, but it breaks the game's conventions
it technically should say it
Xchips can be a thing tho
how would i go about blacklisting jokers
works works
i was just gonna ignore it cause its balatrostuck
not like it needs to follow every rule
Balatrostuck breaks so many Balatro rules
going to break every rule if i make a mod
Tbh I would suggest adding it
at least half of all jokers have colors darker than balatro black
oh mb
x3 mult
x2 chips
only x chips jokers with 4 different effects
yea fair
My autistic hyperfixation is writing magic cards so keeping conventions makes my neurons happy
real
remember, balatro black was invented by john balatro to prevent you from making cards with more color depth
Listen it's a very useful short hand to explain why colors look off to people getting into pixel art 😭
the set palette is a lie by big jimbo to stop you from making better art than thunk
oh boy i think the way balamod does modules really sucks for lovely
I'm not gonna link the Celeste spriting bible every time because I'll feel like a missionary
JoStro had a lovely patch for older versions of balamod - is this a new thing?
yea we're about to release a giga overhaul
Literally there is no palette for balatro it just falls above a certain brightness for shader reasons 
yeah and what i do makes it fit in that shader reasons
I know I knooow
i think im gonna try making a mod. or at least like a skeleton of one
big chungus mod (adds big chungus joker, big chungus blind and big chungus oddities)
is there any cheatsheet or something for making jokers? a list with all the possible functions? im having a hard time starting to create the jokers
Oops! all Mr. Bones mod
well i mean the example mod works not really sure what i expected
hee hee hoo hoo
hee hee hoo ho
heehee hoohoo
merry jokermas
hee hee hoo hoo the joke's on you
btw fixed the wording
spectral...
i got fucking. ectoplasm on ante 1
also Octet is so pretty
like, no matter the enhancement
vriska joker stay winning
WAIT I JUST REALIZED SOMETHING
you would need exactly 6 oops all sixes to make the Octet proc on X64 always
in other words
you'd have to have 6d6 and 8d8
thats awful
where ", otherwise"? effect change or slip up?
just deemed it like
not necessary
tbf
it makes the window too big
i'll have to fix that
how's this
no one should have gave me the power of the deck creator mod (normal thing that everyone would know what I am doing)
(it cycles, still)
Moon Rider from one punch man?
it's Homestuck
there's an animation on this
it cycles between possible payouts
Anyone know if it's possible to mod Balatro on the steam deck at the moment? Mainly for the score preview mod - I seen a guide on steam community but a lot of the comments are saying it doesn't work. Thanks!
looks fine to me
To mod Balatro on Linux you need to access the .wine subfolder
theres modding stuff in steam comments? i wonder how much of it is wrong
I'm not sure what that means lol, is that hard or something?
not quite
well i have no idea how to program this but it looks cool
i wonder if you could just add pinned to all and remove pinned from all after
would mess up like 1 challenge for sure but that doesn't matter
no idea how to do that icl im a freaking noob
i barely figured out how to even make it give 4 xmult by looking at codex arcanum code 😭
ya but its maybe something to look into
nope you'd just have to look at the code for that challenge wherever it is
"On a knife's edge"
real
so i would need to figure out how to make it true for everything when the blind starts
id try to find something like morefluff or smth that makes eternal stuff and look how they did it
there's a setting_blind context and you can also check for if its a boss
and end_of_round for reseting it
what in morefluff makes eternal stuff
What do you think this means?
any cows lead to more cows and more cows give gooder milk
Now, with your own words
i have no words, i'm speechless looking at this cow...
Gooder 💀
Please tell me this is the final art
No but I can probably allow enabling the beta assets
wassup
cows either create more cows or they don't have the only 1 at a time restriction, like you have showman basically. having more cows gives you milk of higher quality instead of giving more milk
make it the final art please
The design is so incredible good wow
Or allow beta assets yeah
I want to try to draw better
Thanks I stole it
Oh then do so
(from SAP)
When do they make milk?
What is SAP
Super Auto Pets
Is there gonna be a big modpack based on it?
I know someone’s doing Homestuck. I got a texturepack on DNDG and a modpack on Dragon Ball then Neptunia
thats a great question, when blind is selected is what my brain filled in the blank with
Someone is working on a big SAP modpack; personally I want to implement a few simple Jokers to make a first simple mod
Ah okay
Alright. The answer is: ||Cows make milk when bought. Otherwise, not only you can always find Cows in the Shop, but they show up at an increased rate whenever the Shop could generate a Joker. Also, there's only 3 tiers of milk.||
interesting
How to make a custom rarity
You got most of it, so I think the description is okay, but it could be better.
I did just remove the "when bought" from it to make it shorter
I think I saw a mod that does it, but I can't remember. I think you can just add a new entry to the rarity dictionary, but then you need to make your rarity show up whenever it would be necessary, I think
fusion jokers are technically a new rarity
i heard you can do it with balamod
I was considering listing the number of milk tiers but I'm not sure how to do that and imply cows can show up again (and at an increased rate)
Idk, I think you could do it either way, but I haven't tried it yet
Oh, and I forgot: what do you think Milk does?
It's the SAP mod I had mentioned when you asked about it
ok well i got it to pin everything but they get rearranged weirdly
What was the original order?
i've never played SAP so i have no idea but that can go in a tooltip, and now that i'm thinking about it you can put the amount of tiers in the tooltip too
Y'know, I think that would look good if it used the Hologram/Legendary effect
joker wrathful control lusty greedy
Hmmm… actually yeah, maybe. How to tooltip tho 🤔
ok they get pinned and unpinned when they should at least
that part was easier than i thought
you would think it would either keep the order or reverse it but it seems kinda random
on a knife's edge challenge:
i didn't move them around and it used the same order again in the next blind
so maybe it's based on some internal id shit
Okay, I figured how to tooltip, but I want to know if you can have a dictionary of values in the tooltip. I probably don't need it, unless I can link a Joker tooltip to a consumable tooltip
Ah
you can pass a vars table to info_queue from steamodded joker API
there might be some issues with it that have not yet been investigated tho
also hi aure
the steamodded wiki does have remarks on tooltips
hi
is there any other way to lock jokers in place without pinned or will i have to try and figure out some way to make it not mess with the order
uh so
theres probably another way but i'm not sure it'd be any easier? idk programming stuff anyway so i'm just guessing
the way pinned works is it's stuck to the leftmost position, I'm not sure how multiple pinned jokers are handled internally
Do you know if it can bring up a tooltip from another object?
So I think you'd have to dig into how that works and adapt it
at the very least i don't think the order they're pinned matters because they get moved to the same positions regardles
yeah you can just pass that object (say G.P_CENTERS.j_joker into info_queue
yeah I think you'll need your own implementation
well i have no idea where to even start with that honestly
^ this i think
figure out what pinned even actually does
global search with vscode is a good way to start exploring pretty much any functionality's inner working
I'd say go searching for 'pinned' or 'pinned_left'
also is it good Etiquette™️ to highlight "jokers" or leave it black
uhhh so if I had a consumable with slug c_milk would that work?
it's not highlighted in baseball card but it is in some modded cards from what i can tell
what the flip ?!
the lovely method strikes again
function SMODS.Jokers.j_yourjoker.tooltip(center, info_queue)
info_queue[#info_queue+1] = G.P_CENTERS.c_milk
end
gotta get a cleaner way of making this work, dunno why love2d's require path doesnt work properly
but technically it works !
ok apparently pinned sorts by id
I'd say it depends™️ on how important™️ it is to the joker's mechanic
like thats an actual thing in the code
thats so weird
table.sort(self.cards, function (a, b) return a.T.x + a.T.w/2 - 100*(a.pinned and a.sort_id or 0) < b.T.x + b.T.w/2 - 100*(b.pinned and b.sort_id or 0) end)
at least i think that's what it does
pinned in general is so weird
maybe just a failsafe in case multiple cards get pinned cause maybe the game freaks out when multiple cards are put in the same order idk
that's interesting because it's useless in base game
^
Just wrote that. I'm gonna check it now. In the meantime, do you know if I can cycle through multiple tooltips? I mean, I can try to see how Misprint works, but I mean that the actual data I want to take directly from other objects
pinned is used in 1 spot in the whole game and the sorting doesn't matter there
o hhey
thanks for finding that
i actually needed to know
but i dont remember why LMFAO
i don't know if i should mess with CardArea:align_cards() or how i would even do that sob
your best bet would be to see how misprint works, I haven't looked at that closely myself actually
the pain of being a lua noob...
mhm
hamster
interesting use of text background coloring lmao
i'm so used to saying hampter that hamster looks wrong
hampter
hamter
if i knew how to edit basegame functions i could maybe figure out how to make my own modifier
if you can hook onto the beginning or the end, it's mostly pretty simple to achieve
idk how to do that
is it a lua thing or a steamodded thing
cause if its just lua then i'll look it up on my own
Thanks! I wanted Milk to be white and to suggest the Chips bonus so I came up with this
it's just lua
local existing_game_function_ref = existing_game_function
function existing_game_function(args)
do_stuff(args)
return existing_game_function_ref(args)
end
also if i have to make my own modifier anyway i might as well try doing a cool lock and chains overlay
thank you
if you need to modify something in the middle of a function, it's either still just lua and pretty damn convoluted, or you would use lovely for it
For pinning, I'd prefer just a simple pin
Strictly speaking, you can copy the code but change the middle, then do the original at the end
it's locking every joker in place so i feel like it'd be good to distinguish it from pinned
stuck?
You can look at the bottom of the jankjonklers file to see how I did it for calculate_dollar_bonus
Balatrostuck?
controlled?
who do what where
dollaf
dollaf
dollaf
dollaf 😨
did you see milk
yea looks pretty good
Thanks!
enough messing with lovely for today i gotta get back to toiling away in the super auto balatro mines
(The fact it still works shows that's its easy to do though
)
yea you can do that, but something will come your way that happens to want to change that function as well, at which point you are screwed
isn't that how jelly mod did a lot of its stuff?
exactly
Not riffing for the record
Question by the way
I'm not familiar with creating APIs for things, what would be the process to "incorporate" various functions into the api, like calculate dollar bonus?
I'd imagine it's a case by case scenario
it looks like with pinned rather than preventing you from moving the card it just instantly moves it back to the left after you move it to the point where it visually just goes back to its original spot
so my first guess is that i just need to log the position of all jokers at the beginning of a blind and basically do that same thing but with those positions instead of the left
urgh
Basically, you would add a check that gets a center object from the pulls, checks if it has the correct function name and runs it
i'm like, super lost because there's a bunch of variables that i have no idea how to interpret




takeover
