#⚙・modding-general
1 messages · Page 27 of 1
Not planning to use CurseForge for sure, but Nexus is the biggest one yeah. I'm already using Thunderstore and the support for r2mm is already there even if not officially released on their side
oh sick
But I know some modders have issue with both website for some reasons I don't know so I will continue the classic releases on the github
It's just to make it easier to use and find for classic users
i have never had issues with any platform tbh its generally my own fault when something doesnt work lol. but id say good call
i would love to see the nexus fill up, it seems like there is wayyy more mods on the github than there is on nexus rn
you can get the colouring in the options
oh really
it's high contrast colours
thats wicked. thank you
ok just looking through the options and found stats (i just got this game today) and i see theres stats for how many times youve used certain cards. there should be a stat for how many times the wheel of fortune has actually paid off lol
is 0.9.3 the latest version of steamodded
Yep
I love playing balatro
Hi does anyone know of a resource that has high quality images of the jokers and other assets in the game
7zip can open balatro.exe
Lovely
Six suits shaping up so well for you
looks pretty good
could also make it smol
although it looks like the frames drop significantly when they're on
are you creating a new one every frame?
that's just from recording
30 frames with them off vs 7 when they're on
it runs smoothly at 60 when I'm not recording lmao
I just realized. Combining six suits and musical suit gives you all 7 deadly sins for the suit mult jokers!
my laptop just doesn't handle it all that well
hm right
hm
I noticed the same
trust me it doesn't cause perf issues
screen recording always slows down my laptop like crazy
how's this for size
but the fact it slowed down more with them on
I like the design
it looks good, maybe a bit smaller
The option is stored in the profile ?
the same size as the text?
G.SETTINGS is, right?
I think so yeah
should be then
could we get a "tags" system in the next release of steamodded?
could be useful for things like food jokers etc.
We might want to put some of those stuff in a specific Steamodded file later to avoid putting mod stuffs into vanilla one
Like a Steamodded config file with a bunch of stuff inside it
And, in it, the possibility to disable mods
(At loading for now, not during run time)
you'll be able to add custom badges, yeah
how about this
Did you put a default color btw ?
yeah
same as G.C.UI.BACKGROUND_INACTIVE
Well seems fine
though I wasn't actually able to use that as it's not initialized at the time I need to load these
mostly trying to find a good size rn
The actual one looks good to me
You can always do a Poll if you want everyone opinion on it
this is too small i guess?
It feel to small
yeah let's go with the previous one then
this one is nice
i was doing 0.7 for mine, for reference
this is 0.85
star ruby seems kinda op
might be
maybe it could be 1 in 25 instead?
i do think it needs to be nerfed
or maybe a random planet, tarot or spectral
i think that's too random
ok true
umm
maybe if your hand contains 5 stars 1 in 10 chance to create a random spectral?
wait i just realised this is worse than acrobat
Reckon i got enough jokers
You got 3 free slots go for more
Hey! does anyone know if there is already a Mod that allows you to open console mid game like in slay the spire?
Closest thing to that is the debug mod
okay Cool, thanks for the quick answer 🙂
no it's just the high contrast setting
make the [ON YOU] a giant badge
Also the tarot number being NIL is amazing flavor
i could do that actually i think
:) thank you for noticing
if you're wondering what that tarot does when used...
lose the run instantly
i mean yeah if you throw a pack in the trash by picking it lollll
me, not sure if my Moon card's pseudorandom call is broken or if i legit have just gotten three Empress's in a row
ok there we go finally, a comet from the moon
twas relatively fast
👀
goated
ooooooo custom tarot time
yep! any cool ideas?
currently I want to do prophecy, crossroad, theater
i mean, i've got my own custom tarot mod to tend to lol
don't think so, actually? seems kinda odd too given they could handily be assigned suits
i've just updated more information on #1223603584285937774, no more april fools sorry yall
literally unplayable
its ok i'll just continue never looking at a tower card
They'd rather jump from the tower than play stone cards
me
relatable
mood
I wasted way too much time on this just to notice that its not 100% centered
definitely
as in, make them smaller if the name is longer
OH yeah probably a good idea to do something to that effect
What will be C++?
having 0.7 text size looks off when the mod name is 8 characters
maybe both of those ideas (shrink them to a minimum size, then truncate past that)
its c+ for consumables plus
yeah that makes sense
Someone is also making a mod called that
):
who's making consumables plus then? :O
Hm... "Mika's Mod Collection" is 21 characters
I think I have heard someone does before…
that's already gonna make these windows go wide
But I can’t place my finger on it…
if you're thinking of my mod it's MoreConsumables and i'm not steadfast on the name lol
another question is whether I should even add "Mod: " in front
You may had an option to change the displayed name
sure that works
man 0.9.4 gonna be ballin'
Oh wait
It’s more consumables?
I thought it was consumablesplus
XD
moreconsumablesplus when tho
I was taking about your mod
I was thinking the same thing, for mine I could probably just do Mika's or Mika's Mods
Same with my Feder stuff
Hey guys, what is the most noob-friendly mod pack (or several)?
I've seen Skootie channel has a ton of new built-in "challenges" past the normal 20 that use new cards in fun ways. Which one is that?
removing "Mod:", probably
feel free to @ me
hell even Better Balatro's id is MystAprilFools
im in favor of ditching "Mod: "
JellyMod
well it probably won't even still be named MoreConsumables on release
i'm just waiting for the configs update
considering dropping the consumables theming and just folding in a bunch of jonklers and other things
Fun fact! The first name for Codex Arcanum was “Rage of the Elements”. It’s a reference to something. Can you guess what?
it feels like a song name
it's a reference to how you felt coding booster packs
XD not quite but still accurate
Nope, though it is a dope name
feeling a bit like the general convention may be more "Big Mod with Many Feature" rather than "Many Small Mods with Few Feature", but idk what people really prefer
It should be the former
personally i do many small mods
Depends on how prone it is to inner conflics
To not turn into another minecraft/skyrim
nah we putting the aether in balatro, suit up kid
fuck it 294847262 hardcoded overwrites
speaking of, any word on Planet API jank?
was it a book of some kind?
Need a bit of feedback, is this balanced?
which isn't even really the Planet API's fault it's just that the base game assumes every Planet does the same thing
too niche
getting started on it
cool beans 
Closer…
and by too niche i mean far too niche
Yea it's a ref to a good friend of mine that's why
video game?
It’s a book related to a game
but I think I can get away with just skipping the original func call when a custom effect is present
hmmm
feels like it could be a whole x0.5 or even x1 per card tbh
x1 feels a bit too much idk
since it's so niche, some big splashy number would be good
rage of the dragons?
Nope
'cuz 9 times out of 10 you're scaling off of one tarot card exclusively
x0.5 instead of x0.25 then?
Yup!!!!!!
x0.5 could be the sweet spot
Alright I'll do a test run with x0.5
neither trance or the devil are the greatest consumables, I think 0.5 is fine
i dont even know what Trance does? is it the blue seal one?
blue seal, yeah
Second question, do the 2 modloaders conflict with each other?
(Some mods say "made for Modloader A", can I use simultaneously multiple?)
or is one of them jsut universal now
we're trying to make them more compatible, but for now there will be issues if you use both
Steamodded is more widely used than balamod though
its those two because theyre synergy with each other right? or is it a reference
Mostly a ref, the synergy is accidental but it fits somehow
i have determined: No
so instead smiley :)
For context, the guy's name is Trance, and he mostly represents himself as a devil
So seeing the card Trance and The Devil in this game is funny to us
i wonder if i could take a stab at why The Fool crashes when trying to show my card's name...
I'll try and reproduce with one of mine
yeah I get the same crash
wow that stack trace is useless
let me print that out
ikr! me when nodes[1].nodes[1].nodes[1].nodes[1]...
me when that stack trace has 20 entries
hot damn
3rd question is, how do I uninstall one of them to install the other? Or just, put mods into the correct folder and leave the other empty and it will balance itself?
depends which way you want to switch and how you installed
I see instructions for 2 top posts, "steammodded with lovely" and "balamod by just running the program"
steammodded with lovely is actually less jank than it sounds tbf
it's as easy as download dll and git pull
you got me stumped
it's like i have no idea what's up
half of it is just set_parent_child a bunch of times over
i am quite foolish thanks for noticing :)
Fool lore
do yall not know about the Fool's Journey
is that like the hero's journey from an alternate timeline where campbell hated writing
it's the story portrayed by the Major Arcana
I am too HSR pilled. It made me think of something else XD
HSR?
Honkai: Star Rail
i seeeee, heard a lot of that game but never played it
omg you play star rail
I sure do
You should. It’s a great turn based RPG
And the story thus far is super good
there's a lot of competition for my free time, you see
i should probably play it again ngl
i breezed through the entire story within like 2 weeks of the game's release and then dropped it
The new world is crazy
That’s a big backlog
and that's just steam!
i don't play HSR simply because i already have Limbus Company
got that e2 jing yuan waiting on that bench for a long time now
is that like
but i do play GI
lethal company but for weebs /lh /j /iknowwhatlimbuscompanyis
HSR is not that involvement heavy TBH, but I would still recommend it to you
Limbus (from what I’ve seen) is fun
omg that's amazing
Great art!
Meursault, snap her bones in half
I also play GI, though my C2 Navia kinda breaks the game XD
you'll never take me alive!
(This discord server should have a starboard)
btw studies have shown productivity on mod development is improved tenfold by the presence of 
true
(source: i made like 8 new consumables today)
let me put on reckless battery burns next time i work on a mod
lmaoo
You talking about music right?
yes
can i just link it? probably not against any rules right
yea
https://www.youtube.com/watch?v=EYKrl61cUsY for context
qualia automata part one
more info about the series here: https://team6x111.carrd.co/#qualia-automata
team 6x111 presents: this fucking biohazard of a song
ophelia version: https://www.youtube.com/watch?v=DbR1Ny6ZKjc
this was a lot of fun to work on - vane, mors, ophelia and i were using vane's and my lyrics as prompts to get ai-generated lyri...
i love rbb
i have the marketable plushie of this song's mv's main(/only) character
i already get bored from LC's filler so HSR isn't my thing lol
someone smarter than me tell me if this needs numbers adjustment lol
(glow in the dark tamaris are shipping im so excited yippeeeeee)
i think it's slightly weak but fine
it's like in the middle of temperance and hermit
you do actually lose something for it though
which i think might warrant a bigger payout... not sure
If you somehow get Trance the Devil at the first shop, I got to x5 with it with x0.5 (did skip a few rounds for Throwback), I'm on Ante 9 rn
what ante?
Sorry added it
i think that's a pretty good place for it, but other mods adding consumables (that's me!
) might interfere with your odds of that going off
(special mention to perkeo btw)
I mean that'd happen in both ways
tamari plush adds so much expression to that message
people sometimes ask me what emotion the emote of tamari plush is meant to represent
the only real answer is yes
I dropped the rarity to uncommon after this btw
the emotion ranges from :D to :3
it can be a Niche Uncommon With Big Power Ceiling i think
Yea if you focus specificaly on Trance and The Devil
Before it didn't had the "used this run"
(Twas a pain to add..)
So ig it would have been even worst lol
being played for a fool
good god, why are goats so hard to draw
like... how is node supposed to be the number 1
2 mods can make the game really cursed
it looks to load just fine but choke on update the next frame
oh no
if i wasn't away from home i'd release my dumb 11-25 ranks mod
(it will not support 60 suits :)))) (probably))
1000+ card deck!?
not ruling out that i could just get REALLY bored one day
oh it'd be more than 2000 im almost sure
oh, maybe not. 1680 if 28 ranks and 60 suits
Where did my enchanced ace go
good luck
best balatro
what is better balatro
I will download it
Peak art
is it loss
Normal balatro gameplay in april 1
i did this to try it and it looks Actually Kinda Neat
This is rare
does anyone know if someone is making a "Kirby" joker?
me when no straight spectrum:
Also, if anyone encounters the same issue as me, turning off pixel smoothing in the settings of the game fixed this.
There's one in JellyMod
do you know what does it do?
Hum, looks nice though i had other idea, something like: every round, it consumes a random card from the deck, tarots or jokers and it gains something.
I want to start modding but how do I do that?
do you have modding software installed?
what is it?
there are two main options, steamodded and balamod, the install instructions for both are in #1211716871267688488
Jelly mod basically has it .... It eats foods
downloaded so many mods I forgot what they did
looks like there is too many mods to play the game
there has to be at least like one maybe two incompatible pairs in that list
jellymod is generally incompatible
mystjokers is incompatible with all seal mods
soft incompatible though
same with morefluff
idk if this is useful to literally anyone but here's a resource... planet minicards for the displays at the bottom, including the Tarot, Planet, Spectral, and random cards i made for my (still wip) mod, as well as a bonus one intended for Alchemical cards :) threw in pre-sized symbols as well idk go nuts
For some reason when I had less mods jelly mod worked after downloading them individually
Ink and color only had problems with the musical suit
nope i have had it installed with the mod it works well👍
sweet
ok
my mod is an actual mod but also don't use it because you'd have to break into my computer to do so (i'm never satisfied (also kinda waiting for steamodded update))
is it a virus?
which one...?
MoreConsumables lol it's unreleased
might not even be called that when im done idk 
it's not a virus, it's just Not Good for actual gameplay
if you want to use it you can
my brain just goes "wheeeee make more content!!!!
"
but the game will lag immensely
better balatro is an actualish mod lmao
i just release every time i get a full page
full page of what
you can do an all bosses run or randomized jokers run
ok? cant you just delete everything else in the game? is there a problem with that?
well I don't think I can get behind what the hell is going on with the fool rn
damn. that's such a weird bug.
Is sixty suits a mod for April fools to just to test how much suits you can add?
yeah lol
have you identified a relevant section of code? i could try looking at it, see if anything sticks out to a different pair of eyes
i couldn't even find a code section to look at, no thanks to the stacktrace
The 2 other April fools works with sixty suits
i already half forgot, let me check again
the UIBox which has the faulty node seems to get initialized in G.FUNCS.show_infotip, at button_callbacks.lua:2100
called from engine/ui.lua:945
if you go looking for show_infotip, you'll see that that corresponds to the table that card_h_popup spits out
oooh
honestly if i may share the resources i used for the hand of six mod too
jdhs okay so
it looks sick i just dont have context lol
since i had to shrink the cards to make them fit on a planet card
the left were like, used for 3 pair
ohhhh these are even smaller aren't they! nice
yeahhh pretty much!
and the right is just ascending from 1 to 10 just in case i need it
the 8, 9, and 10 i had to get creative with cause it looks bad if it was just 8 dots
the ten isn't 10 pixels smh

honestly still waiting on the planet cards to be implemented into #1218775422066622585
but in the meantime
might as well share the art i made for it!
the dwarf planets are very much not balatro style but
i like em
these look cool
Please someone make a Zoozve Moon card
524522 Zoozve (provisional designation 2002 VE), its a quasisatellite of Venus
what hand is salacia ?
oh okay lmao i was wondering why 5 of them were boxed off
that was just something left over in the screenshot 😭
btw wheres flush 3 pair? or is the art just still being made
why?
they want to round it out and get a 12th
shouldnt be too hard to find a new one
flush 3 pair and flush 2 trips would go well together ig
i found too many uhh
ok would straighter flush and straight flusher count as new hands which are distinct from straighter flusher?
that
i dont think so
i guess... 6 cards to a straight and 5 cards to a flush or vice versa are not the same as 6 to both a straight and a flush
but i would rather not see them be a thing
because like
alr
making every combination of cards its own hand is not fun
yh
"straightest flush"
there was also this thing rose asked me to make though i honestly dont know what it does
tarot lettering also if it helps anyone :)
woaH
maybe i could make a Thread somewhere
oh yo awesome
(the same lettering is used for planets and spectrals)
frankly I don't think this helps
i just dont know if there is already one
also thank you actually this is super cool! where did you find it?
or did you make it yourself
well there's always room for better resources right
true
ahh yeah
i was struggling with the Q
like there's no Q's anywhere, and the thin font was missing a lot
yeah uh i was making a small project unrelated to balatro a month ago that used poker hands and i tried implementing poker hands using that method and i gave up on the project
actually maybe there shouldnt be a 12th hand then
and ended up making this
me too LOL
like actually
mine still looks bad lol
hmm
well maybe we can make a thread for all this stuff now
i think it reads like a q in context at least
do you want to do it or do I
how do you get a manifest for my mod in Thunderstore
alright i think i can't get the fool fixed for 0.9.4 unless someone has an idea why the fuck this happens
yeah i've got nothing, sorry
the fool texture glitch?
it crashes if the previous tarot/planet is a modded one
and nobody's quite sure why
yea no, clue
Fool crash
Lmao
fascinating
Now I need to make interaction with every Joker
modded included?
just leaving that thread here in case anything new comes up
Some mods like Lyman's yeah probably
he scream when you sell him
and play the burning animation
What about Ink & Color suit mod? It only adds 4 jokers.
Not sure
I can probably do smaller mods, yeah
but it'll be the lowest priority for me
I need to make all vanilla jokers first
yea, that makes sense.
actuaully maybe the second jimbo should self-destruct
after dialogue of course
monologue?
also interactions for if he's eternal, if he gets a sticker, if he gets an edition, or if there's three of them
yep
going broke, selling all your jokers, acquiring tarot, skipping booster pack, etc
oh no it's clippy
I'd be down to make a
ruhlatro mod
I love it
i lost collection data😭
"This name is too long" cutoff
for reference, 6 or fewer characters look like this
maybe that's too large?
the clam
to be clear, we'll be able to set a like "display name" for the mod, yes?
then i think it should be fine... mods that have longer names could abbreviate themselves
i think that one's a good size, yeah.
now what length do i start shrinking at
currently it's 6 but I think it will still look fine with like 8
honestly i feel like it might even be better to just skip the automatic truncation and maybe just try to establish a convention of short display names idk
but im not a marine biologist so idk
that looks perfect honestly
can someone link me to where and how I can get started with modding balatro
im also a programmer, just need the resources
iirc this game uses the love engine which uses lua
max size
https://github.com/Steamopollys/Steamodded/wiki has some things but is incomplete. Otherwise I'd recommend having a look at the game's code (just unzip the executable with 7-zip) and other mods
excellent thank you
yw
does this look good overall?
background seems a little bland
kinda agree
use like wood planks
eh
for like an old bar look
i dont think that would give off a balatro look though
maybe so
fetus deletus
agree
maybe
hmm
like
do that thing they do in the main menu
with that black background
mans really pulled a 
i cant put the black behind the roulette bcause the its the same colour as the black IN the roulette
also could maybe use a bit of a drop shadow with the buttons?
uh oh
oh god its wheel of fortune
It should play the "Nope!" animation if you dont win
im still focused on the general details but thats something i want to do, or Jimbo teasing you saying stupid things
i still have to make it sound when rotating and when you win etc
stoatal mistake
wait what's this
He died so young...
A new mechanic, loose all your money trying to make some money
ooh that's interesting
a roulette basically
could you share the sources of it? adding UI is really tough
i wanted to see how you do it
ill post it today probably or tmrw, im still polishing some things
placeholder art is my passion
the actual fun part of modding
So true
should the jimbo be on another layer like the other soul cards?
yep that's placeholder
he doesn't even have shadow to begin with
I have no idea how to put him on the second layer tho
I think there's some shenanigans with that
https://gyazo.com/c673ff6bc687c5939b8ae4af78e50def.mp4
Codex Arcanum has jokers now!
Awesome!
Nice
Best
why not make it say
though
true
really like the colors
okay now I'm even more confused
the fool works fine with custom planets
it's just tarots
ohhhh it wont call iirc
in 0.9.3 it won't
fair.
awesome
i was going to check if the fool works on alchemicals
but they i remembered it only does tarot and planets XD
#1210728178201526373 has an implementation of the fool that works on spectrals
i wonder if it has the same issue
that is a good point
i wonder if its the tooltip that inherits the textbox of the target card
it's the loc def, somehow
i just gave a planet a custom one and it crashed the same way
that's good progress
i wonder if the tooltip that inherits the textbox of the target card doesn't call the loc_def correctly
loc_def is definitely being called correctly, there has to be some detail that I thought I didn't need to account for
i wonder if it's the fact that I cut this out
fuck me, it was
we're closer now
nice GJ 273 c
My favourite tarot card
Anyone found a run counter?
It's weird that the game doesn't have one somewhere but I figured it might be in the code somewhere
iirc there's only a win counter
I guess the dev doesn't want you to know how often you're losing
YES TOOLTIPS
is there a tutorial on how to make a mod for the game?
referencing other mod's code is a good place to start
you could have made those all this time
planet*
Oh right
how do I disable a mod in steamodded?
Remove it from the mod folder ig
I know thats what makes it sad that I gave up
😭
I guess I need to get to writing more docs
Yes please
I also need to add a few things that still aren't native support in Steamodded
Back.apply_to_run is still manual xdd
been namesearching this jester here, this is cool :3
Something is happening 👀
yeah i feel like tags are still underdeveloped imo, theres only like one joker synergizing with them
ok wait this might be a stupid question, but is the source code open source?
also im completely new to modding and this looks kind of insanely cool
ooh!
no
ok didnt think so
it's technically "source available" since you can extract the exe as a zip file and access the source code and it's written in an interpreted language. but you can't share the code so it isn't open source
I've been just kinda mulling over/theorycrafting about what my version of Stańczyk would be like and i'd probably implement some sort of comeback mechanic for him, just because he's well known for the painting of him distressed/despondent when Lithuania lost Smolensk to Moscow (he was an intelligent and well read jester and understood how bad this was)
#1213320318870102096 message
if you mean, like, card shake and the like, there are functions for calling animations
i was prompted to make stańczyk by my polish friend
im not even polish
but i am very familiar with the painting though
why cant i find the jelly mod lmfao am i just blind?
tysm
ive broken my game so uhhhhhh thats great
it is generally helpful to post what happened and what mods youre using
Happy to announce i've released my little mod:
I'd bet all my money on green and lose 💪
Another before/after
the ping in the bottom right lol
A nice touch
Ye, thanks!
Should I put two different dark colours around or just go with one?
Kinda sad the palette used doesn't have darker colors
i think maybe the purple outline just dont fill the corners, make it a bit thicker on the sides and leave the rest in grey
Like this? Also I can't really go thiccer on the sides or it will eat up the cards
i would probalby try like a 2 pixel purple outline
but i think the corners not filled looks way cleaner
Oh that's cuz I turned the light gray color the same color as the darker gray
also what is the size u use for the jokers like PIXELS x Pixels
aigth thanks
69x93
is that balatro april fools dicord server icon?
this looks sick
Is there an easy way to spawn in a joker just for some testing purposes of some setups? I’ve looked at the mod list but haven’t found anything. I can’t really mod myself but maybe someone has built a mod for that 
Go into the collections menu and press 3
You can spawn any consumable and joker with that
guess what
custom object tracking is huge
chicken butt
smh
yup

is there a specific naming formatting for souls to use
like joker.png and joker_soul.png or something
or is that just more so "implement it yourself, buckethead"
I think it has to be the same spritesheet
ah, double wide?
also I'm not feeding the naming formatting down your throat, you can use something else and just specify it
do i have to re-install balatro or anythng, or can i just run the injector again?
oh im more so asking because i dont want to accidentally break everything
you need a fresh .exe
you need to verify game files on steam first
smol
(using powershell, just to clear that immediately)
I don't know about using different sprites, but as long as they're somehow on the same spritesheet and you give it the correct pos, you should be good
ill give it a try
there's no default because duh
and probably fumble doing so but its worth being to first
it's beeger if you use a shorter display name
and then just run the injector?
Which lua file is the badge function in?
tarot.lua
Thanks
If someone will do the legendary joker thingy please show me how to do it 🥺
Oh so we still have to overwrite the G.UIDEF.card_h_popup if we wanna change the default values of the mod badge?
you can specify values in your mod header
finally
forkeo
Like the color, size and such?
finally, Fork
color and text
🍴
size is automatically set based on length
reading all this is making me want to learn how to make mods for this game
I updated readme with the new header values you can use
Thanks 👍
it's just background color for now, but now that I think of it, I might also add text color later
How many free rerolls do you want?
Yes
alright so maybe some collaborative coding might help here so
function add_item(mod_id, pool, id, data, desc)
-- Add Sprite
data.pos = { x = 0, y = 0 };
data.key = id;
data.atlas = mod_id .. id;
SMODS.Sprite:new(mod_id .. id, SMODS.findModByID(mod_id).path, id .. ".png", 71, 95, "asset_atli"):register();
data.key = id
data.order = #G.P_CENTER_POOLS[pool] + 1
G.P_CENTERS[id] = data
table.insert(G.P_CENTER_POOLS[pool], data)
if pool == "Joker" then
table.insert(G.P_JOKER_RARITY_POOLS[data.rarity], data)
end
G.localization.descriptions[pool][id] = desc;
end``` this is my dusty add item function
ive decided to format the legendaries like this
how would i go about defining the soul_pos as somewhere on this spritesheet rather than the default games?
because if i just slap data.soul_pos = {blah,blah} here, thats how i got the previous image
well first things first you aren't using the joker api
second, that's not how legendary sprites work
im aware the backs are actually blank
the regular sprite is just the background
i just quickly cooked this one up since the one i have on hand is flat
i could explain what else is wrong with your code, but the API handles that stuff. To cut it short, you're not setting the atlas on your center object
(also that completely bypasses the custom object tracking I just made)
anyway do your rewrite
thats what i get from scraping from multijoker
i kid of course, i thank it for being one of the earliest mods out there
what was the first mod to ever exist?
🙋♂️ I, I got the joker API, now how do I use soul thingy
time to scrape firch's code 
good luck lmao
im going to have to rewrite how all of my jokers are implemented arent i

basically there's another argument after atlas
because i still use snips like this
yes your code structurally is very different from what I remember
function SMODS.INIT.JankJonklersModJankJonklersMod()
add_item(MOD_ID, "Joker", "j_devilish", {
unlocked = true,
discovered = true,
rarity = 2,
cost = 5,
name = "Devilish Joker",
set = "Joker",
config = {
extra = { x_mult = 3 },
},
}, {
name = "Devilish Joker",
text = {
"{X:mult,C:white}X3{} Mult if played",
"hand contains only {C:attention}6s{}",
"or {C:attention}Gold Cards{}"
}
});
that part is the same I think
if you're letting the loader assign the atlas, just leave atlas blank
then just put a position table with x and y values like regular as soul_pos
the regular sprite is the background usually, the soul_pos sprite is the foreground one
In the SMODS.Sprite:new()?
nah
or wdym by atlas
SMODS.Joker:new()
is the joker_api example in the steamodded folder still a good reference for the joker api
you need both to be in the same atlas
Look at my mod 😎
I was just referring to atlas because that was the last parameter before
I did a big refactor a couple days ago on the development branch on my github
🫡
My code would help too but the mod ain't released yet 😔
it is neither fully correct nor complete
im going to head out soon but i am going to cry when i get back
wait I copied from example and I think the last one was eternal_compat at the time
so other mods that use it are a better reference, I guess
i'll check out mika's
yeah atlas was also recently added
so it is eternal_compat, then atlas, then this?
let me just
there's also effect which doesn't do a whole lot
i forgot i had a soul card increasing chance on for a hot minute when i saw this
oh no
so, just so i understand correctly,
im going to need to fold functions like this into the joker api? looking at the example always did confuse me (understanding it isnt complete makes sense)
local calculate_jokerref = Card.calculate_joker;
function Card:calculate_joker(context)
local ret_val = calculate_jokerref(self, context)
if self.ability.set == "Joker" and not self.debuff then
if context.individual then
if context.cardarea == G.play then
if self.ability.name == 'Expanded Art Joker' and context.other_card.ability.set == 'Enhanced' then
etc etc etc```
as of right now i just have a massive calc joker function and all my checks for names and what not are done there
yeah so basically, you need to put each joker's effect in its own function
but you don't need the name checks

the main benefit of this is that overlapping names aren't an issue
i might be better off just making a fresh .lua at that point
oh that is actually such a motivating reason to do this
i was worried about that
perfect
so everything basically happens under
function SMODS.INIT.MODNAME()? joker initializations, descriptions, and what not, and the code that the jokers are meant to execute? excluding helper functions of course
yep
daunting, but i'll try wrapping my head around it
Why does the tarot card check for ability name here?
function SMODS.Tarots.c_example_tarot.use(card, area, copier)
if card.ability.name == 'Example Tarot' then
-- do something
end
end
it doesn't
if i manage to re-implement one of my jokers i think i'll be gucci
I just forgot to remove it
Oh okay, thought it was redundant as well
Is that the right way to specify soul_pos? or do I need to do additional shenanigans?
Do I need to destroy the tarot card when it gets used as well, or does that happen automatically?
you don't need to worry about that
👍
yeah that's fine
didn't work for me tho, maybe I did the wrong coordinates
yeah set that to x = 0, y = 0, still nothing
that's supposed to be the regular sprite
soul_pos is the foreground one
looks like my fault, I didn't think I needed to change set_sprites
G.ASSET_ATLAS['Joker'] is hard coded in there
Uhm, this is supposed to be a tooltip...
did you use the tooltip function?
badge function creates badges
The joker does nothing but it reminds you of Stardew Valley
Yea
what is G.localization.descriptions.Other.stardew_valley_ref?
hm in that case it seems like I phucked that up
Also how would I change the size of the mod badge?

Would you guys actually take this if it showed up or is this too risky
the mod info badge? you can't
i am a Gambling Woman and i absolutely would everytime
I wouldn't take it I think.
considering I'm always low on money somehow, I'd take it
could someone take a peeksy at this quick little 80 line mock up of one joker and help me understand why its ctd with no crash log
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
It's better than hermit if you have loads of money, but then I wouldn't risk crumbling my economy
omg that’s such a good idea
Maybe the risk could be dividing money by 2 or smth 🤔
nah that's way too strong
getting there, but now the original description is just gone?
If it's closing on launch without a crash log then it's a 99% chance it's an error with syntax
Stuff like that and missing a comma
yeah im getting slay the spire modding ptsd
me malding for 5000 years before realizing i just missed a comma in a .json file i edited at like 3 am
Lmao I hate this so much
thank you mika btw
Why is this saying odds is a nil value?
-- Create Tarot
local fortune = {
loc = {
name = "Fortune",
text = {
"{C:green}#2# in #1#{} chance",
"to double your",
"{C:money}money{}, otherwise",
"set money to $0"
}
},
ability_name = "MMC Fortune",
slug = "mmc_fortune",
config = { odds = 4 },
cost = 4,
cost_mult = 1,
discovered = true
}
-- Initialize Tarot
local new_tarot = SMODS.Tarot:new(
fortune.name,
fortune.slug,
fortune.config,
{ x = 0, y = 0 },
fortune.loc,
fortune.cost,
fortune.cost_mult,
nil,
nil,
fortune.discovered,
nil
)
new_tarot:register()
-- Set local variables
function SMODS.Tarots.c_mmc_fortune.loc_def(card)
return { card.config.odds, '' .. ((G.GAME and G.GAME.probabilities.normal or 1) * 3) }
end
-- Set can_use
function SMODS.Tarots.c_mmc_fortune.can_use(card)
return true
end
-- Use effect
function SMODS.Tarots.c_mmc_fortune.use(card, area, copier)
if pseudorandom('fortune') < G.GAME.probabilities.normal * 3 / card.config.odds then
ease_dollars(G.GAME.dollars, true)
else
ease_dollars(-G.GAME.dollars, true)
end
end
You should consider moving the joker and sprite initialization to a seperate function as well though, that's what I did as well
Just haven't updated the mod yet
💀
do you have a good example of showing how that's done?
Yes it's on my development branch
The init_joker function is what you're looking for
aye i see it
implementing it now
ill credit you in the code for the 2 people that read my github 🙇
Amazing 😎 👍
that was painless
that was straightforward enough tbh...
also wait does this mean that soul_pos is still borked
fix is underway
How do I access the config of a tarot card? card.config does not seem to have anything. This is what I get when I do sendDebugMessage(inspect(card.config)):
DEBUG :: DefaultLogger :: card: table
center_key: c_mmc_fortune
h_popup_config: table
center: table
h_popup: table
ENDOFLOG
gives me time to reimplement everything
what language is used to code jokers I wanna learn so badly how to make some
😭 and what api do you guys use ?
config.extra gets copied over into card.ability.extra
most stuff uses that
card is not a center object in this case
card.center.config would work though, I guess
Then I get ability is a nil value
what's the context that happens at the start of a new hand? like after a hand is played
context.after?
card.ability.extra.odds works fine with this definition
It seems to crash specifically for tarots
When I try to use ability instead of config
This is within loc_def if that matters
oh I should pay closer attention
tarots don't get ability, I don't think
nvm they should
If I use card.config.extra.odds instead of card.ability.extra.odds then it works for loc_def, but not when calling use()
hmmm, can't seem to call a dissolve on context.after
i was trying to see if i could adjust my hacky implementation of fortuno to be a little less (but still) jank
currently right now i have a list of cards that are """dissolved""" improperly during a played hand, then they're properly dissolved by calling the code again during context.end_of_round
i was trying to see if i could potentially do the trash dump step on context.after but it doesnt seem to be the case
hm... I don't think there's any base game implementation of destroying stuff after a played hand
unfortunately there isnt, and the closest is hanged man
here's your hotfix https://github.com/Steamopollys/Steamodded/releases/tag/0.9.5
i just think the game really doesnt like it when you delete stuff from deck when you're not in a state you can normally pick your cards, i.e. scoring and jokers triggering
you are a god
Oh, in loc_def you need to use config.extra.odds, while in use you need to use ability.extra.odds, is this intended?
At least I solved my problem 😎
might be that it's different objects
loc_def is passed a center object
which is equivalent to SMODS.Jokers.j_slug
nice
but use is passed a card object
I've always used ability on loc_def for my Jokers though
yeah joker loc def and consumable loc def happen in different places
Ah okay, that'd explain it
Nice it's fixed (also the desc is really beefy huh)
there's Card:generate_UIBox_ability_table which is where Joker loc def sits
that function calls a global function generate_card_ui which is only passed card.config.center, this is where tarot loc def lives
1$ dollar seems redundant
am I stupid? I updated it two times now and it's still 0.9.4
Using PS Injector
hm yeah the github workflow didn't change that
or I stupidly uploaded the wrong files
nope that's not on me
I wonder if the python injector also borked
has someone tested that?
I'll reupload the PS injector shortly
should work now
same link?
yeah
ty
just need to redownload the injector
the file it used somehow didn't have the updated version number
(the PS injector grabs the code off github)
G.E_MANAGER:add_event(Event({trigger = 'after', delay = 3, func = function()
dissolve_function_here()
return true end }))```
Something like that, no?
your args are wrong, you can't just skip parameters you don't need
4, 0, nil, nil, nil, nil, '', {x = 3, y = 1}
then your table is actually being passed as soul_pos
