#⚙・modding-general
1 messages · Page 858 of 1
Penis didn’t get the win… I’m gonna try penis again
boss blind the boss blind
m
I already did that
One time
Idk where it is
grrrrrrrrrrrrrr
I read this as hitbox and I was wondering “why the fuck does it need a hitbox”
sob blind
i am not joining whatever the hell this is
Same
fair
Same
i didn't even want this to start man but it did
GAMBLING
gambling is awesome i love wheel of fortune jokers
okay im leaving this chat now bye
damn
not as good as the last one but its there
i inverted poker's color scheme so now we have rekop and they are EVIL
Mrrp
evil
such wise words
the _ _
Mrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrp
gappie
The industrial revolution and it's consequences have been a disaster for the human race
well, was here
hi aiko
We'd never get Balala if it didn't happen
okay i need to get my legal name back /j
wel its still the consequences
Fair
desk fan
@sterile horneti tried
fnaf reference
aaa i mean its not that bad
maybe just have 3 big shines instead of a lot of smaller ones
i never expected to get this far
and i just finished
tiiime to move everything to the mod folder
yippeeeee
hey you did well
i can def tell that its copper and not dirt with grass growing on it
peak copper design
It’s good!
it doesnt look like grass yeah
is it going to be covering the whole card instead of just a corner?
big shine?
yyeeeaaahh
ok the oxidised copper looks like shit
what does the copper do
effect?
Shiticher
i want to make it so that the more oxidised it is the less likely it activates
oh i literally was gonna say "x in y chance to not score, y decreases as oxidization increases"
it's a stake thingy
Will there be a waxed slightly oxidized copper seal ?
gremlin to gremlin communication
yeah copper steak
🥩
Ghost Seals have been buffed, and there's a new Deck and Sleeve, check it out! https://discord.com/channels/1116389027176787968/1328116950227746948
the journey begins
charlatan?
old steamodded detected
Idk it was the first thing that came to mind
To what?
to my modpack
i like magolor
Uhh
I literally created it 15 minutes ago give me some time to develop it 😭 (jk)
nah just kidding
anyway i could modify the design?
evil aikoyori mod????
i must have it
it will be a fine addition to my collection
where can I get the new version?
should i not make analog a cryptid addon while we still have no cryptid based creations
generally you can find the new version of anything in the same place you got it originally
Was just taking out the trash, there were wasps near the trash can, never have I ran faster in my life, pretty sure one of the bastards got stuck in my hair
usually the github
I just checked the github but it still gave me the old version
then again idk what version of what you're talking about
wdym by old version
you might need to get it from main and not release
aight nvm found it
how is that a downside...
is it a buff because the future stakes are evil
the funny
oh my god lmao
what does ** ** stake do
crazy
dear god its funny
cursed shadow
donut
onion ring…
yes
idk how to add anything besides jokers 😭
i've been modding for 7 months
ofc i know how to add something else
you'll learn it too
eventually
indeed
copper stake looks disgusting tbh
i dont even wanna touch it
lol
its fiiiine
i like how it looks
spotify
spotify???
want a break from the ads?
want a break from rentals?
break
glass steak: makes everything fragile
1 in 4 chance for played cards to be destroyed
What's weaker than glass
yes
like i can code it anyways 😭
Because I want a stake that has a 1 in 4 chance for jokers to be destroyed instead
it aint that bad..
nothing weaker than glass
nah its cool
chips are always equal to 1
doubles everything from the previous stakes
and probabilities too
What does trance mod do?
double just everything
astro
and how do I get it
wtf
okay
NO BARON!??!!!?
kidding herehttps://discord.com/channels/1116389027176787968/1248865517112918016
what is this menu btw? looks fancy
latest smods mod menu
oh w
ah
Idea: air stake
more like -1 hand size that is midget wee stake
Air stake - every free slot in a played hand reduces the total mult by 30%.
yum
Does this effect sounds boring for legendary
Played enhanced cards each give X1.75 Mult when scored
I mean, it is fine, I guess.
I have seen a joker above legendary giving x1.25 mult
doesnt have much post ante 8 potential
unless there's retriggers with other jokers i guess
eh?
i mean
look at canio and yorick
also triboulet is stronger than that (with x2 mult for played kings and queens)
And?
is your local casino okay with you doing this ? hmm
yeah thats definitely a straight flush
the local casino fucking hates me
i forgot to change it back
Is this difficult to program?
show us the jokers pls i need to see this
no localisation yet but its just 1 joker
oops
missing {}
hand and which arent meant to be yellow
random Hand witch
this on misprint deck equil sleeve is literally just gambling
when
at the end of the round
Butcher Vanity
I was talking about the witches
Hey what time is it
four fingers buff
peak
finally updated everything
time for the crash test
i actually dont think this is two or a pair
i expect it to do it immediately
it clearly is wdym
wait until the royal flush becomes a none'
rn none is ult pair
why is it lagging so much
okay, weird.
thats odd
id help but idk why its doin that
trying to figure out why my game is crashing atm
wuh
whiiich means i may have to remove everything first
whys that happening
boy i wish i could quit my runs ater a blind!
the evil and intimidating balatro:
hi, ive never made a mod before, how do I make my own texture pack?
Ball ball ball
my granny called she said travy you work too hard im worried youll forget about me
for playing cards: https://github.com/Steamodded/smods/wiki/SMODS.DeckSkin
for other things:
https://github.com/Eremel/Malverk
It's fantastic
i recommend the pinned message to get started
thanks :D
How possible is it to learn how to create jokers by looking at the code of existing ones?
maybe some mod you have on is doing that?
we code jokers by using the smods framewok
any joker coded using the framework
im fairly certain its cryptids fault but i have no idea what the cause is
it also doesnt happen on the rebalance branch
you can learn/copy its code
okay, maybe try to disable mods one by one
there's a rebalance branch?
yeah
i mean you can use it
wait is rebalance the branch where the mod is actually balanced
yes
this was why misprint deck was born
i did something
anyway i keep getting crashes and im trying to figure out where its coming from
the logs dont seem that helpful somewhat
at least to me since it looks very confusing here
snee
any patches?
wdym by that
its not the full log, its just the part i got when it crashed
here's the full log
oh ok then
i should not hook up 1 balatrillion chad retriggers to universum noted
how the hell are you making a mod with no code
I think that velocity id making a modpack
line piggies peven
Idk tho
bro im not making a mod
carl pewen tree
im trying to play balatro with 101 mods installed
i am mixing 2 mods that should not be mixed for the love of all balance
??
101 cross mod content
each having minimum 101 jokers
101 decks
N o
Too much
we need to get the whole server for this!
cryptposting and entropy together are a bad idea
everyone writes one cross content script
and make the sprites
then we'll have the most complete mod in the world
the 101 mods prolly would idk man
yea but im trying to find which one is causing it
computercraft crossmod
i updated literally everything
i was thinking of making the cross-mod that just makes a ton of crossmod jokers to connect all main balatro mods into one homunculus
disable them slowly
and my only possible thought would be to remove them all and do it one by one
hey chat i have an idea for a mod that adds 850 jokers
cant disable if it crashes on boot
what about opencomputers
same
If It adds lua I love it
let us hear
Should work
how do you already have such exact numbers
Cuz he smart
-# More Fluff*
also the numbers dont even add to 850
first one to explain why this is setting the function source to _G.loadstring and fixes it gets a thank you!!!!
It's 2kb
there can't be malicious code in 2 kb
please 🙏
its a .txt
with 2kb
Ik
a txt can easily have a virus
*2.01kb
I can put it in virus total
Nah its too big
"diable all" we sending the balala mods against maltheal
typo, fixed it in the message after that
I can't bro
Can someone invite me to the cryptid discord. the github link isnt working
please 🙏
i know i was just joking
Nope
wait what
oh
invalid???
-# ...did the server lose enough boosts to lose the custom link?
thank you
Very nice
I was actually gonna include smth like that while doing the mod management menu update haha
wth 💀
why I am banned
I don't even talk in cryptid
💀
what's warp
Atleast on my phone
i couldn't think of any qol stuff to add , and i don't feel like adding new SMODS stuff
https://www.virustotal.com/gui/file/77e0e1134ca6fa9950ad82a44bad7d0ae9aca02d19e13470827389d37153d07a?nocache=1 @formal orchid the file
VirusTotal
Something similar to vpn
Its too big
I aint grtting it
PLEASE BRO
"Posting Meth Recipe in Balatro Discord"
What is tue code about
wat
what even is that
I didn't do it intentionally I was just being stupid(I even deleted it like 2 minutes after realizing)
rewriting loadstring to add a function source
are you sponsored by any chance
what is this dawg
WAIT
I cant chrck code 😔
I MADE IT SMALL ENOUGH
fair
rn im working with a couple people to add better mod management + mod browser to smods
so a disable all button would be very cool
_G.loadstring = function(text, chunkName)
local result = o_loadstring(text,chunkName)
local function extract_params(func_line)
local param_str = func_line:match("function%s*%((.-)%)")
if not param_str then
param_str = func_line:match("return%s*function%s*%((.-)%)")
end
local params = {}
if param_str then
for param in param_str:gmatch("[^,%s]+") do
table.insert(params, param)
end
end
return params
end
local function wrap_result(result, text)
local t_result = result
return function(self,...)
--o_print("code:",text)
local args = {...}
if self ~= nil then
args = {self,...}
end
--o_print("called wrapped result?")
local return_value
if unpack == nil then unpack=o_unpack end
if type == nil then type=o_type end
if t_result then
return_value = t_result(o_unpack(args))
end
if type(return_value) == "function" then
print("new code:",text)
SMODS.SourcedFunction:add_source(return_value, text, extract_params(text))
return_value = wrap_result(return_value)
end
--o_print("got return value I guess?")
--o_print("return value:",return_value)
return return_value
end
end
SMODS.SourcedFunction:add_source(result, text, extract_params(text))
return wrap_result(result, text)
end
toga sponsored by 1111
this keeps setting the source to _G.loadstring instead when the function that returns function is called
is there a good mod browser for balatro?
someone help 😭
Our beloved mod forum
-# its bad
If I was, I'd say so. Even then... it's actively being suppressed here. 
he's baiting you dawg
2nd question. is there a good mod manager
right
I actually need help thoug
the /src/ui.lua is intemidating
I need that function to work
this felt like magic
BMM is the only one
#1339375696254074942
Ui................
Bro I had to write a function that reads functions from scratch
cuz I searched everywhere
and there wasnt anything talking abt reading functions as string in lua
the true flush build
loadstring in loadstring
until i lock in and add it ingame ofc 😭
crazy question
this truly is the difference between #⚙・modding-general #💻・modding-dev
yeah, you need to keep the source and get the lines
cuz the source is thrown away then it is compiled
what you tryna do, im curious
I need to modify joker code
I'll explain why
So I made a thing that modifies scaling in card
I do that by making a metatable which acts as a number
wdym by reading functions as string
so when u do card.ability.extra.<key> its actually a metatable
like parsing the lua file?
so when u try to compare #G.hands.highlighted >card.ability.extra.<key>
it errors cuz #G.hands.highlighted is a number
thank you
so I'm trying to replace every number with create_number(<>)
so it turn into create_number(#G.hands.highlighted)
kinda like that
like theres a function called a()
function a(a,b,c)
print("this is the function code",a,b,c)
end
average conputercraft player when modding balatro
then i do read_function(a)
and it returns the function as a string which can be modified with gsub and loaded with loadstring later on
however when u use loadstring
the function source gets a weird pattern
1948 lines of code ,
Ui is ui
No way
fr?
if you're changing every number to a metatable then it's a lost cause
what about gui
Yes
nice
bignum the function wdym
making a good ux is harder than making a good ui
you still haven't checked those
People, how do I make a package? I'm looking at the wiki and I don't understand.
what's ux i foro
user experience
What do you mean by package
you typically need a box or other packing material, a destination address, and some money for shipping costs
im..... so lost
fym user experience, just make your mod shit then there is no user
Bruh brother
???
package as in library ?
Self-Sustaining Discard Pile
all discarded cards are shuffled to the bottom of the deck,
if you run out of discards, gain a discard, this can only be triggered n number of times
increase n by 1 for every discard not created by this joker
How do I make card packs, man? It's not that difficult :C
no
ubisoft mindset
SMODS.Booster
function a(card)
return 1<card.ability.extra.mult
end
it's literally modding chat fym
i used to work at blizzard
so I need to do
to_big
turn the 1 into a table
return create_number(1)<card.ability.extra.mult
where the hell am i.
aura
LMFQO
change create_number to to_big
and make my mod compat with everything
how
I need to replace all the code
did not remember installing that one
create_number is used to create my custom number table
make a coding joker
is this gm construct
why do you have a custom number table
what is background changer
tangents
whuh
tangents is a virus guys uninstall right now
but i dont have it enabled yet
so I can apply a scale_mod function whenever card.ability.extra<key> gets a operation
like card.ability.extra<key>=card.ability.extra<key>+2
i thought you can use __lt and __le on card.ability.extra.mult or smthn?
as in sin/cos
So no one is going to explain to me how to make a pack of cards?
you can but it gives the error "can't compare number with table" cuz lua is stupid
you're going in the list buddy
Welcome back talisman
also yeah just use talisman
but then they don't have scale modifiers
welcome back talisman
is that pirate
no that's me
and I wanna make both compatible
how many if statements
so talisman won't have that annoying problem anymore
but I need to fix the loadstring problem
wtf is a scale modifier
oh darn it is 😭
255^4
"Goddammit Jimbo where the FUCK are we?!" /ref
me when i eat too much and i weigh myself
like this
what the cryptid
so for example
just like. copy what cryptid does
dear god
goddamn it save already
they don't support checking operations the card that is being scaled and the card that is doing the scaling If there's any
like +
and I don't know wth they do
wtf new mod menu
jokers that scale multiplicatively are bad design
yep
fucking chat, not in anything, you ask them something and they just ignore you
Forgive the expression but it's the truth
look at vanillaremade
I also wanna rewrite talisman so it won't give attempt to compare number with table anymore
cuz someone in hot potato said thats impossible
But at least a tag or a pin?
@maiden atlas
yeah.
can you Read
Bro why is it taking ages to save this profile
My tun tun tun sahur does the same thing but without the x2 it only duplicates them
LEMME GO
your ....
I WANNA DO TESTING
does lua let you overload operators? that's how I'd go about it if so, just add a special case for BigNum (operator) number or vice versa and convert both to BigNum
taking …
it does but not in the default version that the game ships with
darn
yeah that's the main issue
consider: Balatro Discord
"i also wanna rewrite talisman"
Someone’s gotta do it at some point
i hold faith that people can read
you will be going through all the circles of hell to do that my guy
I gotta be the one to save talisman
I know 😭
I'm starting to think I should stop already
hey if you manage it we’ll be saved
i hope you realise that its impossible without shipping another dll
because man we’ll get big number
Why joker not work
What in the goddamn
brainfluff
return/function(self,/info_queue,/card)
return/{vars{card.ability.extrahands,card.ability.extradiscard_threshold}}
i'm this away from doing it
so like, yeah
what in the warcrime
PLUH WHY IS THIS PROFILE TAKING TOO LONG
i hope you realise that makes zero sense
I just need to learn how the heck I make that a actual working string
what
What
That’s what I’m sayin!
that's a source function from loadstring
What
local function_source,line_defined,last_line_defined = debug.getinfo(f).source,debug.getinfo(f).linedefined,debug.getinfo(f).lastlinedefined
i can barely code and that seems off
That’s a return tho
thats how I get the function source
it is though
I need to parse it back
loadstring does that weird thing
I remembered that I don't know how to read Lua, and I don't know how it is structured either :c
i hope you realise that that is difficult
go stare at morefluff's code
why my code in particular
I know 😭
devious number index
They don’t like you /j
popular mod w consistent coding style
damn ......
this is NOT TRUE
this is not not not true
no way is this true
you were just the first to come to mind
my coding is ass
There’s probably 100 ways to do this better
but its consistent
Whose isnt
John coding
True
this is also untrue
oh
then to the person i was talking to go rummage through like just a mod's code
I THINK I'M GETTING IT
its time of truth
time to test
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
WAIT
YESSSS
WAIT ACTUALLY
I DID IT
rewrited code: return function(self, card, context) if context.discard then if create_number(#G.hand.highlighted) < card.ability.extra.discard_threshold then card:start_dissolve() end end if context.end_of_round and context.cardarea == G.jokers then ease_hands_played(card.ability.extra.hands) end end
OMGGG
NOW I JUST NEED TO FIX THAT LINE 508 ERROR
they're beginning to believe
bro if you do we are ballin
what are you even gonna name the fix mod thingymajig
Idk
name it after one of the spectrals or tarots lol
but my lib is called BalatroUtilities
I'll make it require my lib
so I self-advertise
😈
I tried to react with 💀 and forgot it was me
might i suggest Medium or Wraith
damn i need to figure out what caused this crash
gotta stop enabling three mods at a time
what it makes it sound like is that once you beat the blind (scoring needed score) the chips set back to 0 essentially trapping you in an endless loop
--
two dashes iirc
perish
Nahh you gotta do something cool with the name
I named mine after a Pokémon 🔥
i did suggest names
personally you could call it something like Judgement
judgements already a mod
everything is slowly falling into place
what about strength
or Chariot
it might count yeah
joyousspring mentioned
grab bag music is baller btw
like a lot tbh
cryptid and talisman are the only spectrals
that i can think of
oh and ankh
and familiar
Medium, Aura, Wraith, Familiar, Sigil, Ectoplasm, World, Sun, Moon, Star, Devil, Tower, Temperance, Death, Hanged Man, Strength, Wheel of Fortune, Hermit, Justice, Chariot, Lovers, Hierophant, Emperor, Empress, Magician
and soul and black hole ig
Aura exists already
oh
didnt know that
hey guys
right there
there is no current mod named Medium, i was suggesting the idea
loads shotgun
what an egg

I'm glad he got that bonus mode in the remaster of Return To Dreamland
wow
oops , i didn't mean to ping twice
1.0.0 does afaik
Very
At this point my name online is "cheeky" so
Good good
Balatrolib is an alright name but I feel like it should be saved for a massive project
Or like a library modpack
it is a massive project
I have many useful stuff
recipes
scaling_mod
patch in runtime aka modify_function
Even then, I think there are a lot of equally large libraries
And also
Coming up with a more unique name is fun
I named mine after Arceus, the god of the Pokémon
I THINK I DID IT
I THINK ITS WORKING
YEP
NOW IT TRANSFORMS NUMBERS INTO MY CUSTOM NUMBER TABLE
It's because If I didn't do that
it would be like talisman
have compat problems
and the annoying error
"can't compare number with table"
but I just transform every number into my custom number table so
it works fine
I don't think I have enough context to get why all of that is needed
you can't compare table with numbers in lua
I'm using a custom number table for custom number stuff
j
Yeah but I'm not sure why you're using number tables I meant
cuz with number tables I can replace the __add metamethod so whenever a value gets added I can modify what will happen
I'm using so I can make scale modifiers
whenever a operation metamethod gets called
it calls SMODS:calculate_scaling_mod(value,"<op>",card_being_scaled,card_doing_scaling)
then it sets the new number to that
so I can do stuff like
I think I might get it
not sure why but sometimes it takes a while to load the menu screen
sorry for the flashbang one moment
scale_mod = function(value,op,card_being_scaled,card_doing_scaling)
if card_being_scaled.config.center.key == "j_greedy" then return value*10 end
end
to multiply the scaling of greedy joker by 10
█ balatro
white stake, huh?
gamble irl how many ante's till my game suffocates and fucking dies
1
Not enough mods
But fr
How
How are you running that many
40+ mods plus beefy pc
I thought i was a mod goblin
40?
send the list, i wanna try it
I’m planning on running 101
there is always a gobliner goblin
holy shit
Well, 99 since two of those were defunct
wrapped up joker
Uncommon
X0.25 Mult for every modpack enabled
hi all
oh.
he edward
okay i am running roughly the same amount of stuff as you
and im not even done enabling stuff
cancer gaming
I’m surprised that I’m running over 100 decks now
idk how anyone could enjoy having this much added content
banner
i want list
Chaos is lovely
Working on it man
I just need to finish enabling everything
alright
bet, pick the molecule
got about half left
doing it slowly so I don’t crash and have to scramble to find what did it
yahimod 🔥
because I’m certain a few have issues
because outdated
the fuckin title screen lol
i should find smth to remove the punchline title
the ante gets uped (ex ante 3 -> ante 4)
I’ll show in a bit
i see a new version got dropped 13 hours ago
With this many mods i assume you will get big number
Do you want to have a seizure when you get big number because i turned the funny effects from mayhem into a separate mod
Shameless self advertising
same broski
made sure the ones I liked were at least close to updated
Wait do you have mayhem or did it crash instantly
i don’t have mayhem
Oh good don't get it you'll ruin everything
atm I’m too scared to run it
You'd be right
Yes and I’m working my way over to enable it
Get Tranquil® tho
🌶️
yahiamice moment (he spent 10 minutes fixing plantain just to realize its indeffinetly fucked)
Prob talisman
Eh?
No this is the Plantain mod
yes ik
98 mods 
about halfway now
assuming it doesn’t crash, yes
even then I’m not guaranteed to get through any kinds
because this is just the menu stuff
man
okay thats an odd one
lemme look through this
one of these three did it
here do you want some comically shitty unfinished jokerforge jokers :p
theyre stupid, silly, and heavily botched
i recommend Tranquil® i should stop
Okay so it was reddit
uhh okay one of them i dont have uploaded to github so heres that one and heres the other one https://github.com/lunaris-stardxst/lyrezhellhole
97 mods now
No Tranquil® is the effects from Mayhem but without Mayhem
Oh
There is a 1% chance Mayhem will ever work with that many mods
I like those odds
we are gamblers we will take any non-0 chances
may i know what is jokerforge
about uhhhh
gotta put more gambling in edward robinson balatro mod
i guess 5/8ths through
zzzz
Get banner so you can see how many items you have in total
Banner what
the mod
Mod called banner
Ah
basically the scratch of balatro modding
c
Nah I’ll be fine
It can ban things because it's called banner
BUNCO I WANTED TO SEE MY SEALS BRO
ykw ill get back to it once i get my mods in order
i love how ridiculous the wiki tooltips look with mayhem jokers
Don't stop gambling
but why
Well you see it's the fusion of Diskus Kollectum Maximus with Universal Collapse
Diskus Kollectum Maximus is the fusion of Diskus Kollectum with Collector's Edition
Diskus Kollectum is the fusion of Diskus with Collectionist
Diskus is the fusion of man with Wheel of Eternity
not enough cards
good idea I'm stealing that
very small infobox
Ello
and i got a problem with modded balatro
i was using cryptid mod before and it was normal
but now it crashes at starting balatro
update all of its dependencies
MORE.
i got last update of steammodded lovely cryptid talisman and still
btw that's 9 cards
Get the versions cryptid wants specifically
It's not always the latest version
alr ima try,ty for the tip!
btw where i can see what version cryptid need?
It's usually in the release message or README
Yahimod takes the back burner for now
is this too op for a surreal
2nd image is some other surreals for comparison
Congratulations you messed stuff up bad
Dw I am troubleshooting the three mods I put in
Nope
oh nvm, im blind
I can crop my stuff
it says windows right fucking there
And the issue was Ascensio
Where's Akiyori's shenanagins at?
im making a joker that just disables the plant blind because fuck plant
hatsune joku + cloud nine
speak of the devil
Do one for The Needle.
that is so valid