#⚙・modding-general
1 messages · Page 83 of 1
i am confused are we in different conversations. (my shameless self advertisement https://discord.com/channels/1116389027176787968/1232205257384132689)
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
lol I may download that tbh that mod looks fun asf
I like the Ace style you made too!
i'ma restart and try to explain what im trying to do better (the art was made by @civic grail btw)
I can already foresee how a face card could look like someone eating donut
“Did you pray today?”
color donuts <3
no its not permenant, and you could prolly just loop through the cards and flip them like i did
i want to make the face cards for j, q, and k in a similar art style to yours j, q, and k in high card mod. You said that they are anime references, so i asked what anime references you could suggest I could use for the ink, and color j, q, and k's. (i don't know when or where but i think there was a misunderstanding so hopefully this clarifies things)
i can't get them to work like the boss blinds where they are flipped before hand drawn
i c i c let me think
this isnt for a mod but idk where else to put it... i tried making japanese sprites for some of the spectrals
i only did the ones that i'm PRETTY sure are good translations but my knowledge of the language is also very limited
ooooo
Gooood morning
gm itay!!!!!
morning good
good morning
Did I miss anything?
i had an neat api idea and told no one
dont think so
you missed lyman spriting sts potions
Oh these are neat
oh yeah
I made this
Which is from a random neuron firing going "what if I had jokers that interacted with other mods"
gratscon
the soul was hard because the glyph is so detailed that i felt like i had to make the box bigger or else it'd be unreadable
Nearo
*neato
not sure if its a good fit but Kakegurui and Bungo Stray Dogs might be good references
i'll take a look, thanks
they have some stylish characters
or JOJO's Bizarre Adventure if you are looking for strong arts LOL
lol
the world shifts slightly...
aw f... i fell off
that's what happens when you stand in a corner.
lol theres nothing on it i may be looking at the wrong thing
oh really
let me find links
you are amazing lemme give this a gander
lemme give this a gender,,,,
same
I personally started cooking directly from other mods (shout out to Mika's), but I work in CS so that was easier for me
what would i use to edit those cards which thing in the files
the french
You mean IDE for coding? I just use sublime text (basically notepad), you don't really need particular software
I think
maybe I turned out to be the caveman here
definitely not gonna recommend VS code
whats a good software
sublime?
i recommend it
oh i use vs code lol
lemme grab the mika mod rq
i shamelessly advertise for you too 💪
how every one started
mika started by grabing mikas mod
i grabbed myst's mod
any way have you guys seen this release https://discord.com/channels/1116389027176787968/1226203695365099681
lmfao
definitely
oh yeah helix is neat
@fickle elbow it's out?
i have it installed for when i want to save battery
I've been using it for ages and haven't been able to go back
i have a primal need to have people play the high card mod
it's nicer than vim
holiday theme yea
oh
morning notmario
morning Lyman!
ok so now
uhhhhhhhhhhh.............
does anyone have a guide to coding stuff like this lol
i dont think there's a concrete guide
coding or coding lua
the best option is to look at how mods do stuff, and try to understand it
I definitely do not recommend coding lua as your first language
but maybe find a small mod to get started, and look at everybody else's on how various conditions work
started with c# then python
do a python crush course
python was easier to understand
time to start studyin'
look for a lua file
the way i learned how jokers work is by ctrl+f'ing names of base game jokers
in card.lua
and game.lua
^exactly
yup
start from natural language
everything in the game is named relatively intuitively
hi itay
hiiiiiiiiiii
hi everyone
ah
i can edit the lua from the base baltro?
i mean not that i will but i can?
you can but editing it is bad practice
you can do it, but it's really not recommended
NO YOU CAN'T
technically it is illegal here LOL
OH lol
wait really
im just lookin im just lookin
i needa read the rules again brb
I think you should try and look at the example mods in the steamodded page
start by editing others code
they show the basic flow of how mods should look
auto template
and then do a combination of look at other mods, and try to understand basic things about the game like how jokers work
which lua file would i find the jokers be in the base game?
card.lua
the jokers are added to the game in game.lua but their usage is placed at card.lua
its hell selecting jokers lmao
what the flip
alchemicals!!
Yes, thank you for the doses of salt lmao
happy to help XD
what type languige of coding is this?
Lua
right
right right right
so if i wanted to make a new joker that does a new thing id make it look like what it does in the lua file?
Steamodded (what we use to load mods), as a better way to add jokers
actually, try to look at @fickle elbow 's newest mod
whats your preferred form of negative printing
it seems pretty simple to learn from (it's a few jokers right?)
yea, its like 10
the alchemical synergy XD
yeah that one might be my favorite modded joker just in general
im literally going between 3 mods rn (all of which im working on)
you should make an alch that does x2 mult for the current blind
mayhaps
tbh I really owe it all to that one joker that does 2x boss blind but gives you a neg soul when you beat it, then it self-distructs
flesh prison
yeah that ones probably a little overtuned
uh oh
2x for a soul ⁉️
i basically just wanna make a card that gives 3x for a hand containing full house would that be super hard to learn to make>
?
free win (trust)
you can piggyback off the the trio code for the most part probably
wait so eternal consumables you have to use to get rid of right
so just change some things to be for full house?
fair fair
i believe all you gotta do for em is do this in the config
as far as i can tell, thats all there is in terms of coding for them
also, what the hell
actually what would i use to make the file cuz when i start typing no command prompt show up
me on ante 12 taking the L ending up 2e11 in debt
mr jawsum....
pov: i have wraith in hand
holy shit it is mr jawsum
idk who that is but sure
what if his name was L. Shark Jr
meant to be close to mr bones
So when you have a regular profile and a modded profile do the mods in your folder get used on your regular profile if they're in the mods folder?
im surprised no one has made a boss blind named The Fuck???
what if steak knife oddity that can Stab a blind or card...
is there like a template to use to make new jokers?
if you make a bunch of omori themed oddities i would kick my feet in glee
same
and i can do this all in sublime text?
yeah
i am limited by art mainly
force lyman!
I have a modeling request if anyone is interested in it. I’m a blind (low vision, technically) player who owns a steam deck. Would anyone be interested in creating a large print deck that would allow me to play the game portably?
@worn cradle
rubber band.... hands played for the rest of this round get +50% base chips and mult...
this person has a large print deck i think ^
good morning balatro modding nation
good morninginggin!!!
good morning balatrostuck gaming
good morning silly goose
Oh gosh that’d be amazing!
newt is this cooking
emotion api?
if the person doesn't reply you can maybe try to send a dm, i would but i need to sleep soon and it hasn't been long enough to warrant a message
hey guys how do you check what poker hand the player played? i tried to find it through droll joker, but it didnt really work
i dunno you could change the background color based on emotion
and keep it stored as a game argument
emotions for blinds and pcards?
It is a bit laggy when you open a pack but this joker definitely does work, 3rd Starlight joker.
im gonna make an example of a card i wanna make with the information that this link is giving me would it be cool if i send a pic to you if when its done so you can see if im even in the right direction?
damn not doors
balatromori...
devoted jonkler moment
sure but i aint gonna be awake for than like an hour
i should make devoted jonkler only set to $0 if you're positive tbh
all good all good itll prob be tmrw anyways im just trying to get use to what the format will look like thank thank thank
chat i may be a bit tired but does anyone remember the function that runs when selecting a blind
i need to hook into it for smth
if context.setting_blind and not self.getting_sliced
This in a calculate function should work iirc
ill try it
btw perkeo once again breaks the game (infinite wraith) but it doesn't matter
why is there so much balatro modding/omori overlap
trans fems
^^
actually yeah that makes a lot of sense
you're the exception not the rule
me when i go to the bottom of the ocean to use the gender change potion
youre from the younger generation
celeste player
ipad kid
me
i like using ipad kid as a derogatory term
i do all of those things except celeste. at this point i'm barely clinging on to my semi-cis status
ive never touched an ipad grrr
homestuck fan /derogatory
homestuck fans know they are scum of the earth fr
true
homestuck concerns me
oh ill fit right in then
what should i work on now...?
crime?
genshin tcg mod
lmao 
if you make sprites for it, sure
itay omori emotions...
damn....
i'll consider it tomorrow
this is a joke
what would they even do
half joke
Am I in the right direction to creating the base for it?
autumn should my next pfp be ghost & pals or omori
soup mod
soup food jokers
Tomato Soup
Mushroom Soup
Cream of the Soup
variety of ramen-like jokers
Can Soup
and the soup isle at the grocrey store
decrease on each card discarded
where I can buy my pants
- config.fullhouserockjoker doesnt matter here
- capitalization is very important SMODS.Joker:new
- local needs a variable name after it so like local fullhouserock = SMODS.... etc
at the pants store
does someone wanna make a soup sprite?
BTW implemented it
nope
showw
what does number 3 mean
Like this?
yeah
should i keep getting the other steps done from here
on pcards:
happy: retriggers if in the first 1/2/3 played cards
angry: % of chip value becomes mult instead based on angry level
sad: % boost to chips scored based on sad level and amt of cards scored before this one
why did i expect there to be more
i havent played the game in forever tbf
btw newt this is the stone alchemical art i made
im back from my shower
Most cursed suit you’ll ever see: the Suits suit
hello chat
not sure on blinds
hi lyman
also not sure if Afraid needs to be included
jimbokin jesterkind pls answer
damn!! you cooked
even if omocat is a lil
i rlly love omori
ooh nice! congrats
nicee
yeah its pretty good
omor
lord knows i need the job 
also congrats
this yea
also feder can you show my alchemicals in tha game 👉👈
im very curious how they translated
everyone here who likes omori should also check out hello charlotte
i need to find the fortuno omori sprite i made
noooo
chat.,,,,.,,. its ready,,,.,., Balatro Blessings is ready for playtesting,,,,

OOOOOOOO
send
send
ill make a post
balatrostuck should be ready saturday
who are they in auspistice with
yeah that means you love/hate/mediate/soulmate someone
i was there when the texts were written
not at all inspired by a certain billiards blessed individual
who , lord english
btw lyman when you were asleep i posted a The Baby is You x Harlem Shake mashup
the only reminder of the passage of time i need is my scoliosis

i need to find a very old video
i think the best homestuck video ever got taken off
sad..
NO
I FOUND IT
Gamebro Theme by Erik Scheele, Descend by Toby Fox, images belong to Andrew Hussie
blinds:
happy: 1 in 6/4/2 chance to decrease score by 50% after all cards calculate
angry: 1.5x/2x/3x blind requirement, 2x/4x/8x base chips/mult from played hands
sad: mult cannot exceed 200%/100%/50% of chips during scoring
pcards with advantage against the blind get doubled score, pcards with disadvantage against the blind get halved score
you are cooking
tempted to be like Miserable caps mult at 1 but that sounds like ass
this can either be a multiplier on the card's own value or a simpler X2 Mult/X0.5 Mult
Does sad sorta counter plasma deck?
I mean “during scoring” could still imply that before Chips and Mult get balanced, Mult can’t exceed Chips by xyz%
what about thirsty
this is concerning
Where’s the terrified one?
Give this man some Chapstick to save those lips
and a chicken ball
||the abyss enemies?||
666 suits when
im blanking on this,,, need to replay all of omori to remember fr
Any way to have achievements enabled while playing modded? I won gold stake for the first time and I didn't get the achievement 😭
I can't access that
just click on it
Did some touch up on the effect and gave it a name, that's the 4th Starlight joker.
uh sure?
Reactor nr. 4
just giving them 2x mult with a 1 in 4 chance to break?
mhm
sounds like fun to me, adding seals to jokers would be awesome too
oh shit?
bless
how did you get a requirement badge!!
probably the same way my planets have observatory effect tooltips
seems rather excessive
lewd?
I just add a tooltip
the tooltips are defined here https://github.com/AutumnMood924/TheAutumnCircus/blob/a1d8c1c7bd6b304268ceb7ea16d1c761ee6626b7/modules/MoreConsumables.lua#L971
I literraly made a mod called "ante scaling slower"...
The function is get_blind_amount
neat neat, thank ya
Potion of Snek
There is an explode function for packs. Maybe you can use something similar to play an animation using particles
alchemicals gaming
feder show stone 
wouldn't that be self-generative after one generation?
like, just use the alchemical card and one more, and then you get another?
Stone not gonna have energy streaks around it?
Maybe rubble like spots?
Congrats!
i really like the effect for strife specibus
I think the other 80% is knowing how to find the code you need to look at
thats the idea
it does
oh just like move the "card" to the blind and explode it?
The Eye, more like Needle with 2x requirement
Folks I accidentally deleted steammodded and the github makes no sense to me now. HELP MEE.
its not just that it doesn't score the hand, no, it's not allowed
oh i also meant thematically but thats cool too
that's also the idea yeah
I’m also using Sublime for Balatro modding (because it’s what I had in my personal laptop) but I hate how the search function updates when I backspace.
Although I wrote LaTeX on a separate program myself
also to expand on this, the idea here is making it so that you can very easily exploit it if you know how
like, Perkeo + Cruxite Dowel basically gives you infinite alchemicals
add Essence of Comedy and you're set for life
@sleek granite let’s gooo
the same way alchemy in Homestuck can be easily exploited if you know how
yeah that makes sense
lets gooooo
Maybe? I don’t know what it does I just know it exists.
pog
did the devs even test this...........
(slash jay)
also also what do you guys think of a Kernelsprite joker that destroys 2 jokers to its left, and based on the average rarity of destroyed jokers creates one of 4 Sprite jokers (Nannasprite, Davesprite, Jaspersprite and Becsprite)
I think that’s a metaphysical plot point in Homestuck
I like the idea, but not so much the average rarity
Maybe sell cost?
maybe
That gluttony challenge mod I was working on is finally in a (technically) playable state
Also I’d consider doing “adjacent” or “two closest” Jokers
There's... a couple problems that need ironing out. Like your gluttony isn't saved if you leave and rejoin the game
Two closest is intuitive to understand IMO
true
By the way, @lavish jackal , I learned how to do UI surgery #⚙・modding-general message
Now I have my multiline text with DynaText
I think now I know how to hardcode any Joker UI that I want
hey hey for anyone whos still on that makes jokers what would i put in the extra spots i dont exactly understand what the referance points for those are
Extra is for anything extra you may need
Jokers can do whatever so you store part of the data they need in there
ok for example gimme one min
Trying to make a joker that gives 3x multi for full house but idk if the ability IS what determines that or if it’s something else
I forgot to put extra in
But when I do idk what extra necessarily does
beginning to think this modlist might be slightly unbalanced (the game crashed and now i have no blind)
the modlist in question:
@lavish jackal Here ya go
lets goo
You could hardcode the x3 mult or you could add self.ability.extra.Xmult to have it stored as a variable
chaos
joker that adds 0.25 mult for each step it takes for your chips to reach 1 using the collatz conjecture 
imagine running a maximum of ~1000 equations each hand
I thought it was going to be "Joker that adds 0.25 mult for each step you take, now go touch grass"
Balatro Go
true
victin do you like the new jonkler
fitbit api
joker that adds X0.01 mult per card_eval_status_text
my new api?
i genuinely wanna see someone try this and find out how much it lags
Oh, yes, I wanted to send a "funny Homestuck reference exe dee" but then I couldn't think of anything actually funny so my attention rebooted and I got distracted by Balatro Go
this is really possible
and really funny actually
make it card_eval_status_text when it upgrades or no balls
Joker that adds x0.001 Xmult for FLOP in C
i wonder what if i put that combo before on plasma rules
and accounted for edition
best idea i've seen
mfw im on ante 12 and my computer explodes
how many mods have actually hooked into plasma rules before
i did it with tasque manager
it feels like i didnt see it in any of the mods i was referencing
Joker that adds x0.5 mult per woman you can name in 15 seconds
If you want I can paste a mod I edited from a template to add a single Joker that repeats Lucky Clubs
@cunning silo rewrite history
UM. ANY?
ooh, an alchemical that clears a debuff from the entire hand?
the alchminquisition came for the anti-debuff alchemy
you can probably reference jokers like the duo in the original code
itayapi
I added Milk #⚙・modding-general message
you know i just remembered
that we're out here
ill maybe do it with Oil
i kinda wanna do score preview compat with balatrotale but idk if its worth
Check if it's installed then hook into it?
i know there's a way to do it i just have literally never seen any other mod do it before
So that's why NL is good at this game
not in a like "ooh this is scary uncharted territory way" but a "if nobody cares about this then why should i" way
Beating the allegations 1 mult at a time
Does yourself count in the name 100 women
Absolutely
I would spend hours trying to woo a 3 of clubs
is odd todd a freak? text YES to 555-5555 if you think odd todd gets freaky
I wish we had a starboard
odd todd only gets freaky on a friday night (its because 5 is an odd number)
balatro story mode...
@lavish jackal BTw do you think the debuff cleanse works for oil?
yeah!
it actually works thematically with homestuck, LOL
btw Twin Armageddons is perfectly balanced
i keep forgetting debuff is an actual term used already in balatro
emihead look
oh thats scary
the numbers arent that big realistically but just seeing that many triggers is terrifying
oh yeah this is a lot weaker than i expected it to be
deserving of uncommon?
iunno i dont have a brain
i think so
i think rarity shouldnt be determined by strength but rather uniqueness of effect
but yeah it basically turns every single +50 Chips from foil into +50 Mult
sorry forgot the nt
rarity should be determined by how long the effect text is
and that can be huge
like, bonus cards good now
you can play bonus card two pair
and rake in a minimum of 130 mult
i had to bump options and credits to uncommon 😔
anyways, Strife Specibus time!
Eh, uniqueness is different from how the effect impacts gameplay
time to see how Mouth works
Your effect can be bland but if it makes the game too easy it shouldn't be common
"too easy" is subjective
clearly X100 Mult should be a common
pings myst did you see caledflwch
noppers
this is like a low uncommon
ig
i lost every run i had with it
clearly skill issue
its only good if you can get your probabilities up wth Oops all 6s
right then
Specibus time
Oil!
verdant leaf about to become very easy leaf
if only i could figure out how to clean effects XD
What does that mean by debuffs? Cards disabled by boss blind is what I thought at first, but also that feels like it removes stickers instead?
it only works on playing cards
it's everything that changes the "debuff" state of a card to true
so boss blinds
Oh yeah
wh
I'm trying to make Jokers show Chips and Mult like Cards buffed by Hiker
I successfully added a row, but apparently not its contents?
can you show me?
Lemme screenshot because too many characters
how does it look in game?
feder any idea why this aint working
local blind_debuff_handref = Blind.debuff_hand
function Blind:debuff_hand(cards, hand, handname, check)
if G.GAME.BALATROSTUCK.strife_assignment ~= 'Unassigned' and handname ~= G.GAME.BALATROSTUCK.strife_assignment then
return true
end
blind_debuff_handref(cards, hand, handname, check)
end
seems like the ref itself fails
Like in the video
like if i comment out stuff out of this ref and just leave the call to blind_debuff_handref it messes up regardless
wtf is going on here XD
localize{type = 'other', key = 'card_extra_chips', nodes = desc_nodes, vars = {specific_vars.bonus_chips}}
this is how it's done for playing cards
you don't pass self to the reference call
oh right
thank you!
blind_debuff_handref(self, cards, hand, handname, check) like so?
The nodes have been created, I'm adding to them afterwards by creating the UI dictionaries manually
are you sure you don't wanna use the default method?
chat i did ti
what did you do?
Like this
I wish I was playing with the fusion mod.
not to late to download it XD
sticker hunting....
oh XD
also I need to edit the lua for it to make heart paladin be 1 in 2
im will come soon
i dont think editing the lua for it would be that hard.
Also, idk if you know, but in fusion joker mod, how do editions transfer?
thats soooo cool
oh nice
this is so stupid, i love this
did you make to make the desc not appear on boss blinds
make to make to make to
Oh, so that joker basically is you playing against the mouth every hand?
and the ones that would apply would appear
yep
im on phone</3
The sprite and effects look so good
but yeah
now i wanna make an eternal Strife Specibus challenge
you get locked into a single hand
if you were to break the rule of, say, The Psychic
for the whole game
does the correct message appear
i can figure something out i think?
this is funny
How can I test if a card is in the collection or not?
As in, a card object in-game?
i would also like to know this
hope you like Two Pair, dude
Can I make two suggestions (they might be things you'd alredy do anyways)?
Change the color of the assigned hand to attention and have the Joker trigger with text reading "Assigned!" and/or the name of the hand when it assigns
one day i'll make a blind
— ||Vriska|| (Homestuck spoilers)
one day i'll make a joker
— ||Gamzee|| (Homestuck spoilers)
this is so funny
i love how fuckin happy the apple is
nice negative baseball card
this is ridiculously viable
TA gives me an average of +30 Mult each hand
I can only play Two Pair but I get X4
Vampire gives additional X2 rn
toopare
Strife Specibus fucking rocks with Balatro holy shit
Me when I get 1.1 Codex Cobalt
me when i randomly enter chat
Now High Card Mod has websites! https://www.balatrohighcardmod.com/
thanks for notmario for the template
me when i have to proactively search every other mod's thread to find people talking about issues with my mods
not pinging cuz it's late for me in case it's late for them
it's 5pm for them
Hello Aure!
it's 5 a.m. for me LOL
btw who shall we ping for pining messages?
one more...
in our thread i meant
Finally... time for dung
messages are unpinnable
i swear, i might make that a locked alchemical
/s
messages are unpinned mfs when i show them This Joker is pinned to the leftmost position
I thought it's a thing for mod thread...
dung alchemical as isaacmod compat....
good morning
getting closer to releasing Codex 1.1
(idk what isaacmod would get out of an alchemical)
Pog
glass still looking pretty slick
Figured it out. It was missing scale
ohhhhhh
of course two pair is viable when you cheat
omw making a blind for "Cannot play Two Pair"
its not cheating i only added Strife Specibus at ante 1
everything else was entirely normal
Do you know how to detect if a card was created in the collection or somewhere else?
what if we made blinds that are just pogs
itay what do you think of the specibus effect
hope you like two pair dude
What if there was a blind that was an auto-win...on the condition that you played at least 1 secret hand or straight flush.
no
too easy
bad design
Eh, fair enough.
Catra what do you think of Strife Specibus
catra did you see what i did with Dysnomia
I'm just hoping not to get screwed by offering if I see an offering card after getting this.
(I like the joker)
I have used it at least 5 times.
I should not be using it, but it's fun.
subtitles!!!
Mouth but a Joker
Oh, that!
I wasn't sure what to think of the subtitles, other than it being neat.
you are locked to a single hand type for the whole game, as long as you're holding the joker
omw getting the eye with this
Ox is worse, arguably.
i also did subtitles on Jimbobread Man (half)
ox doesn't turn the blind into a 2x req the needle
Eye with that joker is basically X2 Base Needle.
Jimbobread man is arguably just objectively better than the $1 and $2 oddities, and that saddens me.
jimbobread man is also an uncommon
one whole jollar
But why is the single Jollar so common?
I am planning a very specific challenge btw
halfbobread man's rarity doesn't matter, it doesnt show up
one which will surely upset many
Also, I feel like oddities probably shouldn't show up in the main shop without the appropriate voucher. (Packs are fine.)
only the jollars are dead draws
But there's 5 of them.
Hmm, Jokers that prevent certain boss blinds from showing up when held, and a thematic bonus on top…
rarity synergy
Baseball Jimbobreadman
Challenge in question
And most of the other oddities are worse than Tarots/Jokers, and I don't want my shop more cluttered than it already is.
What the pink one do
no consumables in shop, no fools, only booster packs
okay so i have a problem :
each of these files work individually but when i put them together it can't launch a new run
Also are these like memory cards?
it's a Homestuck inventory abstraction
therell be a config for this on oddityapi side, as well as one to disable packs
Oh, thank goodness.
the patterns look like a badly charted 4k vsrg chart
those are punchcard holes
Oddities are fun, but there's a few too many of them showing up for my tastes.
also the funny thing about this challenge is
maybe i could just allow you to specify the base rate
it is 4 by default, same rate as tarot & planet
2p gaming
ghost deck spectrals are a rate of 2 for reference
and your only way of obtaining held consumables is captchacard
That's why i hate having 1 channel.
You ask a question and there's 39 messages sent after it... that has nothing to do with your issue
Honestly, that sounds good.
tbh i think the main issue is that the basic oddities in Thac are just Really Mid
yeah thats how ongoing conversations work
I would have helped you if I could, but I also don't know how to mod.
Honestly, that could be the issue.
What do you think of this?
they are supposed to be primarily a demonstrative implementation of oddityapi, after all
Like, the Cookie and the Power Chip are great.
awful. i love it
¬¬
with a better pool of oddities its probably not all that bad
also i probably overtuned the costs on the chips
There are more base alchemicals than base tarots now
That's how it works blablabla
The problem is that there's 1 channel that is for too much things at the same time so don't answer me like i'm fricking stupid and almost insult me
But it could be in the shop too
Or a pack
I think that's about it
then use or conditionals
lets goo
Isn't there a way to detect if it's in the collection?
idk, i can check when i'm done with school
see what?
Oil?
and just ignoring me now nice
no im on 23/24
do you have Lead?
I wanna do another locked one
too similar to Aqua
that was a pretty big thing back then
horse dung..
Quicksilver is a thing, right?
we already hvae quicksilver
sure i can do horse dung lmao
@static vale heya! i think there should be a channel dedicated for in-depth code talk, since this chat is currently a mix of that, people playing their mods, showcases and asking for installation help all at once
Was considered closer to the Philosopher’s Stone because it was red
Oh, shoot.
We can do acid
Based
Bubbling
eroding lines
and bubbles
also "we can do acid" can be awful out of context lmaoo
feder out of context
Gottem
there with "I really wanna lose my 50/50 to a four of spades"
More modding channel
what?
oh nice
right time to cook
Is it better to start with the dark brown tone for the bg or the “black” tone
will forward to the moderator cabal group, thanks! we used to have a "dev talk" channel but people confused that with... talking to the devs
brown tone is way better because it's more neutral
also you can't see the final layer of that 3D depth effect with the black tone
Got it
could call it "mod-development-chat" or something
or just something that keeps "mod" or "modding" in the name
I figured it out
well that wasn't a modding specific channel either so...
There is a G.your_collection BUT it's a list of three card areas so you can iterate over the three of them.
local is_in_your_collection = function(card)
for i = 1, 3 do
if (G.your_collection[i] and card.area == G.your_collection[i]) then return true end
end
return false
end
I don't know if I need to test for G.your_collection[i] but I did so
ah true! I forgot about that. I personally (not speaking on behalf of other mods) would like to see more modding channels too
it might be 3 areas because of the rows in joker coll?
there are three g.your_collections, one for each row in the jokers tab
i think deck view is similar (based on suits)
Yes, each row is its own area
yes please 🙏 maybe even a separate category?
already suggested :P
ty!!!
@cunning silo does this read acid-y
it does look viscus, but i am not sure
people who make beautiful pixel art i kneel
same
Groovy! Just like how I remember acid
ooh yeah
least unhinged balatro modding chatter
@cunning silo
local temp_ranks = {}
for _,v in ipairs(context.scoring_hand) do
if not (next(temp_ranks[v:get_id()])) then
table.insert(temp_ranks, v:get_id())
end
end
also im 90% sure this code will work
and it'll isolate all unique ranks from a scoring hand
the green lines mesh a little bit with a background and symbol cuz you used 2 shades of green
thats the point
(near the center)
thats the point
oh
its acid
Good idea good idea good idea
I’ll take a look at that tmrw and see if I can’t figure out wtf I’m doing
Tbf I’ve only really gotten the name text and a few other things done so I still got a long way to go
the effect you are trying to achieve is fairly easy
i recommend looking at the card.lua from the base game and maybe some custom mods
yeyeyeyeyeyeyeyeyeey that was the goal
I don’t know coding
So I was just trying to learn today
Go vote guys ! : https://discord.com/channels/1116389027176787968/1232986794904125522
i'm like 99% sure it's an unanimous yes
It is
myst question actually
how would one isolate the 2 ranks in a full house
having some trouble with that :p
good question
What are you trying to achieve?
what i would do, and this method absolutely fucking sucks, is to loop over the full house hand and store the ids of the cards
Yea
yeah that makes sense, and i assume make like a little counter maybe?
SMODS.Jokers.j_ascend.calculate = function(self, context)
if context.cardarea == G.jokers and context.joker_main and next(context.poker_hands[self.ability.extra.hand]) and not context.blueprint then
-- isolate the 2 played ranks
local temp_ranks = {
pair = nil,
toak = nil
}
local apply_mult = false
for _,v in ipairs(context.scoring_hand) do
end
if #self.ability.extra.full_houses > 0 then
for v in self.ability.extra.full_houses do
-- compare the two sets
if (v.pair == temp_ranks.pair or v.toak == temp_ranks.toak) then return end
apply_mult = true
end
else
apply_mult = true
end
if apply_mult then
table.insert(self.ability.extra.full_houses, temp_ranks)
self.ability.extra.mult_total = self.ability.extra.mult_total + self.ability.extra.mult
end
return {
mult_mod = self.ability.extra.mult_total,
message = localize { type = 'variable', key = 'a_mult', vars = { self.ability.extra.mult_total } },
colour = G.C.MULT
}
end
end
this is what i have so far
the annoying bit is setting up temp_ranks
after that it's pretty simple, loop over the entire set of previously played hands, nothing wild
basically have to be able to isolate rank and pair/toak
Why not use next(poker_hands["Full House"]) and then loop to get the card ranks?
i am using next
next(context.poker_hands[self.ability.extra.hand])
extra.hand is just a Full House
I'm blind
that's not the problem
the problem is with the loop itself
what params do i set up to actually have a reliable way of telling which rank makes up the pair in the full house and which rank makes up the toak in the full house
ok i just came up with a stupid solutoin
hi im back from dinner
-- lmao
local v1 = nil
local v2 = nil
local v1_count = 0
local apply_mult = false
for _,v in ipairs(context.scoring_hand) do
if not v1 then
v1 = v
end
if (v == v1) then
v1_count = v1_count + 1
elseif not v2 then
v2 = v
end
end
if v1_count == 2 then
temp_ranks.pair = v1
temp_ranks.toak = v2
else
temp_ranks.pair = v2
temp_ranks.toak = v1
end
this should work right
something like
local temp = {}
for _, v in ipairs(context.scoring_hand) do
temp[v.base.id] = (temp[v.base.id] or 0) + 1
end
myst does the thing above work as well
its stupid but its full house
so it doesnt need to be good
v == v1 doesn't work
also i specifically need to know which one is the pair and which one is the toak
because this is checking if the cards are the exact same as each other
hm
but yeah i do need to have like
proper way to know which is pair and which is toak across lke
multiple full houses played
so what worries me about above is, how do i get that to work like such
the game uses if next(get_X_same(3,hand)) and next(get_X_same(2,hand)) then to get full house
well it's this
yeah but saving rank is important to me
so you can probably implement something similar to this
yeah this gets the rank i believe
get_X_same(3,hand)[1] is the return table for 3oak part of fh
is there any operation that would let me say, flip the key and value in the resulting table
so maybe like get_X_same(3,hand)[1][1].base.id
i will literally never have more than 2 results
because its already determined as full house
i'm pretty sure that if you reference the scoring hand at index 4 and 5 they will be the cards in the pair
i'm getting confused oug
local other_table = {}
for k, v in pairs(original_table) do
other_table[v] = k
end
i mean this code would suggest it
