#💻・modding-dev
1 messages · Page 248 of 1

hi jen
hii jen
hey.
so-called "free thinkers" when jen shows up
holy shit
sands under the table
sand on the trail
r we getting sans in almanac confirmed????
alright i feel indifferent about this information than
okay cool
You may wanna play Jen's Almanac... might see a familiar face.
Hmm maybe next week
uuuuu uuuuu uuuuuu
i know you all might have a lot of questions right now, but i just want to move on before things get out of hand
i have exactly 1 question and it's a yes or no question
TODO: Implement a joker
can your fusion system fuse a joker with a second copy of itself
CURSE OF BONUS
Ur gonna get so much vampire value
manifesting vampire midas run
well, with the current way it's programmed, i'd think no
oh damn
Jen Walter^2
honestly i was expecting the answer to be yes but i guess it makes sense
you don't really need to do that so you never do
i'm content with that 1 question
the community has been cooking very hard to assist me with getting almanac back on track
art by OvertLeaf4
oh no what have i done
90 BONUS CARDS
90 bonus cards here i come
ew
see see
this is where I die chat
this is the end
he's going to optimise my code
i'm gonna get crucified publically
tickets to my execution are $20 a pop
get them while they're hot
rip got buried
😭
What if you get another invisible joker
That would be so strong
120 bonus cards
actually I was just gonna point out the blatant misuse of global vars
well if i made them local variables they wouldn't get picked up by the if block
and if i define them earlier in the code they get reset to false after every card check
so it can never reach the pair of 4 and 7 scored
there's something called card.ability
i'm gonna be honest
i wanted to make it easier for the guy
mathisfun is also assisting me with making the suit/rank levels more original
check out this UI they made
to just copy paste the code in
and have it immediately work
we had a lot of trouble previously and i didn't wanna stress him out anymore
:jimbo_spin:

how do people do ui
jimbo spin??
inb4 how do I add the variables to the description
it is actual witchcraft
it's a very tricky thing to get right
it is bothering me how different the down arrow looks from the rest of them
is that literally just a "v"
bonus
Oops! All Bonus cards!
❤️
_ _

what does it do
how do i enable the G.discard card area in calculate contexts?
lmao
i also
it
(must have room)
tried UI
you're doing good
and it becomes a traffic light
Additional options
i am very intimidated by the very prospect of UI design
and wheres the documentation for this i dont see it
There’s no documentation
You gotta read the source code
god i hate smods documentation
i want to do UI design for exactly 2 things
there are so many toml files where do i even begin
- add an extra area which is just
the oceanand it's a page full of splash
this doesn't do anything but it would be really funny
- i want to make a common joker that makes splash give motivational quotes during your run
oops
ok found it
GitHub search
bonus ducks
much better
I don’t think you need special UI for that. I referenced code from Bunco (which referenced it from the game) to do it
all the bonus
oops all bonuses
yeah well i'm kind of an idiot
time to get vampire
RIP aiko’s PR
i am very pleases with a tiny change
question
I am red-green colorblind
sorry
that's not a question but the dutch did it anyway
what do i do even
can you make it blue
butch???
you can make a religion out of it
there's no blue-red colorblindness
💔
there's red-green, green-red and blue-yellow
blue-yellow isn't in the club
hell yeah
i think thats a sign
M o r e
five hundred bonus cards
welp
-# activate your windows please
wtf use button is red
never
DO IT
to be fair my firefox and steam overlays over it
wait does gateway look a little different
new art
yeah
so i never see it unless taking screenshots
the background is different
i must reiterate this
i'm very scared to touch anything ui related
except config
config is easy
Teach me
insanity
three simple steps
??????
traffic light
replace Tsunami with your mod ID in all examples
- add these lines to the top of main lua file
Tsunami = {}
Tsunami_Mod = SMODS.current_mod
Tsunami_Config = Tsunami_Mod.config
-
make a
config.luafile in your mod's root folder
all this should contain is areturn {}containing a number of configurable boolean values -
copy the code underneath the
---config UItab in mytsunami.luafile in my mod
I give permission for this so it's okay
it should be pretty self explanatory to change the labels to what you need them to be, but make sure the values you set as theref_valueargument refers to a variable name inconfig.lua
the code is infinitely stackable until you run out of space on 1 page in which case I don't know how to make a new page
you can fit a good 5 or 6 configs on one page though which is enough for most cases
but you can easily tell what code is copy paste repeatable by the line breaks in the config ui code referenced because you have a brain :)
pagination is crazy wtf
i only do this for tick boxes
and boolean values
which is enough for me
I don't know how to do anything else
help
when you wanna check a config check if Tsunami_Config.<valuename> is true where valuename is a value from config.lua
Thank you
you can just slap that in an if statement and it just workss
and it's so nice
config is the best thing to happen to smods
player agency is amazing
i have no idea
it took like a good few hours of figuring shit out
like i said i only do tick boxes
not even radio button 😭
i'll be back in a few minutes
ui is difficult
either eremel or N' would be your best bet
I say this to segue into suggestions if you want them
Js type shi 😭
n
I think someone23832 also knows UI
-# whos that
@shell tangle
oh shi binah
i think i get what they meant by it being too busy
Greetings, give me a second to read up.
Au au!
an hour*
😭
has "someone" ever made a mod before?
i am going to master the arts of UI
its the first time ive heard of them
-# in my defense i only entered the modding scene a month ago
good schmorning chat
hi the
how did day 1 of beta go bepis
thats fair
idk what to price this card
but i dont think theres any crash relating to the jokers' functionalities though
Is this someone in the room with us right now?
i was crashing so much yesterday only to learn it was smods fault
Literally 1986
yes, this "someone" is somone23832
yes that is when the comic was released
Anyways I believe they have their own mod but also Cosmos: https://discord.com/channels/1116389027176787968/1323374911905075302
I've made two, Virtues and Ruina technically, kind of left them as WIPs, I've also done stuff for #1323374911905075302, and I've done stuff for another mod that's staying off the Balatro Discord.
somone simone so money
theother mod doesnt like the balatro discord huh
o, Ruina???
Oh, also, the joker example mod in the SMODs examples page.
im a pm fan but never heard of it before 💔
yea i knew i recognized you from the example mods
oh yea i saw it too
welp
i wonder if the three letter word was bad
I presume so
i raised it by a bit
it didnt get banned, I posted it and then deleted it immediately after
No sexagenarians allowed to play Balatro
oic
It's only 2 decks that are uploaded and I'm not sure if they still even work, but I've recently gotten the desire to get back to it, so I'm currently working on it and updating it soon.
boy i sure hope its compat with the multiplayer mod!
Makes me want to make a joke about your name
-# Anyways IIRC it’s not too far off
i actually also planned to make a lor mod before
like, there would be a section during New Run where you can select what floor you would start at (similar to card sleeves), and you would start getting abno pages in that floor throughout the run
-# But I actually don’t remember well
what if someone changes the h in hex spectral to s
hubba hubba
LOR vs LOR who wins
i already chose bsr as my focus though (even though im more of a lor fan than hsr, for some reason)
Anyways, if you want to ask me anything, mentioning me here or through DMs, feel free, no guarantee that I'll know more than what you've found out, though.
you sir have won the internet
absolute cinema
Which LoRs do you think I’m talking about
LoR
I wouldn't do that, no.
lord of rings
i think i did master the dark arts of cardarea in ui
Legends of Runeterra, ofc, my favorite card game
hello ice
LoR vs LoR vs LoR
Yo yo yo
today is a good day because my artists have finally decided to grant me with art
Looks great, amazing credits page.
after 2 months of none
Omg LoR?
RELAX LIBERALS, IT'S CALLED DARK HUMOUR
alright chat, lets get this guy OUTTA here
I remember someone (not someone, someone) suggesting the idea of making an adult Balatro mod that adds taxes to Balatro
thats just rental with extra steps
Mods, take him out behind the woodshed
i will silently judge you.
Minor thing, any reason the letters are as close as they can be to the side rather than, standardized?
Eternal rental
alternatively, i will loudly judge
please add a censor… change the name to postmarital handholding…
this way its balanced
@tall wharf had the idea
is "xnopyt" a valid english word
Please
AAAAAAAAAAAAAAAAAAAA
Please add that as an easter egg
If we define a word as some letters surrounded by a gap
I mean, feels like they all have different horizontal resolutions, instead of sharing a resolution, but, to be fair, it might feel bad to give W and I the same resolution.
xyopyt
Then xnopyt

"Remove the X and that's who you're in love with"
I guess my question is, any reason to keep them from being monospaced?
Tbf the i does look a liiittle far to the left
rela
There’s also upper and lowercase letters
Well true the hand soze can get bigger
i put them in a different corner and it got hid under other cards
Thats fair
hand soze
hand soze

clearly i am the most quotable person in this server
Fair enough, makes more sense now.
Lol
“‘Clearly I am the most quotable person in the server.’ — Flutterren.” — Victin.
Oh yeah i entirely forgot to mention the Snake suit in my planning doc oops
We can't forget hit playing card King of Snake
"''Clearly I am the most quotable person in the server.' — Flutterren.' — Victin." — Someone
god what the fuck
""''Clearly I am the most quotable person in the server.' — Flutterren.' — Victin." — Someone" — Flutterren
Pneumonoultramicroscopicsillicovolcanoconiosis
Pneumonoultramicroscopicsillicovolcanoconiosisly
why not
i modded it myself
i said so
what the dreak
It means to do something in a pneumonoultramicroscopicsillicovolcanoconiosis way
i meant freak but dreak it is
How do you do something in a lung disease way
❤️
Obviously
i coughed in a lung disease way
coughing as if inflicted with the ailment of lung disease
What do the different letter colours mean anyway
the pink is from wild card
wait what mod actually is this
idea: playing "xnopyt" destroys all those cards
my breathing was labored, as if my lungs were inflicted with lung disease
cross mod content 2
Aikoyori’s Shenanigans
mine
i will be spending hours making words later
wont be yours by the time im done scavenging the code
Ah, yes, "I am currently in the process of asthmaing".
wont be yours by the time i change the title
see, you get it
+4 M
+4 M
+4 M
tenacityMMMM
whats the mod that adds a shit ton of m cards
cryptid
Aikoyori’s Shenanigans
ayy
supercalifragilisticexpialidociously
so sad
more like kino IS peak
Do you supercalifragilisticexpialidocious pneumonoultramicroscopicsillicovolcanoconiosisly?
this one
id like you to say this aloud
I could do it ez
this
fuck hes good
no I pneumonoultramicroscopicsillicovolcanoconiosis supercalifragilisticexpialidociously
Intriguing
victin i keep thinking your pfp is asuka evangelion
i thought it was
i am getting canceled
aiko's almanac
Have any of you been to Lake Chargoggagoggmanchauggagoggchaubunagungamaugg?
lmao
I laughed out loud
same
aure
Before I forget, also passing this to you, because I updated it with the new ideas I have down, but, I'm still looking for suggestions and alternate ideas.
https://discordapp.com/channels/1116389027176787968/1279271808973144076/1279271808973144076
Challenge accepted. RX side effects redux. And deja vu now makes a recurring appearance, per commenter requests!
@ToniLindgren on the upright bass 🔥
The person who made it had made two versions of “the girl from Clannad” and this is a combination of both versions (neither of us have seen Clannad)
He’s claustrophobic
not until I add the Minions, honestly
Ho ho ho
Glad you found use for it! No apologies needed, its open source for a reason. Just a heads-up that it's licensed under GPLv3, which means it's free for the taking as long as you follow the terms of the license. Looks like all your work is also GPLv3, so all that's needed is a link to the source and the date that you copied it on 👍
Also to you, in case you weren't just joining in on the multiple people saying LoR. https://discordapp.com/channels/1116389027176787968/1279271808973144076/1279271808973144076
u should add the k-on movie
i was part of the problem and went suited up with a friend to see rise of gru
no way you have hippopotomonstrosesquipedaliophobia
They really said:
the degree to which this doesn't surprise me
listen, im just a silly guy
I don't get this reference, can someone fill me in on the context?
I can't believe you've done this to my eyes
im not worthy of the mod 💔
My dad is part of the problem; we watched Inside Out and Minions back to back and he liked the Minions movie better
i dont think im good enough to do lor justice
uhh
definitely adding math deck to the game hold on
He’s retiring/dying and leaving the next generation to take his place
I guess just retiring
He’s weaker but not dying
Ah, but I'm not retiring, I'm reviving the project myself.
he will be my best friend
cant wait for the day when i can play lcorp + lor :3
I cant decide if i wanna make Sonolatro (kino for music) or Gambling is Magic (mlp:fim themed) after releasing Rendom
Theyre both mods i wanna make at some point but no way in hell am i letting myself juggle 3 mods at once
Sonolatro makes me think it’s Balatro for sleeping
Lol
Have you seen Friendship is a Country from Europe
Well I cant just call it Balatro Goes Sono now can i
dont think i have
Balatro Goes Mimimi
Lmao
;)
You can probably play Gebura's and Binah's deck now, I don't think they're broken, but I'm working on Netzach, Hokma, Chesed, and Hod, will probably update it once I have those 4 down, and I'm still figuring out the ideas for Tiphereth, Yesod, Malkuth, and Keter.
Hi ice
-# that’s a double entendre for you
😭
-# I’m proud of it
mod makers are so weird man
Balatro goes [blank] game jam, dumbest idea wins ❤️
Balatro Goes To Your Mom
It’s a Brazilian YTP mixing My Little Pony with a Brazilian TV show host
i should check it out sounds peak
If you can understand it https://youtu.be/vY0k0OTSZaA?si=mDuhuqvf9vTroZWq
My Little Faustão Pentelho ♫
♪
It'd be fun to set up a game jam for mods, based around something that isn't mostly adding jokers
wtf lmao
well then im like half cooked
i can just imagine a playing card sized jimbo card floating through the streets
Lmao
Oh hang on, that's not even my config writer, that's just a standard access to SMODS.save_mod_config, AND it's wrong, haha. It's incorrectly using pcall, you definitely don't want to copy that
i fixed it
myself
for that lmao
Balatro modding is built on rhe foundations of copying broken code from others
*any programming
Balatro goes woke
Balatro Goes Broke
Definitely no attribution needed for that, it's just standard access to the Steamodded API
Balatro Goes to Sleep aka
Balatro Goes Mimimi
Can someone explain why this line doesnt return xmult?
the ox
Half life?
I had to fix so many issues with the mod_card_values function
trolled by my function
Ha, I get it
when my Play button gains the self-destruct sticker
God dayum
When my house gains the self-destruct sticker
When my kidney gains the
💥
Ren was found dead
Lol
Dementia
Thinkin up some concepts for Gambling is Magic
I'll change it to
First and last card played
if you play a pair then it's just going to keep increasing tho
i guess I'll change it
if hand has at least 3 cards
does this account for modded ranks
rank 3.14
fyi modded ranks can result in branches (i.e. a 10♦️ could be followed by a J♦️ AND 11♦️)
find next 💔
+1 rank would imply the same progression as a straight and both those cards could be valid straight branches
at least thats how i interpret it
does it even help build full houses lmao
this works for unscored cards too right? just to make sure
should
what happens if you just play 1 card
does it increase the rank of the card and decrease it back

i see, makes sense
Im gonna hold off on gambling is magic until ive. Finished the show lol
Or at least gotten further in it
i am a new fan
😭
Which means once rendom is out it will be the music mod i will be focusing on
Any song requests while im here lol
adding 1 Pokémon to my mod for no reason
everyone becomes a fucking star rail pass

biboo
biboo detected
also @runic pecan
i wonder how its going
You called?
hololive :3
scroll up
Beeeeejoe
biboo
Gimme a sec
I have holoh3ro stuff done alr
😭
Rock what
Lmao
Can I copy your homework?
small things make me remember specific people apparently lmfao
😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭😭
that is one the more immediate memories of you yes lmfao
we have 2 hololive mods now
i hope i leave a legacy as the asbestos person
its okay its hilarious to me
Scrabble in balatro
Technically one hololive and one vtuber in general.
will i be remembered as the descriptions guy, i wonder
I wanna do a wider vtuber mod that includes indies, vshojo and phase connect
But rn hololive focus lol
There’s like 90 talents or smth
i might as well make a phase connect mod
And I'm more focusing on making obscure hololive memes into jokers.
oh you play maimai too
77, I've counted.
i gotta start building my legacy
I could also do hololive+stars as a separate mod with vanilla rarities
jerry vtuber and john vtuber
Huh
Such as this one
im building my legacy as THE gacha man
you're in astrodx
Oh lol
i will enter the fray soon...
I was like how can you tell
dil🔒tro
Dil 🔒 tro
its on its way slowly
DIL🔒TRO
Balatro Goes Kino:
i think i saw it in your code lmfao
yea i saw that
❤️
lmfao
luckily no one will actually encounter that lmfao
YOU ARE FUCKED
Asbestos cards will make light work of that
Will I get mesothelioma
...wait
you read my code???
😭
please dont blackmail me with my horrendous code
'all but 4 jokers' jokes on you i onyl ahve 4 jokers bozo
heh...just wait...
Do everyone know how add new rarity on to game
SMODS.Rarity
ren is not responsible for any cancer caused by playing rendoms
That's your first concern?
mesothelioma?
this is specifically made to kill cryptid runs
I played around the secret agent and rain shaman ideas
do u guys like them...
Is that
....i mean, probably not
ok so
Six fingers
+1 card selection?
At this rate you can play the entire fucking deck
yea, theres like 5 of us doing it
me included
i know
Who let ford play balatro
i told you i was also doing it
yea itd be nice
i have it so you can play 6 letters at the same time
Cryptid has it so they can do ascended hands
Better not become another 15th standards situation.
theres a lot of shitpost here, i just realized 😭
have you bothered patching psychic to work with the fact you can pick more than 5
cause honestly i cant be bothered
I should get back to work, but on the other hand, why shouldn't I first figure out whether I should make quests a card type so I can just patch them into calculations?
yea thats fair
select 6 cards
before autumn left and privated everything i was able to learn from graveyard and now have my own implementation which is nice
i guess that works, they couldve just increased it to work with exactly 5 cards and anything less or mor returns its prev condition
but that prob is more in line with cryptids methodology
ghhhh
ik psy normally works with just less than 5 is nono
i wanted to learn how to add subtitles from autumn's mod
😭
but at the same time, i think itd be disrespectful to read their mod's code now
theirs*
im sorry
I mean if you have access to it I don’t think it’s an issue to read it
I also had implemented/copied their subtitles way back then
i dont, and i definitely dont want to ask people around for their mod, since its probably their wish to block the mod from distribution for good
sooo i will have to figure it out by myself lol
To be fair, I think they had multiple pronouns listed, but I think that one is the bottom one in terms of preference
is subtitles the text below the name of the card
mhm
i have that if u want to copy it
Yes
So, I have a code to destroy some cards. When the cards shatter, I have no problem. But when the card dissolve, they can still get drawn in the following rounds as ghost cards I can't even select. I've tried everything I could think of but didn't manage to fix the issue. Any idea how I could?
oh i see, i never checked their description
Just before I forgot to ask, has anyone made a boss blind which scrambles the order of your selected cards before scoring?
OF COURSE YOU DO 😭
-# oh yeah, the monster types
thanks a lot N', i will look into it when the time comes :3
Don’t do this, probably
SMODS handles destroying cards for you
Check the wiki
mhm, its context.destroy_card
you would have to probably put what card you want to destroy in a table (preferably inside card.ability.extra too) for the context to know which card to destroy
orrr at least thats what i did
I don’t think so
...
i got this inside the collective context function of my jokers
aaand whenever i want to destroy a card, i just use this :3
it works with no problems
-# at least, for now
to avoid this, you can mark cards with a 'destroyed_by_x' boolean, which you then check int he destroy context. That's the best way to approach it. What's going on is that deck is tied to the G.playing_cards table, from which destroying a card doesn't remove its index, so it creates an empty spot for you to draw
Any example?
Can’t you detect what to destroy at the destroy context?
not from the base game, but let me grab one of my own jokers that does it! Eremel suggested I'd do it that way to avoid exactly your problem, and he does a lot of SMODS stuff
https://github.com/icyethics/Kino/blob/main/items/Jokers/fight_club.lua Only need to check the calculate function, btw
Ok. I'll try to fix my stuff. Thanks.
Is there any possible way to move certain jokers to a different entry on the collection?
where are the files to see the code for the deja vu spectral card
If I wanted an event to trigger after scoring, how would I go about doing that?
hey, I'm trying to use this function to create a negative popcorn whenever the score catches on fire, but instead it just creates a random negative joker. Can anyone help troubleshoot?
context.after, probably? or are you looking for a timing more specific
I tried that earlier, but i think i forgot to set blocking = false
Cuz it's working now
Thanks!
But now they're flipping over lmao
I think I'll take a break from working on this effect
AMD
you should make the name of every joker and consumable a valid word
Playing wordle in balatro boss blind
make it so you can play balatro as a word and it grants the most mult and chips :}
i assume it already exists as a word, but it needs the most
chat i think i might be cooking
can't wait for the ACE injection
Sorry I don't post here much so I'm not super up to date on the etiquette, but I'm bumping this before I head to bed since this is the main thing I'm struggling with about this joker
If I should leave more of a gap between bringing up problems lmk I don't want to spam the channel
i think SMODS.add_card might be what you're looking for
yeah, don't bother trying to deal with the arguments of vanilla create_card
what you thought was the joker key is actually just a randomness seed
ahhhhhhhhhhh
that would explain it yeah
local card = SMODS.create_card('j_popcorn')
card:add_to_deck()
local area = G.jokers
area:emplace(card)
return card
end```
something like this then?
Just SMODS.add_card({ key = 'j_popcorn', area = G.jokers, edition = 'e_negative' }) might do.
oh, this is how executors in roblox inject scripts
:3
ok so good news. it creates the negative popcorn.
bad news. it doesn't stop.
I quite the game with over 300 popcorns generated.
I can solve it from here, just felt like updating lmao. thanks for the help.
you forgot to return true in an event 
easy as
can we solve world hunger with ice cream though
nah it melts too fast
Hi folks, anyone mess with custom hands?
Mine scores but, uh, shows ERROR for its name!
I'm mostly flying blind here tbh I don't know much lua and I'm basing it off what I can find in other mods
Ramen has higher nutrition value though
with an infinite number of ice cream, i think its just a matter of whether they give enough nutritional value
IDK if there's a centralised resource beyond the smods wiki for it and even then a lot of the functions aren't notated very well
what's your loc strings looking like
SMODS.create_card stuff is located in the Utility section
SMODS.PokerHand({
key = "cosmocanyon",
chips = 70,
mult = 7,
l_chips = 15,
l_mult = 2,
visible = false,
example = {
{ 'S_3', true},
{ 'H_8', true},
{ 'C_2', true},
},
evaluate = function(parts, hand)
if #hand > 2 then -- TODO - find redxiii joker to trigger bonus and next(SMODS.find_card("fox_redxiii")) then
local counted = 0
for _, card in ipairs(hand) do
counted = counted + card.base.id
end
sendInfoMessage("Hand was played, checking value " .. counted, "cosmo")
if counted % 13 == 0 then
return { hand }
end
end
return {}
end
})
Wow I did not even add a loc_string
it does?
yours might be more up to date 😛
true, true
handy
thats a fat pile of turd with flies flying around it
he's just like me fr
ok jokes aside these are placeholder v2
is there any docs to display text on the game screen (similar to 'Balanced' for plasma deck)
how many jokers have you made
attention text i guess
not a lot
ah
hmmm on smods cant find anything like it atm
I have the button, but it crashes when clicked, how to make it work?
it's a vanilla function
in_pool is a separate function from the rarity check, right?
iirc rarity is decided first and then the game gets the entire pool for that rarity and that checks in_pool
WHAT
im fucking fuming.
WHAT
why would they do that
that seems so absurd
sad
ghhghghhhh
why was the neighbours kid in your house...
i
cant block them from entering
else i would be scolded for doing so
thats crazy
literally asian parents moment
i am SO gonna dropkick a kid
as you should
in the context of G.playing_cards stone cards still have rank and suit right? are they still counted in idol?
the idol ignores stone cards
"it was self-defense"
- 🐷👑
what happens if your deck is all stone
then it probably will just keep whatever card its currently having
idk how exactly it works, all i know is it chooses a random non-stone card in your deck each round
im gonna buy another one
fuck my life i suppose
for _, v in ipairs(G.playing_cards) do
if not SMODS.has_no_suit(v) then -- Abstracted enhancement check for jokers being able to give cards additional enhancements
valid_castle2_cards[#valid_castle2_cards+ 1] = v
end
end
this doesn't count stone cards right
took it from the examples
all stone cards still have a suit and rank to them, so the idol will just pick them like usuaully
in smods
yep
oh my fuck. scribblenauts???
SCRIBBLENAUTS MENTIONED????
ok i investigated and all cards that look at your deck ignore stone cards and if you don't have any non stone cards it picks the ace of spades
yeahhhhh
Omg
scary thing to say in the context of balatro but id imagine lua would have a function for it?
has anyone modded in imaginary numbers yet rhay could be funy
yeah kill everyone.
??
what the hell is an imaginary number
/silly
i just have a plan for a legendary joker that uses factorial tihihihi
hehe
i added a little example of the math, just in case somebody doesnt know
i = sqrt(-2)
imaginary numbers are formatted as xi + b
i believe
i = sqrt(-1)
i*sqrt(2) = sqrt(-2)
^
but what will imaginary numbers do
:3c
ill add imaginary blinds
you have to score a certain number of chips in both the real and imaginary axes, scored separately
LOL
should it be in the same mod as my other shitpost stuff or its own thing
because its a big system
but opposite of plasma deck, the scoring requirements along each axis are half the base blind requirement
this also means you need imaginary jokers...
I'm adding musical notation as ranks
waow
alternatively, each card will score its base chip value in both the imaginary and real components
My mod is a clutterfuck of stuff so I'm thinking of renaming it clutterfuck
nah i like the idea of straight up doubling deck size with imaginary ranks
Lol
Just do what aiko did and name yourself carrots shenanigans
Ezpz
deck thinning is a thing of the past
Mine got rrnamed from boplatro to Ren's Dumb Randoms (or Rendom for short)
It's already named Carrot Field
But I think Clutterfuck is a funnier name
I just named mine dilatro cause idk what else to fuckin call it lmfao
i stole an IP's name
based
the plan is to blow up, and then act like I don't know nobody
/s
speaking of naming mods, I really need to rename mine
because it started out as reverse tarots but now it's just whatever I want it to be
I'm gonna name mine Carrot's Clutterfuck
so true
Wildlatro, with Wild Card enhancement you can be any name
it's not afaik
custom context 😭
what if I made a class of cards and a card area that function like Baba is You 🤔
mult is dollars
is
hand size
Woah
Blind is win
Mult is chips
planet is win would be funny
joker is consumeable
yeahh
honestly id be down to help figure out rhe logistics of yhat
card is lose
I think this concept may be too big in scope for a solo project lol
Also, it's probably better to make this as a deck than a permanent mehcanic
properly shows the duration + stacks of a debuff now
whats this card texture
its a skin mod
how would i make it so the "gains +11 mult" is "earns +1 mult" instead
and how would i change the "currently +11 mult" to "currently (x) mult"?
(im so stupid)
pretty
mhm, lemme check what mod it was again
EnhancedEnhancements
-# i forgot where i downloaded it, crap
You need different numbers between each pair of ##.
Thats a cool steel card
I like the glass too
what numbers should i put?
stone is just hd now
1,2,3,...
each number between ## corresponds to a different value in vars
Depends on your loc_vars
Just in order
the answer to my problem - Pokerhands need a description value in their loc_txt , not a text like other resources
SMODS.PokerHand({
key = "cosmocanyon",
chips = 50,
mult = 7,
l_chips = 15,
l_mult = 2,
visible = false,
example = {
{ 'S_3', true},
{ 'H_8', true},
{ 'C_2', true},
},
loc_txt = {
name = "Cosmo Canyon",
text = {
"3 or more cards divisble by {C:attention}XIII{}",
},
description = {
"3 or more cards divisble by XIII",
"The ancestral home of Nanaki and those like him"
}
},
What do you mean by "divisible by XIII"?
As far as I know, 382 is not divisible by 13.
Hey can someone help me fix the Issue where the keyboard is being overlapped by other UI elements
the sum of the cards. but yeah the wording could be better
Oh Dear
a
I should put Kingdom Hearts references in my mod
my randomjoker+1 is unfortunately nil (???)
mikey mous
boutta turn Roxas into a legendary joker or something
Please use local joker = pseudorandom_element(G.jokers.cards,pseudoseed('bulletin')) instead.
Or local randomindex = pseudorandom('bulletin', 1, #G.jokers.cards)
ive had this same issue
on steam deck
i dont recall exactly what mods i had but i think its a steamodded issue
ive had it happen to me several times
ig i can try table.remove
What's balatros way of marking/deciding what buttons a card gets? Is there a way to detect what type of button a card has?
Or maybelocal pool = {} for i,J in ipairs(G.jokers.cards)do if J~=card then pool[#pool+1]=J end end local joker = pseudorandom_element(pool,pseudoseed('bulletin'))
I think that's stored in generate_card_ui and uses the cardarea type, but, don't quote me on that, I'm quite rusty, and it might just be completely false.
ooh
G.SETTINGS.GAMESPEED in the files is just 0.5, 1, 2, or 4, right? it's not a different scale or anything in the code?
how would you change it so it subtracts chips
does anyone know how to save a config? i think i have it formatted correctly, i just need it to save so it shows up
yeah
Just add a minus sign? Like chips = -card.ability.extra.chips,
i KNEW the negative went somewhere 😭
batro..
3 + 8 + 2 = 13 so that would be divisible by thirteen
26 or 39 would also work too!
Depends on what you use I think, I think it was using create_toggle automatically saves it, and create_option_cycle you had to manually save it with a callback? What's the code for your config?
How did you fix it
main.lua setup
Hyperglobal = {}
Hyperglobal.config = SMODS.current_mod.config
SMODS.current_mod.config_tab = function ()
return {n = G.UIT.ROOT, config = {r = 0.1, align = "cm", padding = 0.1, colour = G.C.BLACK, minw = 8, minh = 4},
{n = G.UIT.R, config = {align = "cl", padding = 0}, nodes = {
{n = G.UIT.C, config = {align = "cl", padding = 0.05}, nodes = {
create_toggle{ col = true, label = "", scale = 0.85, w = 0, shadow = true, ref_table = Hyperglobal.config, ref_value = "Isaac" },
}},
{n = G.UIT.C, config = {align = "c", padding = 0 }, nodes = {
{n = G.UIT.T, config = {text = localize('hpfx_isaac_option'), scale = 0.35, colour = G.C.UI.TEXT_LIGHT }},
}},
}},
{n = G.UIT.R, config = {align = "cl", padding = 0}, nodes = {
{n = G.UIT.C, config = {align = "cl", padding = 0.05}, nodes = {
create_toggle{col = true, label = "", scale = 0.85, w = 0, shadow = true, ref_table = Hyperglobal.config, ref_value = "Ijiraq" },
}},
{n = G.UIT.C, config = {align = "c", padding = 0}, nodes = {
{n = G.UIT.T, config = {text = localize('hpfx_ijiraq_option'), scale = 0.35, colour = G.C.RED}},
}},
}}
}
end
config.lua setup
return {
Isaac = true,
Ijiraq = true
}
localization
misc = {
dictionary = {
hpfx_isaac_option = "Play with my TBOI stuff!",
hpfx_ijiraq_option = "Release the Ijiraq.",
}
},
i THINK i did this right, but the box shows up blank so i messed up somewhere
Weird, looks right to me. What happens if you remove the hyperglobal. part, just in case?
message needs to be included in returned braket (don't forget the comma after ...extra.mult).
And as it said, you need end to wrap up the if.
Hey all, does anyone know the return function for modifying a players hand count? I can't seem to find it in the SMODS documentation
i will check
wait do you mean ALL the Hyperglobal. or just that top one
Thank ya
All the Hyperglobal., and probably make the first one local config = SMODS.current_mod.config.
got ittt
why did it
reply
mb Isaac
Lmao you're all good
i didnt, i just worked around it lol
soz wish i could help more
yoey from cardsauce
didnt work....

