#💻・modding-dev

1 messages · Page 216 of 1

modern kindle
#

I'll have to check with autumn then
Appreciate your response:)

#

Yea idk something wasn't liked

wintry solar
#

Oh god that ui 😂

sacred lily
#

how do i calculate the requirement for the blind then take 30% off of it?

modest lake
#

new error :D

tepid crow
#

That's what we call progress 😎

#

I'm assuming PowerMod is yours?

tall wharf
#

anyway i think the edition shader looks kinda fire

manic rune
#

it is

#

much better than the last one

modest lake
tall wharf
modern kindle
#

What're you guys getting into regarding shaders? I'll be diving into that soon but don't know where I want to begin design wise

tall wharf
#

you cry for a week straight

modern kindle
#

Do my previous tears roll over

tall wharf
#

no

modern kindle
#

Hate to see it

tall wharf
#

you'll have to tally new tears

tepid crow
# modest lake

So remember how the old issue was that instead of setting it to a "Talisman number" (a fancy table), you were setting it using a "regular number" (just lua ints)?

You're having a very similar issue right now, where you're comparing a "Talisman number" to a "regular number"; wrap both sides of the comparison in to_big

tall wharf
#

but is it worth it

manic rune
#

why doesnt it work 😭

#

im setting the stuff in context.before already

#

wtf...

#

theres no way destroying cards can be this complicated

wintry solar
#

If it’s not working you aren’t assigning it correctly

modest lake
manic rune
#

yeah probably, im printing to see

tepid crow
#

I understand the confusion though lol

manic rune
#

whats to_big for actually

#

i know its used for talisman, but idk what it is for 😭

modest lake
#

also thank you so much

manic rune
#

am i doing something wrong 😭

tepid crow
manic rune
# manic rune ....

the context.before definitely ran first, and card.ability["card_to_destroy"] is definitely a card

wintry solar
#

Oh

#

There’s no other card

manic rune
#

wha

wintry solar
#

Change it to destroying card

#

And you don’t need the area check either

#

Destroying card is unique to played cards

tepid crow
manic rune
#

oh, so instead of context.other_card, its context.destroying_card?

#

nngngngn yeah that makes sense, thanks 😭

gaunt phoenix
#

How could I make to specify how blueprint/brainstorm/etc should react to a joker ? I know there is blueprint_compat, but I would like something more specific

(My joker is supposed to upgrade when I play a High Card. The problem is when a Blueprint is copying the joker, it upgrades twice because of Blueprint)

manic rune
#

and not context.blueprint

gaunt phoenix
#

ok thanks !

modest lake
manic rune
#

NGNGNGH OH MY GOD IT WORKS NOW, THANKS EREMEL AND MARIE 😭🙏

old bane
#

is there a mod that has a joker that allows you to see how much a played hand would score?

manic rune
#

i can finally sleep early...

#

the other 12 jokers and about 9 relic sets development resumes tomorrow

maiden river
manic rune
#

:3

maiden river
#

I saw it the other day

manic rune
#

isnt it just an idea though

#

i saw it too

modern kindle
manic rune
maiden river
manic rune
modern kindle
#

My dev time is pretty much 2 am to 6 am of grinding
And then I'll just periodically do shit throughout the day

manic rune
maiden river
#

I see

manic rune
#

(halted from 7 pm to 10 pm though)

modern kindle
sacred lily
#

i just do as much as i can fit in

#

which is usually 2hr a day

manic rune
#

theres still a lot to add

modern kindle
manic rune
#

half way there 😭

manic rune
maiden river
#

is this a fair nerf (used to gain X[half of rank] per card)
I think it's a good decision 😭

manic rune
#

(not a flex, since i want to make my code as SHORT as possible)

modern kindle
sacred lily
manic rune
#

if i didnt stop about 3 times to rewrite everything (to shorten the code)

maiden river
manic rune
#

i would probablyyyyyy be at about 9k lines

#

💀

#

definitely double of what i currently have

#

i mean, i have functions worth 1k lines rn

maiden river
sacred lily
#

ok

manic rune
#

imagine me not stopping mid-way to add those in 😭

tepid crow
#

functions of 1k lines sound like an issue

manic rune
spiral thunder
#

Anyone can help?? I tried to change the order but it's not working 😦

manic rune
#

like relic set effects

#

speed, action value

#

some stats

#

buffs, playing card debuffs (its different from them being debuffed)

modern kindle
#

If it don't cause errors then it's good

#

That's my motto

manic rune
#

oh, and i also implemented this uhh neat system

tepid crow
#

It IS an issue in Thunk's code 😭

manic rune
#

basically, if i were to simply add "mult = 5" in there

#

then in joker_main, the card will also return 5 mult

#

which is very efficient as it automates a lot of my work

#

which also helps with determining whether jokers originally give mult/chips for some niche effects my relic sets have

tepid crow
#

that does sound pretty good

manic rune
#

the reason why my functions are so long is because im accounting for every future possibility lol

modest lake
#

is there a way to restart the game faster when I wanna reload my mods?

tepid crow
#

hold M

manic rune
#

or alternatively, add it to your taskbar

#

close the game -> reopen it

#

its actually faster that way for me, and i wont have to see "mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm"

#

😭

tall wharf
#

mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

#

fuick

#

fuck

tepid crow
#

or alternatively alternatively, use this (and make sure to not push this to your github branch)

SMODS.Keybind{
    key_pressed = 'f5',
    action = function(self)
        SMODS.restart_game()
    end,
}
manic rune
#

if context.joker_mainmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

#

🗣️

manic rune
#

(my mod crashed once because of this 😭)

modest lake
manic rune
#

who the fuck is pressing f5 on balatro though, lets be real

modern kindle
#

I'm also making it pick a random key so you can randomly shut off your game

tepid crow
tall wharf
#

alt f5

manic rune
#

😭 how do you accidentally press alt f5

tall wharf
#

😭

modern kindle
#

You always need to make a product as stupid proof as possible so I feel it

tepid crow
#

just remove the alt+f4 at this point

manic rune
tall wharf
#

at the end of the day art is just math all over again

manic rune
modern kindle
tall wharf
tepid crow
manic rune
spring lantern
#

they drew a grape

modern kindle
#

Guys...they did surgery on a grape...

manic rune
#

crazy...

dense vector
#

With computers, art can be math

spring lantern
manic rune
#

surely no one will ever make their mod delete this part in my mod

red flower
#

lovely patching balatro star rail rn

manic rune
#

😭

spring lantern
#

making a mod specifically just to replace that with hello world

spring lantern
#

oh right

red flower
#

I'm mostly afraid of other mods breaking my 'at' patches

spring lantern
#

the indispensable hello world func

modern kindle
#

I'll patch in to replace everything in balatro star rail with just one really long rhythm game

#

Losing corrupts save

manic rune
red flower
manic rune
#

so far im doing pretty well

modern kindle
#

I've been VERY reliant on them patches

manic rune
#

surprisingly, no patches yet

#

despite how convoluted my mod seems to be

red flower
#

I don't have that many, I always prefer hooking

manic rune
#

same

#

hooking also looks cleaner

modern kindle
#

I should start hooking

spring lantern
#

ive only ever done one patch but the shit i do is very vanilla

#

hooks are your friend

#

i love hooks

manic rune
#

hooks are so good ngl...

#

i would marry hooks if i can

modern kindle
#

Don't need to worry about how clean patching looks when it's on one fuck off file I'm not touching outside of that so it's okay...

spring lantern
#

i hook so much you can call me a-

tall wharf
#

S
FGIKERADHAET

red flower
#

pirate

tall wharf
#

ALREXX

spring lantern
#

hi

tall wharf
manic rune
#

am i the only one who archives my old code here lol

spring lantern
modern kindle
#

I archive mine in a separate build

manic rune
#

(yanqing is lost into oblivion though, sadly)

red flower
#

I archive mine in old commits thats what git is for

maiden river
modern kindle
#

I only just made my shit into git this morning

spring lantern
#

i usually just comment the thing and place it at the end of the related script

manic rune
#

i havent even installed git yet

#

😭

spring lantern
#

dew it

#

makes life 100 times easier

modern kindle
#

Git is helpful for convenience I think

tall wharf
#

it's called VERSION CONTROL

manic rune
#

this is my current yanqing

#

before, its freaking

+50 Mult

#

😭

spring lantern
#

im yanqing so hard rn

maiden river
#

she control on my version till I git

modern kindle
#

Checkmate

manic rune
#

what

red flower
#

so true

spring lantern
#

restarts your program

modern kindle
#

Undo*

manic rune
#

ye ik

frosty dock
manic rune
#

😭

#

my old code was genuinely shit lmfao

modern kindle
frosty dock
#

last I checked we weren't

manic rune
#

dang.

hushed field
#

my code's still shit and I hope no one ever looks at it ❤️

modern kindle
#

That's why it's a what if

manic rune
#

i feel like some people will definitely look inside my mod and start roasting me

#

😭

frosty dock
tall wharf
#

I THINK I HAVE PEAKED

frosty dock
#

people control my versions all the time

modern kindle
manic rune
spring lantern
#

my code is shit but i have it publicly visible so i make sure to add comments that tell people how shit the code is

manic rune
#

like

#

what

red flower
#

eremel roasted me for my formatting and i've never recovered. : (

spring lantern
wintry solar
#

Did I?

manic rune
red flower
#

when you were looking at something for jokerdisplay i think

frosty dock
red flower
#

im just kidding tho

tall wharf
#

i copied a bunch of code and made it work

modest lake
maiden river
#

tbh I just use the vscode formatting for lua and tbh
it looks ass 90% of the time 😭

manic rune
#

the sprite?

modern kindle
manic rune
#

copied it, STRAIGHT from google.

#

:3

wintry solar
#

I don’t remember ever looking at the joker display code apart from when I helped with the config 😂

frosty dock
#

y'all be doing stuff that's been done before 💀

spring lantern
#

finna ask chatgpt how to make negative polychrome jimbo in balatro

frosty dock
#

couldn't be me

modest lake
tall wharf
#

like this looks cool as hell

modern kindle
manic rune
#

you cant have 2 editions on 1 joker.

modest lake
modern kindle
spring lantern
manic rune
dense vector
tall wharf
#

oh and also...

dense vector
#

Or even 2 enhancements or 2 seals

manic rune
#

i will REFUSE jokers with more than 1 edition.

dense vector
#

People have never thought to do it before

spring lantern
#

wait genuinely not even a bad mod idea to have double editions (now programming it and making it look decent is a whole other problem)

modest lake
atomic hornet
manic rune
#

true

modern kindle
wintry solar
#

People have discussed multiple editions

frosty dock
manic rune
#

i think i planned on making this animated

spring lantern
#

top half polychrome bottom half negative

dense vector
manic rune
#

though i never got my hands on a spritesheet (at 71x95)

old bane
#

new hardest effect unlocked:

manic rune
modest lake
spring lantern
#

good luck soldier

manic rune
#

i feel like that can crash your pc

#

if you are playing with cryptid and almanac 😭

modern kindle
#

If you try hard enough I'm sure anything can

red flower
#

we're calculating the calculations

manic rune
#

calculations be calculating the calculations squared

#

in other words, 🧮

modest lake
waxen mesa
manic rune
#

indentation...

waxen mesa
#

any ideas how to fix the crash

old bane
tall wharf
#
for i,card in ipairs(G.deck.cards) do card:set_edition("e_akyrs_noire") end
#

do not do this

manic rune
#

but the thing is, that shit will lag, a lot.

#

like, consider that it will be checking for high cards

tall wharf
manic rune
#

it will start calculating every single card in your hand, one by one

modern kindle
#

If fps < 15 then pls

Easy, then no lag

old bane
#

tbh

modest lake
old bane
#

the player can probably do that on their own lmao

manic rune
#

oh, but you also gotta account for lucky cards too

#

kinda hard to calculate with those

modern kindle
#

Lucky, glass, red seal

manic rune
#

and basically every other rng-related enhancements/editions

#

its very hard to estimate how much score you will get from those, unless you repeat the calculation more than once

modest lake
old bane
tall wharf
#

help my balatro froze

#

and it died

manic rune
red flower
#

F

tall wharf
#

WHY DOES RESTARTING NEW RUN CRASHES

#

nvm it doesn't

old bane
manic rune
#

if you are intending to score the hand and check how much score it gives first, then it will still use the rng lol

waxen mesa
# waxen mesa

some tips how to at least get more useful information out of the crash

modest lake
manic rune
#

nah but imagine balatro multiplayer but you go co-op instead of pvp...

tall wharf
#

I CRASHED MY GAME

modest lake
#

that'd be sick

manic rune
#

like, taking the total score from you and your friend, then check with the score requirement

#

❤️

red flower
old bane
#

would like to see that in general for roguelikes and rougelites

#

coop would be fun asf

manic rune
#

i think with Balatro Multiplayer, it shouldnt be impossible at all

turbid maple
#

co-op but you have to share the cards in hand

manic rune
#

:3

#

imagine co-op but aikoyori works on the blinds...

dense vector
#

But that would be cool

turbid maple
#

NO I NEED THAT KING FOR MY TWO PAIR PLEASE DONT USE IT

dense vector
#

Everything else would be different between the two players

modest lake
manic rune
#

oh its fucking suggested already lmfaooo

manic rune
dense vector
#

What do you mean that coop is planned?!

modest lake
manic rune
turbid maple
manic rune
#

see you in court.

modest lake
manic rune
tall wharf
#

forbidden to dog

old bane
manic rune
#

i think void might be on something yall

modest lake
tall wharf
#

SEE YOU IN COURT MATE

manic rune
#

did you try removing cryptid bigames

turbid maple
#

me when i have to shoot the creator of cryptid because im bored

red flower
#

did u try hacking into github and deleting talisman

tall wharf
#

ANYONE WANNA LETTER DECK 1V1

modest lake
manic rune
#

aikoyori, if my mod ever releases, can you make a blind for it which destroys all hsr jokers :3

tall wharf
#

the Unpitiness

#

Destroy all Chance Jokers

manic rune
#

surprisingly enough, none of my jokers involve rng in their functionalities yet

old bane
#

new cosmetic effects just dropped:

tall wharf
#

good

manic rune
#

should i add crit rate

waxen mesa
tall wharf
#

i should add edition

#

so that it wastes the edition slot

waxen mesa
#

i made a card that is a vegetable and a consumable

tall wharf
#

and it just looks like shit

gleaming zealot
manic rune
#

edition would be fire

turbid maple
#

vegetable as a card type is crazy

manic rune
#

im NOT eating my vegetable

turbid maple
#

didnt someone ask for a cooking mod you might be onto something

waxen mesa
manic rune
#

who tf go gambling to eat vegetables though 😭

red flower
tall wharf
manic rune
old bane
#

5 billion letters

manic rune
#

:3

turbid maple
#

The Entire Fucking Dictionary in Its Entirety

manic rune
#

fucking fire, thanks

waxen mesa
manic rune
#

WAIT

turbid maple
#

bocchi the rock mentioned

manic rune
#

IS THAT BOCCHI

#

GAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH

#

KESSOKU BAND 🗣️

tall wharf
#

if you wanna

#

you can try these editions out RIGHT NOW

modest lake
#

oh I like bocchi

manic rune
gleaming zealot
tall wharf
manic rune
#

available on Macs, Windows and Linux!

old bane
#

the debuff seal

modest lake
manic rune
#

handy

modest lake
tall wharf
manic rune
#

it lets you hold right click and hover across the cards to auto select them

tall wharf
#

wordle

modest lake
#

bruh I need more mods

tall wharf
#

i hate chicot

manic rune
#

(do yall play balatro without it or something 😭)

modest lake
old bane
#

oh btw is there a way to make a button that allows you to reset config to its default values?

manic rune
#

wuh

#

wym by that

modest lake
tall wharf
#

tetration

sacred lily
#

what have i done wrong here?

#

it takes away less than 40|% for sure

tall wharf
#

these descriptions are getting a bit long

modest lake
#

also MY MOD STILL BROKE Sob

manic rune
old bane
#

basically i want to make it so that when I press a button in my mod's config, it resets the config to be their default values (aka values that I set)

manic rune
#

since /2 is 50%

tall wharf
turbid maple
#

oh wrong reply

manic rune
#

chicot is indeed roughly 70%

sacred lily
manic rune
#

thank you for your wise words, void

turbid maple
#

Chicot was too overpowered and had to be nerfed

tall wharf
#

i hate baron

manic rune
#

do you hate Joker too aikoyori

#

i personally think its a bit too op

tall wharf
#

yea

#

ill make

#

all jokers are debuffed

#

PERMANENTLY

manic rune
#

thats my idea.

#

THATS MY IDEA

tall wharf
#

after this blind

manic rune
#

:(

tall wharf
#

gain 120 dollars

manic rune
#

nvm

turbid maple
#

All Jokers become Superpositions

old bane
#

Me when I play 3 High cards intentionally to get x16 Mult from my 8 Jokers that have this Badge:

manic rune
#

gain 120 dollars AND lose 120 dollars

red flower
#

all jokers disappear until ante 9

manic rune
tall wharf
#

i changed the wording

modest lake
#

istg coding while listening to my math prof is so much harder :(

manic rune
#

:3

turbid maple
#

I swear localthunk gaslighted me into thining consumeables was the right spelling

old bane
manic rune
#

yeah

old bane
#

me when two modders have the same idea:

modern kindle
red flower
#

it should play the low health music from pokemon bw

manic rune
#

technically the same if you have his e1 lmfao

old bane
manic rune
tall wharf
old bane
#

also this: (no im not going to steal cryptid's music for code packs you're crazy)

manic rune
#

i love balatro from windows xp so much

turbid maple
#

i fucking love pants and uranus

manic rune
#

that sounds like a fun idea

old bane
#

Eternal if it was based:

manic rune
#

yoink

turbid maple
manic rune
old bane
#

yes

manic rune
#

wait nvm, is that a joker with no effects except for that

#

💀

old bane
manic rune
#

oh.

old bane
#

powercrept eternal

modern kindle
#

Even if it were not every joker needs much

manic rune
#

it should definitely be really rare

turbid maple
#

ice power mr bones

manic rune
#

like, rarer than negative

#

would ice power popcorn work tho?

old bane
#

except you can only have one of these sticker effects at a time so you have to give up a potentially OP badge effect for ice power

manic rune
#

real question asked

turbid maple
#

yeah it'd continue to give you negative mult

manic rune
#

fucking nice

#

oh, i had this idea uhhhhhh

turbid maple
#

true synergy

modern kindle
manic rune
#

what if

#

there r jokers which r giving you negative mult instead of positive mult

sacred lily
manic rune
#

then theres a joker which gives you x negative mult, turning it into a huge amount of mult in the end

sacred lily
#

the rest it does work as intended

old bane
#

these effects i've been sending are what I'm gonna call badges, which are just stickers but you can only have one of them at a time (as opposed to stickers which you can have multiple of at a time)

modern kindle
#

Actually that raises a question, regarding negatives since you can get negative score can you set a blind score to negative and have the player reach a neg score to win, or would it just give you the win at 0?

modest lake
manic rune
#

the benefit is that jokers give negative mult much more compared to those that give positive mult

old bane
#

so ice power, sure your Joker is safe but you might be giving up effects like:

manic rune
#

the downside is that you really need a x negative mult joker

#

i think it would be fun ❤️

modest lake
#

oh wait

#

math nvm

maiden river
#

reminds me of when I forgot to check for stone cards with a joker and ended up with X-2e15 mult 😭

#

or something close

old bane
# manic rune Drained?

status effect from my mod that disables a Joker and you must play cards of a certain suit in order to remove the effect

#

also this effect could be kind of fun:

manic rune
#

wait

modern kindle
manic rune
#

isnt that just almanac jokers

#

they have jokers with that exact effect but for spectral, planet and tarot respectively

tall wharf
#

wtf negative

old bane
#

for double dip?

manic rune
#

maxx C

#

MAXX C

long urchin
#

what do you mean "} expected near localization" its right fucking there????

#

what did i do wrong im confused

old bane
#

i think you might've added an extra }

turbid maple
#

comma after keys

old bane
#

oh wait nvm

#

ignore me

maiden river
#

yeah you forgot a comma 😭

long urchin
#

oh god damn it

maiden river
#

I've never seen somebody so mad at an error message

long urchin
old bane
#

idk how to word this correctly

manic rune
old bane
#

forgor a colon

modest lake
#

bruh Where?!?!

long urchin
red flower
#

im the calmest programmer

long urchin
modern kindle
long urchin
#

cuz if not then ig it calls that somewhere else

tall wharf
manic rune
tall wharf
#

the height would like to meet

long urchin
modest lake
long urchin
#

i dont know where the atlas file data is

sacred lily
#

how do i add

#

like

manic rune
#

real question

red flower
tall wharf
manic rune
#

should welt be able to give Black Hole in some ways

sacred lily
manic rune
#

since uh, he can summon Black Hole :3

long urchin
modest lake
#

maybe

faint yacht
sacred lily
#

kinda like the "Upgraded!" the hiker/runner has

modest lake
#

works for cryptid tho

red flower
long urchin
#

i dont care enough to download a programming application idk where a good free one for mac is and i dont wanna go outta my way when like

tall wharf
long urchin
#

lua can be opened in text edit :V

tall wharf
#

CHAT

modest lake
tall wharf
#

what's the in game bpm of balatro theme

manic rune
#

i caught a mosquito with one hand...

red flower
manic rune
#

🙋‍♂️

modest lake
#

bruh k I need to take my goddamn meds rq

#

I don't trust anything

manic rune
#

you should trust me, bigames

#

:)

modest lake
red flower
#

bepis always tells the truth and i always lie

manic rune
#

i always lie and he always tells the truth

#

the riddle is set, answer correctly and you shall receive your talisman latest version

tall wharf
#

none of them speaks the truth

red flower
#

if you want talisman compat answer these riddles three

tall wharf
#

balatro modding discord mini challenge start

long urchin
#

jesus christ what does any of this mean what is the file data

manic rune
#

-# genuinely dont know what riddle should i be asking 😭

long urchin
#

what is atlas??????

red flower
tall wharf
#

actually no

manic rune
#

what mod is better:

  • cryptid better calc
  • cryptid old calc
tall wharf
#

if you want to use Malverk

#

here

red flower
#

i should learn malverk just to troubleshoot people here

long urchin
manic rune
#

start making yugioh joker skin...

tall wharf
manic rune
#

can you imagine the 5 legendary jokers being each part of exodia

red flower
#

i will make a touhou joker skin

manic rune
#

that would be so peak

#

oh fuck thats even better

long urchin
#

wait do i need a json

tall wharf
#

yes

red flower
#

(they will all be sumireko)

long urchin
#

FUUUUUUUUUCK

manic rune
#

its not that deep maxx C, chill 😭

long urchin
#

(ik im just overreacting cuz its silly)

manic rune
#

(ik :3)

#

is bigames alright

#

😭

#

i didnt send him to the shadow realms, did i

modest lake
#

yeah ok I believe you but that means that you be lying about that so then i shouldn't believe you? but I believe you so that means that you're telling the truth. but you said that you lie so that means I need to not trust you. but then bepis says that you tell the truth so I should believe you, but they lie so I shouldn't believe you, but you said you lie so that means I shouldn't believe you. But bepis says that you tell the truth so I should believe you? but you said you lie so I shouldn't believe you? but then bepis says that you tell the truth. I believe bepis but then you said that you allways lie so then I shouldn't believe bepis. But I trust bepis and you but I can't trust bepis and you? but I believe you so that means that you're telling the truth. but you said that you lie so that means I need to not trust you. but then bepis says that you tell the truth so I should believe you, but they lie so I shouldn't believe you, but you said you lie so that means I shouldn't believe you. Bepis says you allways tell the truth though, so I should believe you? but then you say that bepis always tells the truth which means that you're telling the truth but you said that you lie? That means that you be lying about that so then i shouldn't believe you? but I believe you so that means that you're telling the truth. but you said that you lie so that means I need to not trust you. but then bepis says that you tell the truth so I should believe you, but they lie so I shouldn't believe you, but you said you lie so that means I shouldn't believe you. But bepis says that you tell the truth so I should believe you? but you said you lie so I shouldn't believe you? but then bepis says that you tell the truth. I believe bepis but then you said that you allways lie so then I shouldn't believe bepis. But I trust bepis and you but I can't trust bepis and you? but I believe you so that means that you're telling the truth. but you said that you lie so that means I need to not trust you. but then bepis says that you tell the truth so I should believe you, but they lie so I shouldn't believe you, but you said you lie so that means I shouldn't believe you. Bepis says you allways tell the truth though, so I should believe you? but then you say that bepis always tells the truth which means that you're telling the truth but you said that you lie? So then you're lying but you are telling the truth? Bepis says you allways tell the truth though, so I should believe you? but then you say that bepis always tells the truth which means that you're telling the truth but you said that you lie? That means that you be lying about that so then i shouldn't believe you? but I believe you so that means that you're telling the truth. but you said that you lie so that means I need to not trust you. but then bepis says that you tell the truth so I should believe you, but they lie so I shouldn't believe you, but you said you lie so that means I can't trust you? but I trust you? but then you say that I can't so then should I? But then if I do then I can't trust you? Bepis says I can and I trust bepis so then I should trust you but I can't trust you? I can trust bepis but Bepis says I can't trust Bepis so then I can't? But I trust bepis and you but I can't trust bepis and you? but I believe you so that means that you're telling the truth. but you said that you lie so that means I need to not trust you. but then bepis says that you tell the truth so I should believe you, but they lie so I shouldn't believe you, but you said you lie so that means I shouldn't believe you. Bepis says you allways tell the truth though, so I should believe you? but then you say that bepis always tells the truth which means that you're telling the truth but you said that you lie? That means that you be lying about that so then i shouldn't believe you? but so if I can't believe you can I tust bepis but I trust Bepis so then do I trust you? Bepis says I should trust you but you say I can't so then wha

old bane
#

wha

red flower
#

wha

modern kindle
#

Woah

edgy reef
#

copy pasta?

long urchin
#

Is there like a template file for the json needed for atlas

turbid maple
#

just drink the wine in front of you its not that deep

modern kindle
#

Bepis what have you done

red flower
#

minor spelling mistake i win

frosty dock
#

ayo what happened here

modern kindle
#

Just some tomfoolery

tall wharf
#

mr steamodded

frosty dock
#

text walls? in my balatrocord?

modern kindle
#

Sorry Mr mods won't happen for 3 minutes

modest lake
#

@manic rune please I need help here, do I trust you or do I not but you said you lie... So can I trust you or @red flower do I trust you? But you always lie how...

tall wharf
#

theyv both are lying

manic rune
#

jesus balatro christ 😭

red flower
#

sorry i dont continue bits past the 5 minute mark

long urchin
#

this is what happens when you try to code

modest lake
#

anyways my mod is still broken cry_sob

frosty dock
#

the person you should trust is me frfr

modest lake
#

Ok I trust you too

tall wharf
#

the plot thickens

frosty dock
#

yeah so what's broken

modest lake
#

my mod

modern kindle
#

I don't know why but that answer made me chuckle

frosty dock
#

no shit

modest lake
#

I'm fine I promice I'm doing amazing even like really well and i'm even cheery but my mod is the thing that's broken

tall wharf
#

i was confused for 5 years

frosty dock
#

not my wiki page, not my problem
-# /j will do

tall wharf
#

also

#

what's the bpm of in game music

#

as in the BPM it plays in

sacred lily
#

where can i see the example programmed jokers

old bane
#

wait editions have calculate functions

#

for the longest time i thought they didnt

modest lake
gleaming zealot
#

i see the ligh

red flower
sacred lily
#

thanks

#

wait no they'r enot it

red flower
sacred lily
#

actually yeah they are

#

sorry

modest lake
#

bruh I'm getting too tired for this

red flower
#

oh update cryptid too

modest lake
#

I removed it, the voices told me to get rid of it before I troubleshooted my own mod

frosty dock
tall wharf
#

and what speed do i need to ramp it up to in audio editor

hushed field
#

a mod's config menu isn't automatically generated, but needs to be set up yourself, right?

red flower
#

yes

red flower
hushed field
#

i guess that's next on the to-do list. Can't push a feature with a potential for breaking this badly without having it be opt-in haha

long urchin
frosty dock
tall wharf
#

ah ok

glad osprey
#

is it possible to make a deck that renders like the legendary jokers

tall wharf
#

ty

sacred lily
#

what's the error here?

#

it doens't seem like a syntax error but idk

red flower
#

that comma

tall wharf
sacred lily
#

thanks

#

i need to learn better comma placement, they cause 99 percent of my issues along with brackets

long urchin
red flower
#

commas go inside tables and almost nothing else
oh, and function arguments i guess but those are not usually followed by line breaks

tall wharf
long urchin
#

why is this so comfusing

tall wharf
#

ok u can remove these actually but

long urchin
#

oh

tall wharf
#

put this in dependencies too

#

also add mod prefix to this

long urchin
tall wharf
#

prefix_snowman

long urchin
#

ahh ok

tall wharf
#

balala remix

long urchin
#

didnt fix it

glad osprey
#

(left is a joker right is the deck)

modest lake
long urchin
#

provide code?

frosty dock
modest lake
#

certified moment in history

tall wharf
long urchin
#

yeah

glad osprey
#

how does the soul rendering work and how would i recreate it

old bane
modest lake
#

this should be as simple as it gets no?

#

just return the number

red flower
#

you're returning a table with a number

glad osprey
#

i have no clue how to do the thing

#

how do i define that i would like to draw the soul

old bane
#

do you want the soul sprite itself?

glad osprey
#

no

old bane
#

oh

glad osprey
#

i just want to render my deck like its a soul

bold sleet
#

Hello, good people from the internet! I come here with a maybe complex, maybe simple question: How does one edit the main menu? Mainly the balatro title, which I don't want to replace, but rather add something new to it (that isn't replacing the sprite).

glad osprey
#

hi jogla

bold sleet
#

Oh!

#

Hi squidguset

#

great

#

I tried reading from another mod and uh...

old bane
#

do something like

local scale_mod = 0.07 + 0.02*math.sin(1.8*G.TIMERS.REAL) + 0.00*math.sin((G.TIMERS.REAL - math.floor(G.TIMERS.REAL))*math.pi*14)*(1 - (G.TIMERS.REAL - math.floor(G.TIMERS.REAL)))^3
local rotate_mod = 0.05*math.sin(1.219*G.TIMERS.REAL) + 0.00*math.sin((G.TIMERS.REAL)*math.pi*5)*(1 - (G.TIMERS.REAL - math.floor(G.TIMERS.REAL)))^2

self.children.floating_sprite:draw_shader('dissolve',0, nil, nil, self.children.center,scale_mod, rotate_mod,nil, 0.1 + 0.03*math.sin(1.8*G.TIMERS.REAL),nil, 0.6)
              self.children.floating_sprite:draw_shader('dissolve', nil, nil, nil, self.children.center, scale_mod, rotate_mod)

this could be how you get the soul sprite? just change all of the instances of self to card

glad osprey
#

i put that in draw?

bold sleet
#

prob

old bane
old bane
#

i did something similar for my replica edition tho idk how it would go for decks

glad osprey
#

good news it didnt crash bad news it didnt work

maiden phoenix
# modest lake

it has to be return card.ability... not return {card.ability..., don't return a table for calc_dollar_bonus

glad osprey
#

oh i found the issue

#

there just is no draw function for decks

#

yayyyyyyyyyy

modest lake
bold sleet
#

I want to like, add a splash text like minecraft java edition does.

#

Not randomized.

maiden phoenix
#

lovely patch my beloved

bold sleet
#

here

bold sleet
modest lake
modest lake
bold sleet
maiden phoenix
bold sleet
#

Like shown in the image.

modest lake
bold sleet
#

oh

#

It is fine.

#

Well, it is fine...

#

As long as you give up 2 of your hands.

#

-2 hands, good luck

modest lake
#

okayy :(
i have a collection if you want some.

glad osprey
bold sleet
bold sleet
spring lantern
#

wait whatre ya tryna do

#

also lovely patches sound scary at first but it aint that bad at all

tall wharf
red flower
spring lantern
bold sleet
spring lantern
#

oh uh i don't know ui things my bad g

bold sleet
#

And I don't like to implement code that I don't understand.

#

Like, what the heck does that do?

spring lantern
#

this is good practice

bold sleet
#

How what huh?

red flower
spring lantern
#

i mean understanding the code you write

#

some mfs out here copypasting from chatgpt

bold sleet
#

I believe it is very important if you want to like, work on your project for more than 2 months.

spring lantern
#

and also commenting

bold sleet
#

-# note: it is not 'my' project but rather someone elses's project and I just work for it because funs

spring lantern
#

ive had projects i didnt write a single comment then came back a few months later and was like what the fuck

red flower
#

this is what the game does

bold sleet
spring lantern
#

good in moderation

bold sleet
bold sleet
spring lantern
#

tbh most of my comments are just goofy shit

bold sleet
#

the comments in question:

#

So uh... again, help

#

I don't know how to lovely patch, I don't know if I have to.

red flower
#

If you tell me what you're not understanding about the code I posted I can help

gleaming zealot
#

@tall wharf The Recession
-$1 for:

  • Every played card
  • Every card held in hand
  • Every joker
  • Every consumable
  • -$25 if defeated
  • Permanent: raises debt cap to -$150. If debt reaches cap, lose the run.
  • Temporary: Disables all economy jokers
  • Disables selling this round.
bold sleet
red flower
#

Do you know what a hook is?

bold sleet
#

I am very quite dumb. Forgive me.

gleaming zealot
stiff locust
#

just anti endless

#

chicot save me

gleaming zealot
red flower
gleaming zealot
red flower
#

What you need to do is make an atlas like this and replace that with the logo you made

#

You might also need to change those 13 * 1.2 values (they're the width and height of the sprite)

bold sleet
#

Trying to understand.

#

So that thing like, overrides the oroginal function or something?

red flower
#

basically

bold sleet
#

Like, not fully, but the values that you add in?

red flower
#

yeah

bold sleet
#

Alright.

quasi ravine
#

I am sorry for the rather stupid question. But is there some balatro api documentation somewhere? To look up available objects/functions etc.
I somehow couldn't find it myself.

bold sleet
#

Well, that partially answers another question I had.

bold sleet
#

Give me a sec.

#

I'll find 'em for ya'.

red flower
long urchin
#

figuring out steammodded deckskins is giving me gray hairs and wrinkles

bold sleet
quasi ravine
#

Thanks a lot!

bold sleet
waxen mesa
#

ok i have to end for today, but here is my consumabletyp, any potentially errors?

bold sleet
#

Like the 'hook' thing but without completely f*cking up the previous values.

red flower
#

You can either hook or patch it

bold sleet
red flower
#

but in both instances you need to replace the splash logo

red flower
bold sleet
#

Let me ask the specific question: Is there a way to add a info_queue thing through for example, a for look?

red flower
bold sleet
#

Hold on.

#

Imma go try something real quick.

primal robin
tall wharf
#

i forgot

scarlet spire
#

is it possible to disable the shadow on the soul sprite of a joker?

gleaming zealot
#

when listen to your mother joker

tall wharf
#

why did i do this

atomic hornet
#

Is there a way to get the calculate / context functions work outside of an object / joker?

I effectively want 4 random numbers to be generated when a new round starts, or on blind selection, but so far can only get the random numbers to change if set to an object, and then that object is collected in the run. Without being set to something the game either won't open, or it picks a number and sticks with it until the game is reloaded.

#

Feel like there's probs an easier way I'm missing tbh

stiff locust
#

what if you made an invisible joker

#

and stored it off screen

#

and didn't emplace it

#

and then used it as a medium for joker contexts

#

I really want this to be an idea that is used even though I am totally overcomplicating it

quartz ravine
#

Guys what is discord trying to tell me here?

What does the 1 mean? !

gleaming zealot
quartz ravine
#

Thank you @gleaming zealot it won't stop showing me the pink and I cant find the ping either!

atomic hornet
# stiff locust and then used it as a medium for joker contexts

Is that something other mods do?
Feel like you'd need to be granted that joker when every run starts, which I imagine I could set up for the base game decks, but then any modded runs it wouldn't apply?
Also just feel like there's probably a simpler way.

tall wharf
#

just press shift escape

gleaming zealot
#

someone pings you and deletes the message

tall wharf
#

to read all

stiff locust
#

nobody would ever do that

quartz ravine
#

Is this like when we told people to hold f4 then hit Alt for the secret dev console in Runescape?

stiff locust
quartz ravine
#

has signed offline

stiff locust
quartz ravine
#

Hey @stiff locust , did you figure out the repetition behavior problem from last night. I tried to repro and spent two hours trying to get a custom edition working before giving up for the night

#

I tried to help!

stiff locust
#

oh yeah I got the enhancement working

tall wharf
#

my observer works by detecting changes

stiff locust
#

now I gotta figure out the chariot code

atomic hornet
stiff locust
#

i have no idea how balatro does that and honestly i dont wanna deal with the vanilla method

quartz ravine
#

I implemented my own chariot behavior for golden cards, let me know if you'd like to see

#

I mean for gold seal cards*

stiff locust
#

chariot applies steel enhancement to 1 card

#

i just need a tarot that does that so i can reference it

quartz ravine
#

I have a sample of that too, want me to IM you

stiff locust
#

ligma shield

IM? what
quartz ravine
#

DM, sorry

gleaming zealot
stiff locust
#

oh

stiff locust
stiff locust
#

and it always has that stupid red dot

#

and I can't remove it cause it crashes graagh

#

anyway sure

quartz ravine
#

G.E_MANAGER:add_event(Event({
trigger = 'after',
delay = 0.3,
func = function()
local card = G.hand.highlighted[i]

                    card:flip();
                    card:set_edition("Fox_ghostRare", true)
                    return true
                end
            }))

My edition is called ghostRare and my prefix is fox. The error message is 'nil value in p_edition' which comes from line 1441 in overrides.lua

If my edition naturally spawns, it works. But if I try to set_edition, it fails

wintry solar
#

e_Fox_ghostRare

stiff locust
#

wait why are you only flipping it once

#

you gotta flip it back up again (but edition application doesn't flip the card)

quartz ravine
stiff locust
#

no i know that

#

edition application usually doesnt flip the card though

quartz ravine
#

In my scenario, I am flipping over all the cards, applying an enhancement to one or none of them, then flipping them back over

stiff locust
#

well you do need to flip the cards back up then

quartz ravine
#

I actually did forget that at first. And they all stayed flipped down. It was very puzzling lol

stiff locust
#

yeah they do that

long urchin
#

why does the left one work but the right one not? i literally copied the lua and just changed the keywords in the files so that theyre recognized as separate mods but its just not working??????

#

i dont see what im missing help

tall wharf
old bane
#

i wonder if you can make it so that a shader applies to the border of a joker

#

aka what if i can like add borders to jokers and then apply shaders to those sprites

quartz ravine
glad osprey
#

hmmmmm

edgy reef
#

update SMODS

long urchin
#

I did update it

#

Is there an updater or something? I tried reinstalling from the github

edgy reef
#

This is alpha, not beta

long urchin
#

I'm on the beta

glad osprey
#

i think they are talking to me

long urchin
#

Oh

gleaming zealot
#

Oops! The game crashed:

glad osprey
#

Oops! all sixes:

gleaming zealot
turbid maple
#

Oops! All nils

sacred lily
#

Oops! All "Oops! All Sixes!"

spring lantern
#

lets say for the sake of argument i want this song to play while opening a specific type of booster pack

#

how do i perform this action

green mica
#

I forgot to send my message oops

#

I was gonna ask if anyone knows how to make a copy of a card like DNA or something

quartz ravine
#

I wrote this function to keep me from throwing all the time when logging

#
    local retVal = ""
    if s == nil then
        return retVal
    else
        return s
    end
end
green mica
#

wait not hand

#

I'm dumb

#

suit

quartz ravine
# green mica I was gonna ask if anyone knows how to make a copy of a card like DNA or somethi...
 G.playing_card = (G.playing_card and G.playing_card + 1) or 1
                    local _card = copy_card(context.other_card, nil, nil, G.playing_card)
                    _card:add_to_deck()
                    G.deck.config.card_limit = G.deck.config.card_limit + 1
                    G.deck:emplace(_card)
                    table.insert(G.playing_cards, _card)
                    playing_card_joker_effects({ true })
                    card_eval_status_text(context.blueprint_card or card, 'extra', nil, nil, nil,
                        { message = localize('k_copied_ex'), colour = G.C.FILTER })
#

Depends on when you want to copy, but if you're in context.individual and want to copy a card, this would copy a card and add it to your deck.

You could change the line to G.hand:emplace(_card) if you want to put it in your hand instead of the deck

green mica
#

I see...

#

Lemme see if I can get that to work

faint yacht
spring lantern
#

okay so how do i use this

#

i need to check if the player is in the process of opening a booster pack of a specific type

unkempt thicket
#

does localization need anything outside the localization file?

green mica
#

Okay yeah that'll work for sure! Thanks FoxDeploy!

#

I'll have to fiddle around with the contexts now to get the timing right

formal parrot
#

Can anyone help me with this ?

sacred lily
#

how can i give a random card in the played hand an edition?

formal parrot
#

SMODS.Joker {
key = 'growing_joker',
loc_txt = {
name = 'Growing Joker',
text = {
"Starts with {X:mult,C:white}X#1#{} Mult",
"Gains {X:mult,C:white}X#2#{} Mult for",
"each card triggered"
}
},
config = { extra = { Xmult = 1, growth = 2 } },
rarity = 2,
cost = 8,
atlas = 'ModdedVanilla',
pos = { x = 6, y = 0 },
loc_vars = function(self, info_queue, card)
return { vars = { card.ability.extra.Xmult, card.ability.extra.growth } }
end,
calculate = function(self, card, context)
if context.joker_main then
return {
message = localize { type = 'variable', key = 'a_xmult', vars = { card.ability.extra.Xmult } },
Xmult_mod = card.ability.extra.Xmult
}
end

    -- Increase multiplier every time a card is triggered
    if context.repetition then
        card.ability.extra.Xmult = card.ability.extra.Xmult + card.ability.extra.growth
        return {
            message = 'Growing Stronger!',
            colour = G.C.MULT,
            card = card
        }
    end
end

}

#

It doesn’t work for some reason

green mica
#

Could you elaborate on how it doesn't work? Does it crash on start or something?

formal parrot
#

Yea when i play a hand

#

It supposed to give extra x2 mult whenever a card is scored

#

The card description also doesn’t seem to work

spring lantern
#

so what does the crash message say

formal parrot
#

1 sec i closed it

#

Fonctions/state_events.lua:1104 :’for’ limit must be a number

spring lantern
#

can you send a screenshot of the full thing

#

the full crash log i mean

formal parrot
#

Yea one qec

#

Sec

#

LMFAOOOO

spring lantern
formal parrot
#

Fuck

#

I got a new error now

#

Great

#

Sorry my pc fucking sucks

green mica
spring lantern
formal parrot
sacred lily
formal parrot
#

I actually have the latest version but i switched so i can play crypit halloween update

#

I forgor

green mica
#

I think lua uses math.random()

red flower
#

use pseudorandom or pseudorandom_element

green mica
#

Oh my bad lol

#

I'm new here btw haha

red flower
#

random doesn't account for the seed

green mica
#

Yeah I didn't think about that lol

sacred lily
spring lantern
#

any of yall ever done custom music before?

formal parrot
red flower
formal parrot
#

If it doesn’t work now ima head to sleep

#

Nowaayyy

#

It worked

sacred lily
formal parrot
#

Never fucking mind

spring lantern
#

the fact that i'm resorting to digging through cryptid code to try and find out how they do custom music and instead i find the entire bee movie script

formal parrot
#

Attempt to preform arithmetic on field ‘perma_w_chips’ [a nil value]

sacred lily
#

then i just need to upgrade the chosen card into a Gold card

#

which should be fairly easy?

formal parrot
#

On card play

red flower
#

are you continuing a run

#

from a previous update i mean

formal parrot
formal parrot
#

Shouldn’t i ?

spring lantern
#

start a new one

formal parrot
#

It works !!!!

#

Thanks guys

spring lantern
#

oh my god theres a fucking music example mod why didnt i check the example mods

formal parrot
#

It’s a bit overpowered

spring lantern
#

that's straight up a legendary

#

i thought it was meant to be unbalanced

formal parrot
#

this is Exotic 😭

spring lantern
#

actually yeah

formal parrot
spring lantern
#

might wanna tone it down or add a condition for triggering the upgrade

formal parrot
#

Any ideas ?

#

To nerf it

sacred lily
#

how do i upgrade a card from a Joker

formal parrot
#

What the fuck it’s on 75x mult

spring lantern
#

instead of x2 mult every played cart what about x1 mult every few played cards

sacred lily
#

as in, make a card upgraded because of a Joker

formal parrot
spring lantern
#

i meant more like yorick where it upgrades every 25ish discarded cards

acoustic sundial
#

I'm having trouble making a new custom rarity that is excluded from the pool of Jokers that appear in the shop. Anyone got a direction they can point me in?