#⚙・modding-general

1 messages · Page 43 of 1

sleek granite
#

GITDtamariPlush 👍

exotic shadow
#

oh also I found some super handy debug mode keybinds that aren't shown in the menu

#

in the stock debug mode

sleek granite
#

oh bet

exotic shadow
#

most notably, b starts a new run, l loads your save

#

theres some more as well

sleek granite
#

does it include space crashing the game

exotic shadow
#

yes

#

well

#

space runs live_test

sleek granite
#

yeah that crashes on title screen lol

exotic shadow
#

actually I think it only crahses on the new build

sleek granite
#

oh mayb

exotic shadow
#

cause I peaked at what the function did in the code and it was empty but then I pressed it and it crahsed, but my source code is from the old version

#

let me update it

#

looks like in this build space evaluates the highlighted poker hand

#

not sure what it does with this info

sleek granite
#

well if G.hand doesnt exist that makes sense for it to crash

exotic shadow
#

yeah

#

I could disable this check

#

might be good cause it just seems like a localthunk test code button

long vortex
#

Is there a way to do this like a mod or a code that let me adjust the menu of the game for a wide monitor

sleek granite
#

i was having a good day until you reminded me ultra wide monitors exist

sleek granite
#

please never take me seriously

#

pretty much all the games menu stuff is made to be the size it needs to be to contain what it contains

#

so the short answer is no and the long answer is your monitor

#

(also ui code is hell)

rare shell
#

take me seriously instead

sleek granite
#

thats somehow a worse idea

rare shell
#

one of us always tells the truth and one of us always lies

sleek granite
#

what would i do with you? where would i take you?

sleek granite
exotic shadow
iron onyx
#

oh

#

well that was easy

sleek granite
#

oh sick

#

at both

iron onyx
#

ideally i'd like it to replace the "rank of suit" thing with "X of suit"

sleek granite
#

make sure to put the chip value in the desc

#

and the hiker bonus

iron onyx
#

and i don't know why this is deciding to render on all playing cards now

#

oh there it is

sleek granite
#

considering rebranding moreconsumables.....

#

morecontent maybe.... just to have it be a general content mod....

iron onyx
#

yep, just had to nil out the card_type

sleek granite
#

you did what

iron onyx
#

i am learning the eldritch craft of BADGES

exotic shadow
#

so anyways I need to touch UI now

#

should I just end tonight on a good note or forge on?

sleek granite
exotic shadow
#

the good news is I am using lovely so I can patch stuff in and not access sub array upon sub array upon sub array

sleek granite
#

trûë

haughty hinge
#

the i win joker goes hard(cause of the chips)

warm tide
#

how do i edit an existing joker using balamod???????

stone brook
warm tide
#

i think i'm figuring it out

exotic shadow
sleek granite
#

balatro but you have a gun

exotic shadow
#

that took way longer than I expected

#

I'm going to sleep now but let me know if you all can think of any other good debug stuff i should add

rare shell
#

hi chat what do we think about this effect

hard grove
#

that's so cool and fun

#

and balanced

#

with dusk or seltzer that's 100 chips so you need multiple retriggers to get the most from it

rare shell
#

Could probably be a common tbh

sleek granite
#

this round, not this hand

hard grove
#

ohhhhh

stone brook
#

does it proc on steel cards?

rare shell
#

Oh lmao

hard grove
#

ohhh noooo

rare shell
#

It was supposed to be this hand

#

I'm dummy

sleek granite
#

oh what

hard grove
#

it would be too powerful as round

rare shell
#

Yeah the idea was you stormed off with red seals and stuff

#

I don't think I'll make it trigger with cards in hand and just fiz the wording a bit

sleek granite
#

hee hee hoo hoo

#

whats the storm count at?

rare shell
#

35

sleek granite
warm tide
#

is there any way to look at how some of the vanilla jokers work so that i can get an idea of how i can make a custom joker?

sleek granite
#

7zip can open balatro.exe

rare shell
#

chat am i stupid

#
        SMODS.Jokers.j_cardslinger.calculate = function(self, context)
            if context.individual then
                if self.ability.extra.clear_cache then
                    self.ability.extra.trigger_count = 0
                    self.ability.extra.clear_cache = false
                end
                self.ability.extra.trigger_count = self.ability.extra.trigger_count + 1
            elseif context.joker_main and context.cardarea == G.jokers then
                self.ability.extra.clear_cache = true
                return {
                    message = localize{type='variable',key='a_chips',vars={self.ability.extra.chips}},
                    chip_mod = self.ability.extra.chips * self.ability.extra.trigger_count
                    colour = G.C.CHIPS
                }
            end
        end
    end

im getting crashes with this piece of code. if i cut out the elseif clause entirely, its fine, but otherwise, it'll crash with no error log, so i suspect i messed something up really bad here

#

i realize now the chip display will be incorrect here but thats Neither here Nor There

#

do i have to localize the variables here

grand geode
#

crashing without error log is likely an infinite loop issue

rare shell
#

ive seem to narrowed it down to the way im returning the chips here to be an issue

#

but i dont know why

grand geode
#

oh hmm

rare shell
#

i even cut out the formula here and just tried having it return the base chip amount and im still getting crashes

#

making it return nil seems to have the game boot up fine

runic kraken
#

there is a , missing

#

after chip_mod

rare shell
#

its always a comma

grand geode
#

didn't spot the comma since mobile moment

rare shell
#

yup literally was

grand geode
#

moment

sleek granite
#

what moment

iron onyx
#

I AM A WIZARD

wanton rapids
#

does the cross enhancement always make it look like an ace?

sleek granite
#

id assume so, otherwise that seemingly rank-sorted hand makes no sense

#

superposition might be weird with this

wanton rapids
#

is K Q wild wild wild two full houses at once?

sleek granite
#

4oak id think

iron onyx
sleek granite
#

unless im forgetting my hand order

iron onyx
#

i might figure out a way to word it better but

#

that's how i balanced it away from XOAK's

sleek granite
#

flush five of X...

#

does it score chips at all?

iron onyx
#

nah, that would become a royal flush

sleek granite
#

ohhhh

iron onyx
#

again

#

EACH RANK IS

ONLY COUNTED ONCE

sleek granite
#

so multiple X cards in the hand cant choose the same rank

iron onyx
#

exactly

sleek granite
#

saying it bigger doesnt make it make more sense

iron onyx
#

fair

#

i guess i did kinda word it obtusely

#

but that is what i meant by it

sleek granite
#

nothing about that sentence implies the X Card cares what other X Cards are pretending to be

iron onyx
#

multiple X cards in the same hand will not count toward the same rank

#

so KQXXX is two pair

sleek granite
#

not straight?

iron onyx
#

actually yeah

#

KQXXX would be straight

sleek granite
#

but does it charge my pants...

iron onyx
#

no, because the XXX essentially becomes JT9

sullen bison
#

I would suggest a symbol that looks a bit different from an ace, esp if they are sorted to be next to them

iron onyx
#

that's fair

#

i might just do a big fancy x on the side

sullen bison
#

could just try and slap all the numbers in a vertical line on them

rare shell
#

oh thats a familiar face

#

long time no see harb

sullen bison
#

Ello ello

#

Helps I don't cahnge my avatar ever, :P

rare shell
#

definitely 😛

sullen bison
#

I guess I shouldn't be suprised to see the custom mtg community in this chat

sleek granite
#

no time no see ( i am blind ( this is not a true statement ) )

#

shoutouts to when i used to make whole sets in MSE but never like joined The Community

rare shell
#

i used to mod the custom mtg server for a good bit

#

lots of neat folk ive met there

#

the only set i ever even got closed to finishing never went anywhere

#

then outlaws came out which is more or less the exact premise of my set minus the wild west

#

and i was very fblthp

sleek granite
#

oh they werent GOOD sets

#

(mine, idk yours)

sullen bison
#

working on a cursed mod already :P

sleek granite
#

cant be more cursed than 0 of diamonds

sullen bison
#

Well, what if you could play zero cards

rare shell
#

ror2 modding community?

#

what is this a cross over episode?

#

thats not the right sticker but thusly appropri

#

i see you bill

sleek granite
#

modders rise up

rare shell
#

we just got everybody coming out tonight

rotund sparrow
#

paladin in balatro when

rare shell
#

wait this is a different bill

#

im Stupid

#

still consider yourself seen

sleek granite
#

can i be Seen

#

thanks

rotund sparrow
#

im the guy that has meme artwork pinned on the meme channel

#

on ror2 modding server

rare shell
#

actual ror2 raid...

rotund sparrow
#

maybe i could make something here too

rare shell
fallow bramble
#

ror2 modding community trying not to fill the mod list with modpacks (impossible challenge)

sullen bison
#

We can make the difference this time

sleek granite
#

i wanna be on the thunderstore.....

rare shell
#

you know you can upload to it right now

#

i need to update my ts repo

sleek granite
#

maybe when im older (jk)

rare shell
#

but im tire

#

🏎️

fallow bramble
haughty hinge
#

balatro with yugio mechanics(reading the text is longer than beating the game)

sleek granite
#

thats how i felt with my Meteor Observatory Effect tooltip CoolCry

haughty hinge
#

i would love to make a reviving mechanic for destroyed jokers lol

#

first step: learn how to mod

rare shell
#

pack where you get offered jokers/consumables you've used or sold

sleek granite
haughty hinge
#

i was thinking adding a whole ass tribute system

sleek granite
#

TRIBUTE?

haughty hinge
#

yuh

sleek granite
#

you steal men's souls!

haughty hinge
#

based on rarity

#

and maybe one other thing

#

but idk

#

haven't thunk this through

sleek granite
#

its ok i cant think

haughty hinge
#

imagine a Joker graveyard

rare shell
#

autumn im gonna be real i have no clue what the observatory effect is refering to

haughty hinge
#

maybe the system can be like "Destroy the 2 leftmost Jokers of x rarity to summon this Joker"

sleek granite
#

lyman pls

#

Observatory.... the voucher that makes planets boost their hands....

rare shell
#

OH

sleek granite
#

layman it is past your lay time

rare shell
#

artbrain

sleek granite
#

maybe i should have the observatory effect tooltips say "buy the voucher to receive:"

#

advertising in balatro.... smh.....

#

jimbo shop must be stopped.....

haughty hinge
#

What if:
"Sacrifice 2 Jokers to apply Revive to a selected Joker"
Revive: When a Joker is sold/destroyed, it will appear in the shop after 3 rounds

sleek granite
#

good luck

rare shell
#

seems really weak

sleek granite
#

that sounds complicated af

haughty hinge
#

of course im thunking this in real time

sleek granite
#

and also yeah kinda weak maybe?

haughty hinge
#

so even i don't know what im doing

sleek granite
#

i never know what I'm doing

rare shell
#

i know what youre not doing

sleek granite
#

whats that Artist Lyman?

rare shell
haughty hinge
#

maybe instead of it appearing in shop, it automatically puts itself back in your joker slots as a negative

#

after some rounds

sleek granite
#

is it "releasing oddity api"

haughty hinge
#

m

umbral pilot
#

harb

#

now that's a face I haven't seen in a long time thonktwist

boreal ibex
#

harb,
now thats a face i havent seen

sleek granite
#

harb,

haughty hinge
#

har

#

har

rare shell
#

i guess you can say no one here harbours ill will

sleek granite
#

i harbor all the ill will

#

any williams are allowed to seek shelter regardless of health

boreal ibex
#

any sick williams in the chat hit this person up

winged scroll
#

which mod adds the set of jokers skoottie was using in his videos?

sullen bison
#

gonna need to be more specific

rare shell
#

probably the ones he listed in his video descriptions

winged scroll
#

ah ty didnt know he did that

#

How to install Pampa jokerpack i am on the github page but i see no releases

rough horizon
#

probably just download the entire zip

turbid tiger
tardy sierra
sleek granite
#

what?

rough horizon
fallow bramble
#

Does someone know a modded joker that has 2 probabilities in it?

haughty hinge
# sleek granite what?

another mod basically does the whole increase and decrease level thing with reverse priestess

sleek granite
#

oh is it jellymod

#

that would explain why i have no idea that existed

haughty hinge
#

yuh

wanton rapids
#

oh this just got taken down

sleek granite
#

GITDtamariPlush lets goooo

rare shell
#

i was poppin that my art got stolen

boreal ibex
#

dont worry lyman your art is still awesome

umbral pilot
#

lyman is the best

rare shell
#

yeah but is it stolen by the chinese mod market awesome

#

not anymore

umbral pilot
#

I mean it was good enough that someone would want to steal it

#

... if that's a positive, idk

rare shell
#

(i am very amused by the whole thing tbh sorry to all the other folks that got their stuff scraped)

#

jokes aside it IS strangely affirming??

haughty hinge
#

lol

rare shell
#

this is why we need the dong zhao joker pensiveblock

haughty hinge
#

lmao

#

any way to learn how to do mod stuff

#

cause i got tons of ideas

rare shell
#

look at source code

#

look at everyone elses code

#

work from there

#

try taking a small mod and adjusting it to your liking and then go from there

haughty hinge
#

k

rare shell
haughty hinge
#

noice

#

you think i can shove uno into a poker roguelike

rare shell
#

if youre unhinged enough

haughty hinge
#

check

#

so yes?

rare shell
#

dont let your dreams be dreams

haughty hinge
#

what about nightmares

haughty hinge
#

llo

rare shell
#

ok finally properly coded everything and formatted everything and

fallow bramble
#

Wdym by "a card triggered this hand"?

rare shell
#

its scored

sleek granite
#

what does it mean for a card?

wanton rapids
#

a playing card?

sleek granite
#

what is it playing?

fallow bramble
#

the left or right hand?

sleek granite
#

why card haves two names tho

rare shell
# sleek granite what does it mean for a card?

aight, so, like, when we talk 'bout what it means for a card, we're basically chattin' 'bout the significance or value that a card holds, ya feel? Cards can be anything from credit cards to trading cards to tarot cards, ya know? Each card has its own vibe and purpose, like, a credit card means you got dat purchasing power, while a trading card might mean you're into collectibles or gaming, and tarot cards, they're all about, like, divination and stuff, givin' ya insight into life and whatnot. So yeah, when we talk 'bout what it means for a card, it's all 'bout its role or symbolism in different contexts, bestie

sleek granite
#

so true jestie

dapper helm
#

where did you get that from

sleek granite
#

i fully believe he typed it

rare shell
#

the bottom of my bottle of smirnoff

fallow bramble
umbral pilot
#

unhinged

sleek granite
#

is it Young Joker or Cardslinger? can't the mod developers make up their minds?

dapper helm
#

ikr like is it a creature or is it a clown?

rare shell
#

this mods worse than a bag of rotten tomatoes left outside on jerry seinfeld's corvette on a las vegas sunday!

sleek granite
#

clown is the creature type

rare shell
#

but yeah, a pair would give +20 chips.
pair with splash gives +50 chips
red seal/seltzer/etc effects would give an additional +10 chips per repetition,

fallow bramble
#

Oh ok

#

Bonus Cards crying rn

grand geode
#

la creatura

rare shell
#

my aunts name in high school

#

no saben sobre la criatura

past tendon
rare shell
#

also bog, i only need 2 more jokers to have 2 full pages

sleek granite
#

lyman make jevil legendary

rare shell
#

i am of drinking age autumn

sleek granite
#

yes?????

#

i should hope so given past messages

rare shell
#

if jevil came out 2 years earlier in life maybe,,,

fallow bramble
#

I'm struggling just to make one full page

sleek granite
#

lmao..... ok aight whatever

rare shell
#

(im not actually a jevil hater)

past tendon
#

I don't even know how to create a release containing only a few files from the repo btw. I'm not a programmer so github still is a bit hard for me

rare shell
#

[i actually think i saw a jevil joker done before is the real actual answer for that]

#

<if its not done though that might be a cute thing to put in>

#

WAIT

sleek granite
#

who cares, call it an alt art

rare shell
#

I KNOW WHO TO PUT IN

#

the greatest joker...

sleek granite
#

what the fuck is that

rare shell
#

its moe

dapper helm
#

who

runic kraken
sleek granite
#

i am a programmer and github is still hard dw

fallow bramble
rare shell
#

i literally couldnt tell you i just have a Thing about doing art that other people have done

#

its just a quirk i have

#

that might be the sleepy talkin too

fallow bramble
rare shell
#

though you did get me thinking of what would be a good pool of legendary jokers

dapper helm
rare shell
#

no

fallow bramble
#

Not at all

sleek granite
#

github isnt meant to be used as a website

dapper helm
#

huh

fallow bramble
#

Wait can Jokers only display one green text?

#

Nvm did a typo

rare shell
#

its a bad site in the sense of like

sleek granite
#

you can display as much green text as you want idk why y---

fallow bramble
#

My bad

#

I'm blind

rare shell
#

having a party at your local library is a bad idea

#

but the library is still poppin

#

just not good place to party

#

im also kind of shocked that there isnt a bozo the clown joker bc like

dapper helm
#

so its good for what its made for and this use is just not what its made for

rare shell
#

what a good design

sleek granite
#

i still dont know how to make a pull request. or uh update anything.

dapper helm
rare shell
#

bozo the clown

#

thats The Bozo

fallow bramble
rare shell
sleek granite
#

github is good for version control via git
but git is for command line nerds

#

im too dumb to git

rare shell
#

i used to watch his animated show on vhs all the time as a lytoddler

fallow bramble
#

lychild the scholar

grand geode
#

i don't use git except for four commands

rare shell
#

i dont even use git AAAAA

grand geode
#

clone pull reset secret 4th one

rare shell
#

the mass ping git command

sleek granite
#

i wish i was smarter tamariPlush

rare shell
#

i wish i was a baller

fallow bramble
#

i wish i was less sleepier

dapper helm
#

i was i was dumber

fallow bramble
#

I knew wish in write to how order

dapper helm
grand geode
#

i could use a wish right now wish right now

rare shell
#

myst you gave me ptsd

#

(pony traumatic stress disorder)

sleek granite
#

pass the salt dude

fallow bramble
grand geode
rare shell
#

legendary jonkler idea list:
dimentio - based
jevil
bozo the clown
george carlin 🥥
emmet kelly

#

wait

#

i cant do emmet kelly

haughty hinge
sullen bison
#

Hmm, I'm getting

mods/vouchers.lua:10: attempt to index global 'SMODS' (a nil value)```
When the entire mod is 
```lua
--- STEAMODDED HEADER
--- MOD_NAME:  Harb's Vouchers
--- MOD_ID: harb_vch
--- MOD_AUTHOR: [HarbingerOfMe]
--- MOD_DESCRIPTION: Harb's Voucher collection
--- BADGE_COLOUR: E38902

------- Code --------
function SMODS.INIT.vouchers() --name was messed with because it wasn't wroking

    local this_mod = SMODS.findModByID("harb_vch")
    local spr_vch_zero = SMODS.Sprite("harb_zero",this_mod.path, "harb_vch_zero.png", 59, 93, "asset_atli"):register()

    local vch_zero = SMODS.Voucher:new('Zero', 'harb_zero', {  }, { x = 0, y = 0 }, {
        name = 'Zero',
        text = { 'Play zero card hands' },
    }, 10, true, true, true, {}, 'voucher_zero'):register()
end
fallow bramble
#

Biggest self-insert collab

rare shell
#

do you have a header?

grand geode
sullen bison
dapper helm
rare shell
#

i might be wrong but shouldn't you be declaring the function using your mod id

#

oh i see oyur comment

fallow bramble
sleek granite
fallow bramble
rare shell
#

currently cross referencing bettma's mod right now

sleek granite
tacit mountain
#

It self destructed

sullen bison
#

Seems to be initing to fast? It's the first thing in the console

rare shell
#

so thats in the console and not the in game crash log?

sullen bison
#

No crashes

tacit mountain
#

Wait

#

There is balamod

sleek granite
#

you're not like, trying to insert it with lovely are you

tacit mountain
#

That's not Steamodded

rare shell
#

oh that might be it yup

sullen bison
#

Well, that explains evertything lmao

tacit mountain
#

It's not the good modloader lmao

sullen bison
#

I'll get on that

fallow bramble
#

lol

sullen bison
#

eah, used it to decompile

rare shell
#

😭

sleek granite
#

dev of competing modloader: other modloader bad

sullen bison
#

I'll believe

rare shell
#

steamo more like steamonopoly

tacit mountain
#

Wtf

sleek granite
#

you can decompile Balatro with 7zip

rare shell
#

consider yourself punked

tacit mountain
#

You can actually use balamod if that's what you are looking for, but that's a different API than Steamodded

#

It won't work the same

rare shell
#

most of us use steamodded and at this point if youre looking for cross mod compatability id say go for steamodded

sleek granite
#

i use steamodded therefore it is the good and moral option

rare shell
#

archaneii's balamod stuff is neat tho

sleek granite
#

theres also just like, barely any balamod support to be had here ive seen so if you want that, steamodded it up

rare shell
#

center hooks exists

sullen bison
#

Just some head full, thinking aobut other stuff

sleek granite
#

no i mean like if you need help with balamod

rare shell
#

oh

tacit mountain
#

I think they are mainly using their own discord, you may find more help there

sleek granite
#

center hooks, just use lovely lul

sullen bison
#

I don't think I was clear, I was trying to use steamodded, just failed

sleek granite
#

(i think thats what you mean)

rare shell
sleek granite
tacit mountain
rare shell
#

what method did you use to install steamodded?

#

was it the .exe injector or the lovely method?

tacit mountain
#

You may find every information on this discord or the github wiki

sullen bison
#

Look, I just didn't, I'm fine and omw now

sleek granite
#

you may find every information within these four walls

rare shell
#

roger doger

sleek granite
#

we harbor ill wills here

#

(this is a callback joke)

#

(advanced jokery)

grand geode
#

initially used balamod for MystBlinds because i didnt want to copy the entire functions lol

#

then i went back to steamodded

#

woo

rare shell
#

blindapi when

#

wait

grand geode
#

god

sleek granite
#

there is a blind api you canoe

rare shell
#

also i didnt want to interrupt the discussion earlier but

rare shell
fallow bramble
#

Yea you just changed identity to hide yourself, I know the truth

rare shell
grand geode
#

i forgot to self insert in my mod

#

fuck

sleek granite
#

i forgot to self insert in my mod (im too bad at art to do it lul)

rare shell
#

you mean you arent polydactyl?

dapper helm
#

mystic summit is already in the game

grand geode
#

true....

#

i secretly replace mystic summit's sprite with an image of my sona

boreal ibex
#

there is kind of a self insert of me for ortalab but not really because i didnt suggest it

rare shell
#

you also have a gamblersona?

dapper helm
#

gamblersona lmao

grand geode
#

..... you are giving me ideas to draw

boreal ibex
#

draw!!!!!!

#

do it!!!

rare shell
#

i found the fortuno amv

dapper helm
#

😨

rare shell
#

i have to draw a stupid legendary joker idea before i sleep

#

cringe!

sleek granite
#

do you tho

dapper helm
#

yeah

rare shell
#

it halts my hands from posting the fortuno amv

sleek granite
#

so anyway how well-implemented should animated jokers be because i thought of a really jank way to do it and---

rare shell
#

please

umbral pilot
#

the jankier the better

rare shell
#

please give me access to animated jokers

#

i can be trusted

#

PLEASE

fallow bramble
#

Jimbo giving you the middle finger in it's anim outta nowhere 😨

rare shell
#

i need to implement this idiot

fallow bramble
bitter hollow
#

Are there any mods that allow you to freeze the shop by any chance?

sullen bison
#

Obv sprite wrong, but it kinda works

rare shell
#

😄

#

lets goo

rare shell
#

forgot to show the full effect mb

sleek granite
#

i can do anything!

rare shell
#

its 9:40

grand geode
rare shell
#

i will perform the silesian slumber

grand geode
#

a mimir

hardy brook
grand geode
#

am

hardy brook
#

Yooo, timezone gang

#

idk, someone said it to me once

fallow bramble
worn belfry
#

Has LT posted the design criteria he had for making jokers publicly anywhere? He mentioned having a palette and rules for design on the interview with Dan Gheesling but I couldn’t find out the specifics anywhere

sleek granite
#

(i need to figure out why the frames are so fast)

grand geode
sleek granite
#

oh im hooking Card:update like an idiot

grand geode
#

nah this is bobm's code

sleek granite
#

oh what

dusky reef
#

so it's actually called bobm??

#

thought it was a meme

sleek granite
#

wait what's dt

cosmic shell
sleek granite
#

i have no idea how to do that

grand geode
#

basically the amount of seconds that's between each frame update

strong swift
cosmic shell
worn belfry
sleek granite
#

genuinely i have no idea how to use an animated sprite class

#

and i know how to implement this

#

and it worked in my brain and it works in action too actually

#

@rare shell animated joker.....

#

gif record went weird on framerate that time, looks betteringame

#

also the random negative.... wow

cosmic shell
sleek granite
wanton rapids
#

he can do anything

sleek granite
#

even be an animated joker

wanton rapids
#

also should the font on the name badge be closer to the current legendaries?

sleek granite
#

hes just for testing

#

hence why im just straight up using the deltarune sprite

cosmic shell
# cosmic shell the same way the sprite class is used by the game, except with an animation atla...

A quick mockup using an animated sprite, haven't ran it so there might be a typo or syntax error, but this should work providing an animation atlas with the animation data is set.

local set_sprites_ref = Card.set_sprites
function Card:set_sprites(_center, _front)
    set_sprites_ref(self,_center,_front)
    if _center and _center.name == "Jevil" then
        self.children.floating_sprite = AnimatedSprite(self.T.x, self.T.y, self.T.w, self.T.h, G.ANIMATION_ATLAS['Jevil'], self.config.center.soul_pos)
    end
end
sleek granite
#

the hell is an animation atlas

fallow bramble
cosmic shell
sleek granite
#

also this works by setting additional values in the sprite's pos value

#

see here

#

thats the entire setup for the soul_pos to animate on the joker's side

cosmic shell
#

using the name was just for the sake of the example, in practice i'd probably use a boolean in the item prototype, position or whatnot.

sleek granite
#

okay then i will throw my mod in the trash

#

because i do not automatically know how animated sprites work

tardy sierra
cosmic shell
sleek granite
#

no i tried to look at how blinds animate and none of it made any sense so i did it myself

pure jackal
#

how do i mod balatro? (i am stupid)

cosmic shell
hardy brook
#

Alright, surprising time

#

I need a break from balatro modding lol

#

I wanna do other stuff rn

#

I just added the base for a bunch of jokers

novel sky
#

Is there a context for anytime a card leaves? (destroyed/sold/anything else I'm missing)

wanton rapids
#

at murphyobv are there any other mods you plan on playing?

grand geode
#

does he even read here normally

rare shell
novel sky
#

Cool. Thanks

dapper helm
#

at

#

does he check this channel regularly?

fleet verge
#

hey guys, im sure im overlooking something, im trying to install steammodded, neither the regular injector nor the powershell version work for me, it says "this program cant run on your pc"

hardy brook
#

So steamodded on 1.0.1 is weird but works

#

Dunno if this is from the modloader, the mod, or something else, but the back shows up twice on facedown cards

#

It's still one card

#

I was going to make "all Rental" and "All perishable" variants for impossible but... guess not?

tacit mountain
hardy brook
tacit mountain
#

Steamodded

hardy brook
#

though it does say "Public_experimental" for balatro

tacit mountain
#

No injector have been build for this, but you can either do it yourself or by using lovely

#

It will be merged when the balatro official version switch to 1.0.1

hardy brook
#

Well I'm too stupid to build an injector and other than the weird card back thing, I have no problems so...

tacit mountain
#

The CD saved you lol

hardy brook
#

Heck yeah

#

now to add to the card collection code to make it so i can have rentals and perishables at any stake

#

Well that was quick

dapper helm
#

whitorange stake

exotic shadow
rare shell
#

chat i have woken up after 5 hours of sleep

exotic shadow
#

Wow I just woke up but I had more like 9 hours of sleep

astral glade
#

i got like 11 hours

#

shoutout to afternoon classes

exotic shadow
#

I no longer have classes

rare shell
#

Is there a context for selecting blinds? EDIT: setting_blind, isn't it?

dapper helm
rare shell
#

now a bit more interesting question: what is the function that places the card to it's place after being dragged by cursor?

#

i think something got messed up when i was rewriting my code but i cant figure out as to what?

#
        SMODS.Jokers.j_stanczyk.calculate = function(self, context)
            if context.repetition then
                if context.cardarea == G.play then
                    if context.other_card.ability.set == 'Enhanced' then
                        return {
                            message = localize('k_again_ex'),
                            repetitions = self.ability.extra,
                            card = self
                        }
                    end
                end
                if context.cardarea == G.hand then
                    if (next(context.card_effects[1]) or #context.card_effects > 1) and context.other_card.ability.set == 'Enhanced' then
                        return {
                            message = localize('k_again_ex'),
                            repetitions = self.ability.extra,
                            card = self
                        }
                    end
                end
            end
        end```
#

oh wait

#

hmm

#

nah still borked

#

not exactly sure as to why

cosmic shell
#

my guess would be ability extra not being a number

tall seal
#

stańczyk def polish name

rare shell
#

the polish joker has a polish name yes

rare shell
tall seal
#

grzegorz chrząszcz?

#

that's a better name

rare shell
#

i was typing this and i noticed that my declaration was actually messed up

#

might be my issue

tall seal
#

I'd make it grzegorz chrząszcz if it was my joker you know

rare shell
#

me right now

#

ok my declaration is not messed up

dapper helm
rare shell
#

💅 balatrojoker

dapper helm
#

who up polishing they joker rn

rare shell
#

now someone needs to draw stanczyk with colored nails

#

ok is context.repetition just messed up when i ported it to use joker api????

fallow bramble
#

Is it possible to get all cards of a deck? Not just the remaining ones in the deck.

rare shell
#

ive no clue what i did but i think i just had my hierachy messed up

#

works now tho

rare shell
rigid jewel
rare shell
#

i did actually get it towrk

#

i think its because of the way i had the contexts set up

magic sandal
#

the polish language isn't real, they just mash their head on the keyboard as they write

rare shell
#

What is the function that moves cards when you move them with cursor? EDIT: Found, Node:drag

#

I can't find anything at all

#

papiez joker

solar abyss
#

Hello, does anyone know where I can download/extract balatro image assets?

rare shell
#

you can open the .exe using 7zip or another .zip manager

#

hey chat could i get some mystery problem solving help

#

ive got a joker with 3 extras

                    chips = 10,
                    clear_cache = false,```
#
        SMODS.Jokers.j_cardslinger.calculate = function(self, context)
            if context.individual then
                if self.ability.extra.clear_cache then
                    self.ability.extra.trigger_count = 0
                    self.ability.extra.clear_cache = false
                end
                self.ability.extra.trigger_count = self.ability.extra.trigger_count + 1
            end
            if context.joker_main and context.cardarea == G.jokers then
                self.ability.extra.clear_cache = true
                self.ability.extra.chips = 10 * self.ability.extra.trigger_count
                return {
                    message = localize{type='variable',key='a_chips',vars={self.ability.extra.chips}},
                    chip_mod = self.ability.extra.chips,
                    colour = G.C.CHIPS
                }
            end
        end``` why does this always return 80 chips regardless of what i play here?
#

the intended result is supposed to be 10 * how many time a card triggered/is scored

solar abyss
#

Are there any mods that would help modding the core engine? Or can I just edit the lua files? How would I compile the game afterwards?

umbral pilot
#

lovely patches are probably your best bet if you want to do things that neither Steamodded nor Balamod support

rare shell
#

(I forgot the +mult message, I'll add it rn)

#

fight knight spotted??

solar abyss
rare shell
#

thats actually insane firch lmao

#

🫡

#

(rarity and mult values are placeholders)

#

did you have to jank in a new trigger

#

yup!

#

also darn i thought this was a fight knight reference

#

still a good reference

#

injected into node:drag() and node:stop_drag()

#

⚠️ stinky code warning! ⚠️

#

(probably, but I think it's pretty clean)

#

The only thing that I don't check here (and I don't really know how) is if the dragged object is joker

#

so I can drag some random non-joker card and it'll still compare

#

I tried if self == G.jokers but I don't think that's it

#

this makes me feel even dumber about just trying to count card triggers

rigid jewel
#

Oh yeah

#

About that code

umbral pilot
#

definitely refer to the steamodded install guide thread

rigid jewel
#

I don't know exactly how to do it, but what I know is that the approach of checking if context.repetition is called is wrong

solar abyss
rigid jewel
#

You have to specify where to check

#

With something like if context.cardarea = G.hand or if context.cardarea = G.play

rare shell
#

is this in regards to my stanczyk code?

rigid jewel
#

Yes

rare shell
#

ah, yeah, i already figured out the issue

rigid jewel
#

Nice

#

A little late to respond

#

(again)

rare shell
#

something about this trigger counter is very wrong

rigid jewel
#

I'm talking about that actually

rare shell
#

oh i saw repetition and i assumed we were talking about the other code ^^

sleek granite
#

lyman did you see my jevil.....

rare shell
#

i did...

#

But can he do anything?...

sleek granite
#

no

rare shell
#

can i hack the animated joker code to animate the soul

#

Jevil that copies absolutely random card...

#

i need jevil_laugh.png

#

i actually do need an effect for jevil

sleek granite
#

i probably should figure out the "right way" to animate it

rigid jewel
#

The code was most likely confusing the two

sleek granite
#

so bash my head against animatedsprite code until something accidentally works

rigid jewel
#

Joker logic would also happen at end_of_round

#

Since repetition would also proc then for Mime

cobalt wedge
#

Something to think about for 5+ suit decks

#

I was looking up a real five suited deck, and it pointed something out

#

While new hands are possible, it also alters the odds of existing hands. THe more suits you add, the better odds for Full Houses and worse odds for Flushes

#

The Shield Deck someone is selling, the creator made it so Flushes are above Full Houses

#

Deck of Shields, I mean

#

With 4 suits, there are 156 possible hands that make a Full House, and 1277 possible hands that make a flush. With 5 suits, there are 14,040 possible hands that make a Full House (not counting "flash/Spectrum/rainbow/5-suit Houses"), and 6,385 possible hands that make a Flush

#

The more suits you add in Balatro, the better Full Houses and the worse Flushes become if you don't change how they score.

toxic swallow
#

Anyone try multi-player yet?

rare shell
#

ive yet to try it

quick hull
#

I was playing a mildly modded run that had just the deck powers changed to 25% double tag 25% plasma. Ended with an insane high score unseeded

#

Pretty boring seed but just gave me the tools to go to insanity

white scarab
#

1804 cards purchased lol

red marten
#

Thanks for everyone who helped me out yesterday final product for the first deck

exotic shadow
rare shell
red marten
#

pikmin my beloved

red marten
#

im prob gonna do ether a one piece or doki doki one next

umbral pilot
#

that's adorable

red marten
#

i am also gonna be redesigning jokers as pikmin enemys but thats for later lol

#

and thank thank

white scarab
exotic shadow
#

yeah

#

now I'm just trying to patch the text in the menu

#

spoiler lovely doesn't seem to like it

magic sandal
#

is it gonna be like a console thing or something like added to debug menu?

exotic shadow
#

nah just adds some more keybinds and rn a single button to the debug menu

magic sandal
#

oh nice

#

cant wait to make a joker with 4 stickers

#

wait no 3

#

math we bout to make a new longest joker

astral glade
#

for DebugPlus, are we gonna be able to create the stuff that cant usually be created with debug? like vouchers while in the shop and tags?

exotic shadow
#

as of right now, not but I'll take a look

rigid jewel
#

Sad that I had to remove ReShuffles to verify that this didn't break the atlas for rental stickers but yes, sticker API does let custom textures work

#

Adding Reshuffled back into my mod folder now

dapper helm
#

pls don't add it back

astral glade
#

dont listen to the haters

exotic shadow
#

tbh I juat don't like the default joker that much for reshuffled and its like always the fallback

rigid jewel
#

Yeah that's why for my mods I have the entire atlas from the base game copied and loaded into my mods

dapper helm
#

genuinely one of the things you showcased a while ago i couldn't understand

rigid jewel
#

Rest of the jokers are cool and wonky but the base is meh

astral glade
#

bawatwo

rigid jewel
#

OwO

astral glade
#

nya :3c

dapper helm
#

why awe we tawking in uwu speak

astral glade
#

why not

dapper helm
#

good point (´・ω・`)

rare shell
#

does this mean i can bring back talking in 1337speak

dapper helm
#

sincerely i want you to do that

fallow bramble
#

What's the context that triggers on clicking card? Keeps triggering my joker just by clicking on them

boreal ibex
rare shell
#

i said 1337speak not terezi typing quirk

#

4 |7R][/\\/\ 4/|/|) |7R0|73R \\/\\/4Y 0|" '|'Y|7][/|/6

boreal ibex
#

1 just r3p14c3 wh4t 1 c4n w1th numb3rs, 1dk wh4t th4t 1s

dapper helm
rare shell
#

😵‍💫

#

ircspeak

exotic shadow
#

oh intresting tags are not cards like pretty much everything else in the collection

dapper helm
#

no clue of the distinctions of anything like that tbh

exotic shadow
#

I mean makes sence

rare shell
fallow bramble
#

I get all of those activating somehow, doesn't happen with other modded jokers

rigid jewel
#

Looks like I might not be able to generate a generic function you can call for custom sticker logic

#

sad

#

hmm

exotic shadow
#

yeah probably not

rigid jewel
#

At least, if I did it would be limited in ability

exotic shadow
#

rn each sticker gets its own keybind so I would have to manually register keybinds for each sticker

#

cause they aren't mutually exclusive

dapper helm
rigid jewel
#

A button to cycle between all registered stickers could work but stickers aren't registered the same as other objects

#

There's no P_CENTERS to use

exotic shadow
#

well that wouldn't work that well either

#

cause a card can have multiple stickers

rigid jewel
#

You can at least test out on of your own stickers through setting it's chance value to 1, meaning that every eligible joker in the shop will have that sticker

exotic shadow
#

yeah

#

I mean maybe I could provide some kind of global varible that you can assign keybinds to, so its not that hard to extend the debug mod

iron onyx
#

hmmmmm.

magic sandal
#

What about tags

exotic shadow
#

I'll look at it

#

they work very differently to other cards

magic sandal
#

Ngl spawning double tags would be crazy

exotic shadow
#

yeah if i can get it working, I'll probably add a double tag button to the ui

rigid jewel
#

Gonna have to make sure that spawning Orbital tags doesn't crash the game

exotic shadow
#

oh yeah that'll be fun

rigid jewel
#

I remember making a joker that gives you random tags, and had to exclude Orbital because spawning them that way had no hand info, therefore crashed

exotic shadow
#

if tags are too messy, I'll just only let you spawn doulbe tags

rigid jewel
#

I don't know if this has been added or doable but could cards that are set as foil/holo/poly/negative in the collections menu can be spawned in with those editions?

fickle elbow
exotic shadow
fickle elbow
exotic shadow
#

I don;t think just adding chips and mult and the game using them is that easy

rigid jewel
#

It's definitely not

#

Bordering undoable

exotic shadow
#

I could add chips to the final score

#

maybe set it to 0 would be handy

#

let me add this to my list

#

I've accidently made tiny booster packs

round ore
#

smol

#

i find the idea that the tarot cards are smaller than the rest of the card types very funny (even if not intentional)

#

because a lot of tarot decks are typically larger cards than standard poker cards lol

astral glade
exotic shadow
astral glade
#

badass

exotic shadow
#

the boosters aren't quite right

rigid jewel
#

Some actions this would be fine for but it would be forced to be limited

fickle elbow
#

debugplus is hype

modest vigil
#

I am trying to download the exe file to get mods but it says it has a virus on it. Is it safe to download?

iron onyx
#

man

rigid jewel
#

I guess I'll leave the function in since it doesn't really hurt to have, and is still useful for some things

ebon flame
#

Has anyone made a mod to seed challenges?

rigid jewel
#

Challenges should already be seeded

#

Do you mean let you choose a seed

#

In that case, no not yet

#

At least to my knowledge

sleek granite
exotic shadow
#

does anyone know what code is responsible for rendering the collection?

#

I'm trying to figure out what the tags actually are

sleek granite
#

all the collection stuff gets rendered by functions with "collection" in the name, tags are probably no different

rigid jewel
#

Still no idea how to do sticker_compat stuff

#

But everything else you'll need should be there

#

At least the basic stuff

sleek granite
#

but now im like "i should probably do it correctly huh"

exotic shadow
sleek granite
#

sorry

rigid jewel
#

Game UI moment

modest vigil
#

does someone know were the directions to get mods into the game is?

exotic shadow
#

so unlike the cards, where the game spawns the cards, the tags are spawned by spawning a tag and then calling a method on them which spawns a sprite, which is then used

#

which means when I look at the hover I get a sprite and not a tag

#

however, I might be in lukc

#

looks like the tag passes a ref to itself to the sprite

sleek granite
ebon flame
#

thinking about just adding the seeded run option to the menu

rigid jewel
#

Probably not?

#

idk much about how the game handles challenges

rigid jewel
#

How does injecting every register joker a sticker_combat value that you can choose what the default setting is (i.e. if it'll be automatically true or false), along with controlling what joker slugs are exceptions

#

Something like this?

#

Yeah I think this can work

sleek granite
#

👀

#

seems good

grand geode
#

me when my sticker works with exactly half the jokers

#

and i have to add all of them in

rigid jewel
#

xdd

sleek granite
#

have fun myst

#

i mightve missed it but is there something in place for mutually exclusive stickers or will that have to be done jankily

rigid jewel
#

wdym

boreal ibex
#

perishable and eternal are mutually exclusive, is there code for them to not be on one card?

grand geode
#

that code is very jankily written in the create_card function

sleek granite
#

pog

boreal ibex
#

yay, jank!

rigid jewel
#

You can use the set_sticker function and check if the card has those stickers or not in the same manner that the game handles eternal/perishable

rigid jewel
ebon flame
#

Anyone know how to detect if you're in the challenge mode menu?

#

or in general how to tell the state of the overlay menu?

rigid jewel
#

This is the only way to check if a base game joker has a custom sticker (believe me, I tried other routes).

#

Since calling the UI ability ref erases badge info I have to make a shortcut

grand geode
#

or something like that

ebon flame
grand geode
#

this one's an uibox function

#

look at it and see what you can do

ebon flame
#

Any good debugging tools for working on mods?

#

Just started poking around

#

restarting balatro every change is a bit silly

grand geode
#

debug mode

#

oh that

#

idk

ebon flame
#

Is there a way to force a reload of the game files/mods

sleek granite
#

yea reloading it

ebon flame
#

so no then

exotic shadow
sleek granite
#

deck unlocked pog

ebon flame
exotic shadow
#

no just unlocking them

ebon flame
#

oh

exotic shadow
#

like you already can do with jokers, tarots, etc.

#

basically had to leanr how the game registered unlocks for this to work

boreal ibex
#

blue deck unlocked

fickle elbow
#

how to you check if an entire hand is a suit, regardless of the number of cards played

exotic shadow
astral glade
#

LETS GOOO

exotic shadow
#

also orbital tag works

rigid jewel
#

Nice

exotic shadow
#

just had to tell it what blind it was so it could look it up

#

(I just hardcoded it to 'Big')

#

also I somehow got a natrually occuring holo and negative

sleek granite
#

testing luck....

fickle elbow
#

I thought this might work but is_suit doesn't work with it is there a way to get suit.

exotic shadow
#

oh actually is there a way to simply check if I'm ingame or not?

#

rn I can just spawn tags on the title screen

rigid jewel
#

I might

#

Damn, wasn't it

#

sad

sleek granite
#

has literally anyone done anything with AnimatedSprites before

sleek granite
#

🔫 win blind

astral glade
#

hell yeah

alpine cosmos
#

hi uhhhh quick question regarding an effect I want to do
so im trying to make a joker that causes an editioned card to always show up when opening a booster pack, but im honestly not sure how to get to doing that just yet 😭

fickle elbow
sleek granite
#

alright so since there's no good examples here's animatedjoker have fun idc im not going to lose years off my life trying to understand how the game's animated sprites work

exotic shadow
rigid jewel
#

Yeah

#

I remember seeing that somewhere

exotic shadow
#

yeah I checked the other debug buttons and a few use them

fickle elbow
#

what about checking if played hand is all one suit

exotic shadow
#

idk maybe see how the gmae checks if theres a flush or not

astral glade
#

chat is this real?

fickle elbow
#

i mean like not only 5 cards played also if you play 4-1 cards and all are the same suit.

sleek granite
#

oh thats pretty cool

#

maybe a bit strong?

#

but the concept is very awesome

astral glade
#

i can nerf as need be :3 i just wanted to get it out there before someone copied it

#

cuz

sleek granite
#

me, copying it to MoreConsumables as we speak:

alpine cosmos
boreal ibex
#

gotta be original before someone else is

astral glade
#

planets upgrade hands, what about the moons of planets helping those hands in other ways?

sleek granite
boreal ibex
#

lol

sleek granite
rare shell
#

i did it first

astral glade
#

oh yeah also mars, earth, and venus are all the same size

#

i learned

sleek granite
#

what, killing creativity?

astral glade
#

in balatro

sleek granite
rare shell
sleek granite
#

this code isnt jank or broken at all

fickle elbow
#

I saw what you didbalatrojoker

sleek granite
#

definitely not trying to subtly get someone who knows how animatedsprite works to do it

astral glade
# astral glade chat is this real?

oh yeah also @wanton rapids doing C:hearts, C:spades, etc currently doesnt work for colors of suits (just displays white), so i had to do some editing, maybe this should be fixed for everyone?

sleek granite
#

(if there are multiple of the same animated joker on the screen they animate that many times faster)

rare shell
lavish jackal
#

hi guys i made some stuff and now i'm trying to add it to the game, could you show me a couple pointers maybe

rare shell
sleek granite
#

yeah fr

astral glade
#

that is the worst icon for a discord server ever

#

click the fast cats

boreal ibex
#

the cats should be faster

rare shell
#

it's not a good server but it has good emojis

alpine cosmos
rare shell
sleek granite
lavish jackal
#

I know how to code, I'm looking to see what APIs to use

sleek granite
#

use Steamodded

boreal ibex
sleek granite
#

lyman copy my homework pls

lavish jackal
sleek granite
#

no

#

good luck

lavish jackal
#

blegh

astral glade
#

check the wiki

#

theres plenty there

sleek granite
#

check the wiki it definitely tells you how to use animatedsprite

rare shell
astral glade
#

i mean inserting into the animated atlas

sleek granite
#

even though all you need to do is set two variables in pos or soul_pos...

#

(probably shouldn't be shipping it with a legendary joker that does nothing tho lol)

fickle elbow
#

how do you check if an entire hand is a suit, regardless of the number of cards played in the hand.

sleek granite
#

by checking if the hand is a suit

#

literally just take the get_flush function and remove the amount of card check

#

not rocket science

fickle elbow
#

yes, is that in card of source code?

sleek granite
#

yes but you'll probably want the one steamodded changes it to

#

check your lovely dump of main.lua
or install lovely

#

or just find it in steamodded's code

rare shell
rare shell
#

You'll use either scoring or playing hand depending on what you want to check

sleek granite
#

issues remaining: animations stop when the game is paused

#

(including in collection)

rigid jewel
#

WAHOO