#⚙・modding-general

1 messages · Page 44 of 1

sleek granite
#

and im still the dumbest person on the planet

rigid jewel
#

Had to make a helper function but that's not an issue really

#

Also if you make the auto_set tables a variable they need declared before you run SMODS.Sticker:new else it'll think it's black

ebon flame
#

anyone have advice for fixing UI element positions?

sleek granite
#

but cards dont update in the collection so i have no idea how to do this in a way that the sprite animates at a reasonable speed regardless of framerate

exotic shadow
rigid jewel
#

Ok now I think sticker API is mostly done

runic dagger
lavish jackal
#

is there any place where SMODS functions are documented?? at all??

exotic shadow
lavish jackal
#

oh thank you

sleek granite
#

where you can read them

exotic shadow
#

if you're afraid of reading source code, good luck modding this game

#

90% of modding this game is reading the games source code

rare shell
#

It's mostly just figuring out contexts

#

(For basic stuff like adding new jokers)

exotic shadow
#

to be fair I havent really do any of the basic stuff like adding new jokers

rare shell
#

Your noggin is already large pensive_cowboy

#

I would try to focus on making a very basic joker from scratch, and once you do you can build off of that

strong swift
sleek granite
#

is it tho

#

are you coding an animation framework from scratch because you dont understand the basegame's version and there's no good examples of it?

rare shell
#

I'm gonna animate so much shit

sleek granite
#

good luck

#

if i can ever get this working

rare shell
#

I believe

sleek granite
#

WHAT

#

WHY DOES TURNING THE GAMESPEED DOWN MAKE HIM FASTER

#

AAAAAAAAAAAAAAAAA

rare shell
dapper helm
strong swift
sleek granite
#

i need to get ready for work fuck this

dapper helm
astral glade
sleek granite
#

no this is supposed to be a real thing for people to use

#

not some dumb shitpost

ebon flame
#

begging someone to tell me how to change position of UI elements CRY

sleek granite
#

you change its position by changing its position

dapper helm
ebon flame
rare shell
umbral pilot
#

you're not dumb silly

#

smh my head

rare shell
#

its just one of those days

sleek granite
#

all of this could be avoided if i knew what the hell an animation atlas is tbh

rare shell
#

isnt that just a sprite sheet?

sleek granite
#

yeah but how does the game know that

astral glade
#

its in a different place than asset_atli

sleek granite
#

and how can i have a card have just the pos or just the soul_pos animated if its tied to the card's atlas

iron onyx
#

i believe changing asset_atli to animation_atli in the sprite declaration would be a start

rare shell
#

i havent done this yet but out of curiousity does the game like it when you directly update soul_pos in calculate()

sleek granite
#

thats basically what im doing

#

you just need to run sprite:set_sprite_pos(pos)

#

where sprite is either card.children.center or card.children.floating_sprite

#

you can probably guess which is which

rare shell
#

are you actually changing it in calculate()?

sleek granite
#

no

#

but theres no reason itd work different

#

dont directly update pos or soul_pos tho, you'll affect all instances of that card everywhere

ebon flame
lavish jackal
#

yippee

#

got a thing in, now gotta figure out formatting

rare shell
#

🫡

#

make sure to localize your variables-

#

youre gonna want to use {X:mult,C:white}X3{} Mult

#

for the proper red background with white font

#

except in this case it'd be X#(yourvarnumberhere)#

timid nexus
grand geode
#

homestuck jumpscare

rare shell
#

appropriate response

sleek granite
#

imagine knowing what that is

rare shell
#

wait i forgor you already have dark carnival

grand geode
#

i don't know what homestuck is

sleek granite
#

imagine knowing anything at all

dapper helm
#

knowing what

rare shell
#

man

#

ok

#

im makin a legendary joker again

#

animated

#

acai gave me an idea

grand geode
#

guitar hero man??

dapper helm
#

oh no

grand geode
#

how many shrimps do you have to eat

rare shell
#

akai not acai im dying

sleek granite
#

PLASTIC GUITAR ASMR

grand geode
#

oh

rare shell
#

hmmm it might not be legendary bc the character im thinkin of isnt exactly a joker

sleek granite
#

lyman keep in mind im gonna keep fuckin with the animatedjoker thing until i die probably so

#

so im happy for you or sorry that happened

rare shell
#

listen

#

im your biggest supporter

#

it is no worries

lavish jackal
#

gotcha

grand geode
#

oh that's akai

lavish jackal
#

also yeah im making homestuck jokers

#

Heat, Sucker, Sweet Buffoon, Note Desolation
Dark Carnival, Pairing Grid, Dead Shuffle

grand geode
#

ohno

sleek granite
#

lyman i implore you to reconsider

lavish jackal
#

does anyone know why lua's upset at me for instancing 2 jokers at once? what is the standard for batch loading jonkers

sleek granite
#

i define a table of jokers and iterate over them

rare shell
#

jocker...

sleek granite
#

my mod MoreConsumables does similar for consumables

#

check it out its the dumbest mod youll ever see

lavish jackal
astral glade
#

moreconsumables is so wholesome i love hitting straight flush twice in a row with meteor

lavish jackal
#

define a table with all the entries and iterate over it?

sleek granite
#

i have no idea what that is

sleek granite
lavish jackal
#

ths is what they do

#

have a table called i think mtlJokers in their case

astral glade
sleek granite
#

me when i use the moon to get the high priestess to get a satellite and a moon to get the high priestess to get

sleek granite
lavish jackal
#

yeah

sleek granite
#

since idk why else youd have order

lavish jackal
#

yeah joker api does make things easier

#

and then what, you iterate over the table's contents right

#

and register jokers based on that?

sleek granite
#

yeah

#

see here for an example with consumables

alpine cosmos
#

hi uhhh question
what's the table name for those cards that appear after you open a booster pack?

rare shell
#

the idea was better in my head

vestal crag
#

Themed Jokers scales a little...concerningly.

#

Cosmic in particular.

sleek granite
#

cosmic is just zodiac exodia

vestal crag
#

I'm running Gemini, Aries, and Pisces. (4, 5, 7)

alpine cosmos
#

exodiac

vestal crag
#

Gemini in particular is busted as hell because it scales it's own scaling because it has scaling retriggers.

#

...my hands take over a minute to play.

sleek granite
#

have fun

rare shell
#

alright i did it

sleek granite
#

blank card pog

rare shell
#

i should send the full gif

sleek granite
#

the orb....

vestal crag
# sleek granite have fun

I'm going to scale this until it gets to the point that blind scaling outpaces it, but I don't know if that will ever happen. I'm barely keeping up with ante 13, but I was also barely keeping up with ante 12, and ante 11, so...

sleek granite
#

blind scaling will outpace you when they stop giving numbers

stone wadi
vestal crag
#

Oh, and I have a blueprint and got the negative ophiuchous.

rare shell
#

not mutually exclusive

stone wadi
#

so true

astral glade
#

homestuck takeover in the balatro modding channels........

sleek granite
#

its preferable to my insanity takeover

rare shell
#

i was a sleeper agent the whole time

astral glade
#

what was your activation phrase

sleek granite
#

i was a sleeper

rare shell
#

the activation phrase happens a week before the second saturday of this month

astral glade
#

its chungus

sleek granite
#

so six days ago?

vestal crag
astral glade
#

so the first saturday of the month

#

yeah

lavish jackal
#

OH MY GOD THIS IS AWESOME

lavish jackal
strong swift
vestal crag
#

I broke scaling even further.

#

I found an ectoplasm, and then grabbed the cosmic joker that's basically hiker.

sleek granite
strong swift
#

well im not even a modder

#

so you're objectively better

rare shell
#

im going to take your self loathing mod and kick it off the table

lavish jackal
#

yippee

exotic shadow
rare shell
#

a wolf

sleek granite
#

infinitely better

exotic shadow
#

nah I haven't even added a new card to the game

sleek granite
alpine cosmos
#

shjdhsd im sorry for asking this again and interrupting but im,, honestly not sure what to do here
im trying to create a joker that makes an edition joker always appear in buffoon packs, i have some idea of where to start, but i don't know what to do to actually affect the jokers that show up

rare shell
#

maybe look at the way codex arcanum's voucher does it

alpine cosmos
exotic shadow
#

also maybe look at how telescope does it

#

its not quite the same but it's probably pretty close

sleek granite
#

poll_edition handles determining editions, either change how it works or chabge the code that uses it

rare shell
#

localize function time

sleek granite
#

oh wait i just had a thought can we just hook the localize function for tooltips

#

since otherwise we cant do loc vars

alpine cosmos
rare shell
#

that makes me wonder

#

actually nvm misprint is just a regular description

alpine cosmos
#

uhhh
next question then
how would I change game code/functions 😭

sleek granite
#

alias the function and overwrite it, calling the aliased function from within the new function

rare shell
#

usually if youre trying to modify a function you create a local copy of it (and be sure to fix it after youre done messing with the code

#
local calculate_dollaf_bonusref = Card.calculate_dollar_bonus
function Card:calculate_dollar_bonus()
    local calc_dollar_ret_val = calculate_dollaf_bonusref(self)
    if self.debuff then return end
    if self.ability.set == "Joker" then
        if self.ability.name == 'Wanted Poster' and G.GAME.current_round.hands_played == 1 then
            return self.ability.extra.dollars
        end
    end
    return calc_dollar_ret_val
end```
heres an example that uses calculate_dollar_bonus
iron onyx
#

it's usually a good idea to create a ref to the original function first, as seen in the first line of that

alpine cosmos
#

ahhhh i see

sleek granite
#

im used to calling that practice aliasing

rare shell
#

til

alpine cosmos
#

i see, thanks a lot!
im gonna try to figure this out, this has been really helpful!

rare shell
#

gonna be helpful explainin that to peeps now

sleek granite
#

hence why i call them alias__Card_draw or whatever

rare shell
#

i just parrot what myst told me when i started to mod garfDespair

#

my mod is an amalgamation of everyone elses code at this point

alpine cosmos
#

is that not what coding is at its core

vestal crag
#

That's basically coding, yeah.

iron onyx
#

gotta love that no one has any idea why my game will hang on completing load, close immediately with no stacktrace, and crash steamwebhelper unless i wait a full minute after it closes to re-open it

rare shell
#

myst taught me how to localize
mika taught me how to do the entire joker_api, really, and the config
sham was the original code i took from multijokers
and theres this one snippet of code from multijokers i use for at least of like 6 of my jokers

iron onyx
#

but only sometimes

rare shell
#

that sounds like a formatting thing + steamwebhelper being a cpu muncher

sleek granite
#

i used mikas mod mostly when i started and then sixsuits after than and then i just started reading the games source front to back

rare shell
#

gotta love it when the steam web browser eats up 4GB of ram and all its doing is playing some animated advertisement for pingo's crunch quest 64 (now 10% off)

fickle elbow
#

I feel like I'm doing this wrong😑

iron onyx
rare shell
#

balatronomicon...

astral glade
#

thats hard as fuck

sleek granite
rare shell
#

yeah after this returns once it'll exit the function

sleek granite
#

and also you're returning on the first card

#

yeah

rare shell
#

you'll want the return to happen outside the loop

#

maybe use some local boolean

#

if true, return that code, otherwise return nil

iron onyx
#

replace if self. with if context.full_hand[i].

sleek granite
#

no not the self one

#

self is for the joker here i think

#

context.other_card should be context.full_hand[i]

#

i think

rare shell
#

whats the exact joker effect youre trying to do here by the way?

#

i think it might help clear some stuff up

vestal crag
#

I've decided to time how long my stupid scaling hand shenanigans actually takes to score. It's...uh...at the third card at two and a half minutes.

fickle elbow
vestal crag
#

And I started the timer late.

rare shell
#

ah yeah

#

you'll want something more like this

cunning silo
#

Good morning fellas!

rare shell
#
            if context.joker_main and context.cardarea == G.jokers then
                local onlySixes = true -- boolean that's enabled by default
                for k, v in ipairs(context.full_hand) do -- iterate through the hand, we set the variable
                    onlySixes = onlySixes and (v:get_id() == 6 or v.ability.name == 'Gold Card') -- to itself (true) and whatever get_id() returns 
                end --(which should be true or false) if any card of your hand fails here, it will be set to false
                if not onlySixes then -- if it's false, we exit the function
                    return nil
                end --otherwise we return back to the normal intended function
                return {
                    message = localize { type = 'variable', key = 'a_xmult', vars = { self.ability.extra.x_mult } },
                    Xmult_mod = self.ability.extra.x_mult
                }
            end```
#

this isnt for suits but this is just an example of the structure

rare shell
cunning silo
#

it's the weekend!

astral glade
#

so awesome cant wait to stay up hours coding and making bad art

cunning silo
#

whcih means ill work on the mods a lot

vestal crag
#

My hand took 6 full minutes to score.

#

...

rare shell
#

i have a job interview tomorrow so ill be a bit slower on the art

vestal crag
#

If I had a mult scaling joker that activated on retriggers...

grand geode
#

o shit

vestal crag
#

Or even a glass card.

grand geode
#

good luck on your job interview!

astral glade
#

yeah good luck

rare shell
#

tyvm

#

i have to get their by 2 am

cunning silo
rare shell
#

i figured :p

vestal crag
#

Actually, I'm gonna go get a glass card and hit Naneinf.

rare shell
#

Power died let's gooooo

lavish jackal
#

they are so pretty whoag

vestal crag
cunning silo
#

Masked Fool, Uncommon
Played cards have a 1 in 2 chance to give mult equal to their chips amount

(just a little idea i had)

astral glade
#

this with hiker

#

😨

vestal crag
#

And Oops.

#

And maybe Seltzer temporarily?

#

Or Hack.

cunning silo
#

that sounds funny

#

idk it's just a reference to anothre game i thought would be funny XD

alpine cosmos
#

djshd hi again

#

uhh
so i think ive figured out the whole code injecting thing now where you add code to functions

#

but how do i make the code execute like, after everything else?

rare shell
#

local lyman loses all his opened files in aseprite

alpine cosmos
#

nOOO

cunning silo
cunning silo
#

hope you saved beforehand

rare shell
#

haha

#

good joke...

cunning silo
#

XD i feel you

rare shell
#

aseprite is going to be so mad when i ask it to recover files

cunning silo
#

the PC at my job crashed yesterday and deleted like 3 days of work for me

#

so yeah saving is good

rare shell
cunning silo
#

recovered
recovered
recovered
recovered
recovered
recovered
recovered
recovered
recovered
recovered

astral glade
#

find my pages

rare shell
#

slenderlyman

strong swift
#

(crying)

rare shell
strong swift
#

it did not

rare shell
#

as i was afraid of,,,

strong swift
#

but i have something better by now anyway

#

so we good

rare shell
#

thats how it always goes with fl lmfao

#

fl studio is just helping you from making trash beats

#

truly innovative feature

strong swift
#

REAL

pulsar parcel
#

there a way to have something similar to save states? gonna use it to explore seeded runs

#

is there a mod for it or smth

rare shell
#

not as far as i know but this might be semi-helpful for seeded runs

grand geode
pulsar parcel
grand geode
#

C:\Users\[name]\AppData\Roaming\Balatro\[save number]

pulsar parcel
#

ok thx

rare shell
#

doxxed

grand geode
cunning silo
#

XD

exotic shadow
#

I don't think its that hard

#

But I have an exam to study for rn

fickle elbow
#

btw I thought this might happen because I tried a similar for loop.

grand geode
#

what's your context check?

wanton rapids
#

that's right. 1.0.3 coming soonish

astral glade
#

hell yeah

fickle elbow
wanton rapids
#

might also add other types of stuff like decks and blinds

astral glade
#

you should

grand geode
# fickle elbow

this triggers on every context that also pass through cardarea

#

and some of those might not have a full_hand

#

thus, crash

astral glade
#

also anyway to make the "jokers" tab disappear? i aint got any in my mod and currently dont plan on any

wanton rapids
#

will also add that

rare shell
#

can you also add the willpower of the human spirit

astral glade
#

oh yeah maybe add stickers since that API is almost done

grand geode
#

what if i add stickers support for House Rules

#

just add "All Jokers are [sticker]" for all custom stickers

#

and as usual make everything stackable ignoring blacklists

fickle elbow
grand geode
#

when do you want it to trigger

fickle elbow
#

when a hand is just spades regaurdless of how many cards there are in the played hand

grand geode
#

before the hand played, while hand is played or after hand is played

fickle elbow
#

after

wanton rapids
rare shell
#

context.joker_main and context.cardarea == G.jokers

grand geode
#

joker_main? thought you do end_calculate_context

fickle elbow
#

had to make my own function to get the suit.

rare shell
#

i forgot to turn off ping again im going to hell

fickle elbow
#

btw how do you turn that off?

rare shell
#

i still think it would be pretty spiffy if a couple of us got together to make some community library for stuff like this

grand geode
#

uhhhh end calc with context.aftee

#

after

rare shell
fickle elbow
rare shell
#

so thinking about it, some functions that would be neat for a communitylib (im cribbing a lot of these from mika)

  • get suit
  • get odds/evens
  • create [card type] (streamlined)
  • is face
  • increase/decrease rank (with wrap around for stuff like A -> 2)
  • finch's on drag/drop trigger
  • easier updates to pos and soul pos methods
  • unified localized copies of the games functions like calculate_dollar_bonus and what not (not copying the games code, just easy ways to inject into them)
  • more straight forward messaging
cunning silo
fickle elbow
#

get suit was easy

wanton rapids
#

are suits numbers?

rare shell
#

i dont doubt a lot of these are easy and a couple of lines long but it would be nice to bundle them

rare shell
#

if you dont bad things happen

#

i once forgot to do that and i ended up being able to play planets as poker hands

alpine cosmos
rare shell
#

you need to call the ref function near the end

#

er, return

alpine cosmos
#

ack

rare shell
#
local calculate_dollaf_bonusref = Card.calculate_dollar_bonus
function Card:calculate_dollar_bonus()
    local calc_dollar_ret_val = calculate_dollaf_bonusref(self)
    if self.debuff then return end
    if self.ability.set == "Joker" then
        if self.ability.name == 'Wanted Poster' and G.GAME.current_round.hands_played == 1 then
            return self.ability.extra.dollars
        end
    end
    return calc_dollar_ret_val
end```
#

example

cunning silo
#

i think the only problem is changing the rank of a card dynamically

rare shell
#

whats the big issue?

alpine cosmos
#

okay cool but then uh
how do i make it so that the original function goes first n stuff

fickle elbow
rare shell
#

i am unfortunately not too sure about that

alpine cosmos
#

aw thats
Fair

cunning silo
#

although...

wanton rapids
#

you're also calling open_pack for some reason

alpine cosmos
#

that was just me copying the original thing

wanton rapids
#

card_openref is the original thing

#

you only need to call card_openref(self)

#

it's kinda weird

alpine cosmos
#

oh

#

i meant like copying the example given but fair point 😭

wanton rapids
#

stickers are now implemented for the website template

#

now for blinds

astral glade
#

HELL YEAH

#

eventually editions......

grand geode
#

how are we handling stacking stickers

fickle elbow
#

because i have a joker who's text changes at runtime

wanton rapids
#

how much

wanton rapids
fickle elbow
#

it changes text every time a blind is selected and a total of 5 different descriptions

astral glade
wanton rapids
grand geode
wanton rapids
#

oh that's fun

fickle elbow
#

does this support decks yet?

wanton rapids
#

in 1.0.3, yes

grand geode
#

i should do that

dapper helm
astral glade
#

oh yeah

#

seals too?

#

kinda forgot seals were a thing cuz i never see them in mods

dapper helm
#

gotta put tags in too at this point

wanton rapids
#

may as well do enhancements

#

gimme a moment i gotta do blind animations

fickle elbow
#

how do you change this tho?

wanton rapids
#

edit the html

#

also oops

astral glade
#

looks about right

tall vessel
wanton rapids
#

here we go

fickle elbow
#

how do you save the html?

wanton rapids
#

?

stone brook
#

is the website template free to use? im unsure since i dunno who made it

wanton rapids
#

i made it, yeah!

#

go ahead!

#

that's the entire point

fickle elbow
#

it changes upon reload

wanton rapids
#

gimme a moment adding the wtfpl to the github

fickle elbow
astral glade
#

got all the files ready for the website update !!!!

sleek granite
#

hallowed....

astral glade
#

that ones silly

rare shell
#

lets go

sleek granite
#

website looks cool but i do too many ridiculous things

astral glade
#

a ceritified silly goober?

sleek granite
#

the minicards on your moon planets should probably reflect what they do

astral glade
#

the flushes are the colors of the suit they modify

#

unless it needs more?

sleek granite
#

i'd say you could put the symbol of that suit and like a plus sign or something, get funky with it

#

moreconsumables planets each have some abstract form of their effect listed

astral glade
#

oh true hmm

stone brook
#

i think it should be the suit probably

#

the colour is hard to see

astral glade
#

yeah ill prolly due the ace plus a plus

vestal crag
stone brook
#

you could just forgo the card element and just make it the suit symbol too

#

so its more readable

wanton rapids
#

might put enhancements, seals, and editions (for the future) into one category

#

for space reasons

astral glade
#

so like "Modifications" or smth

wanton rapids
#

yeah probably

fickle elbow
#

How do i save the html on the website?

wanton rapids
#

you just edit it normally?

fickle elbow
#

via inspect?

wanton rapids
#

via a text editor

#

the same way you edit the js

sleek granite
fickle elbow
astral glade
#

so more like this?

cunning silo
astral glade
#

chip amount subject to change

cunning silo
#

love it

wanton rapids
#

maybe have a symbol similar to the generic deck back next to it?

astral glade
#

maybe?

#

seems hard to translate with so little room but ill try

sleek granite
#

you might want something to say "plus chips"

wanton rapids
#

anyways these look fun

fickle elbow
#

i'll mess with the verdant shift text in a bit but here's everything i have so far

astral glade
#

so which one?

fickle elbow
#

is it possible to create scrolling text?

wanton rapids
#

second one looks like the bonus enhancement

#

which increases chips

#

so the second one

astral glade
#

alright yeah i think its better

#

plus doesnt fit as much but i figured it would try it at least

wanton rapids
#

also blue deck exists

astral glade
#

def fits better

#

ty yall these are turning out much better

wanton rapids
#

dunno how to do editions

#

can probably do a prerendered texture?

#

oh well. committing now

fickle elbow
#

is there a way to add a 2nd row of jokers below the first?

wanton rapids
#

are there like different themes?

fickle elbow
#

there will be

#

not currently

stone brook
#

mario do you have an empty template anywhere :3

fickle elbow
#

i'm testing it

wanton rapids
stone brook
#

<3

wanton rapids
#

you can comment out what you don't use

iron onyx
#

anyone have any clue on what method i could intercept if i wanted to make X cards flip before being scored, to show their fake rank?

astral glade
#

:yipppeeeeee:

cerulean flare
#

I remember seeing a mod about tag packs, does anyone know where I can find it?

wanton rapids
#

this one?

cerulean flare
#

but it's not released 😦 I can't learn from its code

astral glade
#

no way

wanton rapids
#

does the animation work correctly?

astral glade
#

yes

wanton rapids
#

awesome

fickle elbow
#

i don't follow by your sorting

#

i go off grid

iron onyx
#

ah, i see

wanton rapids
#

yeah the categories don't actually matter

iron onyx
#

also

wanton rapids
iron onyx
#

well, good news: i think the functionality for X cards is finally done

#

slightly bad news: i'm not sure if there's an easy way for me to force X cards to flip to their fake rank before calculation

cunning silo
cunning silo
wanton rapids
cunning silo
astral glade
#

ohh ive never played

wanton rapids
#

and also pack support

cunning silo
wanton rapids
#

i'll see what i can do

iron onyx
#

(these sprites are placeholder, i'm planning to replace the ace symbol with question marks that have the suit symbol instead of the bottom dot)

astral glade
cunning silo
wanton rapids
astral glade
#

i think all of these arent working

#

due to being in a second table

iron onyx
wanton rapids
#

yeah that's probably right

#

mb

#

will fix in 1.0.4 coming within the hour

cunning silo
iron onyx
#

get_straight(hand)

#

and i kinda completely rewrote it

cunning silo
#

Ohhh it only works for straights?

iron onyx
#

well, it also works for get_X_same

cunning silo
#

Oh ok cool

iron onyx
#

and a little bit in evaluate_poker_hand

#

now i'm just trying to figure out where i could insert a little visual flourish

cunning silo
#

Interesting

astral glade
#

oh hell yea

wanton rapids
#

1.0.4 out now

iron onyx
#

because ideally, i'd love for scored X cards to flip to the rank they are acting as for the hand before the scoring process begins... but i don't know if there's a clean way to do that in steamodded

#

...oh, i think that might work

sleek granite
#

you werent using that?

rare shell
astral glade
#

one of them wants you to play flushes the other wants you to play straights

cunning silo
#

XD this will be so good for the showcase page for Fusion

#

(Cause I already made a format for them

fickle elbow
# wanton rapids also

i've been trying cause i think it'd be cool and easier to use but what about a dropdown instead of scrolling or an option for a dropdown

#

most i got was this, doesn't even work all the cards still show

wanton rapids
#

i prefer the scrolling layout

#

it's simpler

fickle elbow
#

thats fair

#

how about easy adding of new sections?

#

like decks, but renamed where anything assigned can go under it

wanton rapids
#

you can just edit the html

fickle elbow
#

it's hard to get specific jokers under different categories, and I'm not very familiar with html.

#

i'll go to bed and try some stuff tomorrow

wanton rapids
#

dramatic entrance!

#

(also, blasphemy has been retextured to have the uncommon border to match it being uncommon in game)

rough hill
#

Hey ya'll, quick modding/cheating questions, what is a way I can cheat to give myself one more hand versus The Needle?

#

I'm on Mac, for the record.

wanton rapids
#

use the mod that enables debug mode

#

you can add a hand in the debug menu

rough hill
#

Which one is that?

rough hill
#

Fantastic, what do I need to do to install it? I haven't modded yet

wanton rapids
stone brook
#

yipppee my modpack is done

wanton rapids
#

awesome

stone brook
#

just gotta wait for the next balamod release so that it actually works :3

tacit mountain
# wanton rapids you can use https://discord.com/channels/1116389027176787968/1209564621644505158...

It does, but for now this issue might be helpful to help when using the injector: https://github.com/Steamopollys/Steamodded/issues/23

GitHub

The code seems to be written to only accept exe files. The resources directory in the .App format is different than what the code accepts /Library/Application Support/Steam/steamapps/common/Balatro...

stone wadi
#

thinking of adding auto detection for the balatro install path... and maybe making my PR easier to review by commit, sorry there's just one big commit in there :x

rough hill
#

OK, think I managed it.

#

Followed the comment about 7zz and stuff.

tacit mountain
#

Yep should be 7z and not 7zz on mac I think

rough hill
#

Was 7zz that did it

tacit mountain
#

Mac is super inconsistent with it...

rough hill
#

Moving it to the bin folder

#

OK so how do I actually install a mod now? lol

#

I have the zip file of a mod

tacit mountain
#

~/Library/Application Support/Balatro/mods

#

You will just have to unzip it

rough hill
#

Hmm, Balatro isn't in the Application Support folder

#

Guess something went wrong with the install? Though it printed a success message and all

#

Oh, got it.

tacit mountain
#

Maybe

#

~/Library/Application\ Support/Balatro/mods

#

Stupid MacOS

rough hill
#

Apparently there are two different Application Support folders

#

There is a global Library, and a Library for each user. The Balatro folder was in the latter.

tacit mountain
#

Oh yeah, I guess it can vary depending on the Steam installation

rough hill
#

Ok, so I just unzip the mod zip inside the Balatro folder?

tacit mountain
#

Yep, but try to keep all the files inside in a specific dir for the mod

rough hill
#

Got it

#

And it should just be working now?

tacit mountain
#

If it gives you a dir when unziping that's already fine

#

yep

rough hill
#

Awesome. Thanks a lot mate!

tacit mountain
#

np

#

I have multiple MR about Mac support but it's very difficult to make it work for all mac version

#

I'm waiting for lovely support on this side

rough hill
#

Fair enough, seems sketchy

warm tide
#

turned negative chaos the clown into a bonus card with a tarot...

rough hill
#

How am I supposed to use the Debug Mode mod?

tight finch
#

i cant find the Balatro.love file
im on mac

formal wing
warm tide
#

so apparently the antimatter voucher always uses the negative effect (unless you give it an edition)

tight finch
#

Balatro.app/Contents/Resources only has this icon inside it

turbid tiger
#

Hey there! I'm currently working on a keyboard shortcut mod. I'm trying to create a UI element to go next to/above selected object (button, cardarea, etc.) to interact with. However, I can't get it to draw above the overlays. Here's how I'm trying to do it atm:

Here's the UI element setup code:

KeyVoucher.overlay_uie = UIBox{
    definition = KeyVoucher:create_overlay_selection(),
    config = {align='cl', offset = {x=0, y=0}, 
    major = G.OVERLAY_MENU, bond = 'Weak'
}}
table.insert(G.I.POPUP, KeyVoucher.overlay_uie)

I've been trying to boost it by adding it to G.I.POPUP, as it is one of the last things that get drawn from at Game:draw()

Here's the element definition for reference - just a box rn:

{ n=G.UIT.ROOT, config={
    align = "cm", 
    colour = G.C.UI.TRANSPARENT_LIGHT,
    minw = 2.5, minh = 2.5, 
    outline = 1, outline_colour = G.C.RED, 
     r = 0.1}, nodes={}}

Have anybody faced this problem before?

warm tide
#

vampire eats played jokers lol

#

bro really went like:" "

sleek granite
#

wait youre makin playable jokers?

#

instead of crashing jokers

grand geode
#

<@&1133519078540185692>

sleek granite
#

mods, delete me

magic sandal
#

Huh what did i miss

#

Why mods

wanton rapids
#

there was a spambot

grand geode
magic sandal
#

Ah

#

Spambots love to see it

granite fulcrum
#

is there a way to disable mods while still keeping all my mods installed?

#

do I just move the mods folder out of the appdata folder?

stone brook
#

i think renaming your mods folder to something else (i.e "mods off") should work

#

otherwise, yea you could also move it out to a different folder

granite fulcrum
#

alright, thanks

upper egret
#

quick question, do mods work with the experimental balatro version? i really like the new tags so wanna use them there

stone brook
#

it most likely will i think

sullen bison
#

I've done this to quicky swap between disabling and re-enabling mods

stone brook
#

still dont expect a completely bug-less experience

granite fulcrum
#

i really appreciate when the main mod file for a mod is called "balatro-mods-main"

#

if I make a folder called "Decks" and put all the deck mods there, will it still work?

sullen bison
#

howtf do you make a chin

granite fulcrum
#

Mods\Decks\mod file

stone brook
#

i think steamodded has a maximum depth it'll search so just make sure it's not like 5 folders deep

granite fulcrum
#

obviously not

#

im going in

#

nvm it crashed instantly

#

nice

grand geode
#

no surprises there aha

wanton rapids
#

i should make a maurice joker actually

granite fulcrum
#

now i need to delete most of them

#

welp

#

nvm its only like 2 mods screwing it all up

#

ok it was just one, poggers

sleek granite
granite fulcrum
#

im not :(

sleek granite
#

i recommend using lovely, its easier to update/disable and some mods might require it

granite fulcrum
#

alright, thanks for the heads up

sleek granite
#

(lovely can load steamodded so it doesnt preclude you from using steamodded mods either)

granite fulcrum
#

lets go!!!

#

it finally works

sleek granite
#

sick

granite fulcrum
#

thank goodness it was only one mod that broke my game

#

my god

sleek granite
#

many dot....

granite fulcrum
#

thats at least 4 decks

sleek granite
#

cant wait for jellymod to singlehandedly break every single other mod you have

granite fulcrum
#

i didnt use it

sleek granite
#

sick

granite fulcrum
#

i saw it was incompatible with a mod

#

so i didnt use it

sleek granite
#

then it should all work i think

granite fulcrum
#

great

sleek granite
#

jelly is incompatible with a lot of mods tbh

granite fulcrum
#

whats wrong with it

sleek granite
#

its a cool thing on its own but unfortunately predates a lot of the APIs extant in steamodded now, to my recollection

#

so the way it adds stuff to the game can break other things

#

(and a few of the things it does still dont have "proper" methods, too)

magic sandal
granite fulcrum
#

nah youre crazy

magic sandal
#

nah thats definitly 3

granite fulcrum
#

excuse me did the game delete everything else?

#

nvm i got pranked

#

its ante 1

tacit crest
#

Ooh that's my mod 👀

granite fulcrum
#

i dont know which mod that is

#

but i do like that boss blind

#

oh wait

#

this is the Risk of Rain mod right>

prime cairn
#

Which mods have been updated in the last 2 weeks?

#

also

#

which mods should I not include with others

lusty lily
#

that is a lot of mods

granite fulcrum
#

man some of these jokers are so cool

prime cairn
wanton rapids
#

jellymod is generally incompatible

tacit crest
iron onyx
#

so a couple teasers before i pass out:

#

new art for the X card, now that it's starting to finalize

sleek granite
prime cairn
#

I can download it if it doesn't crash the game iwth others

iron onyx
sleek granite
#

k yo we're ba-

#

that visual is ballin btw

iron onyx
#

and yes it does do flipping audio

sleek granite
#

yeah we can hear your audio lol

#

's how videos work superplead

iron onyx
#

ah, i couldn't hear it too well

#

wasn't sure if the audio got lost somehow in clipchamp

prime cairn
#

How do you download steammodded

#

I forgot

sleek granite
#

from github

prime cairn
#

link?

sleek granite
iron onyx
#

i'mma go to bed, and try to pull X cards out of "numbalatro" and into a separate mod, with an additional Enhancement API

#

but hey

#

progress is progress

sleek granite
#

enhancement appy

prime cairn
#

chrome is not letting me download it

iron onyx
prime cairn
#

how

iron onyx
prime cairn
#

Windows is not blocking it

#

Chrome is

sleek granite
#

both will block it

#

use the lovely install method it's easier to update and doesn't require you to throw a steel chair at your firewall

tough cove
#

do mods disable achievements i might try modding the game while grinding for all gold stake stickers on every joker if i can just to make the grind more bareable by adding a bit more variety to my games

sleek granite
#

theres an achievement enabler mod

tough cove
#

oh?

#

how does that work

sleek granite
#

steamodded disables achievements by default, but theres a separate mod to overwrite that

tough cove
#

i see

#

and everything would work as normal

#

also does it keep progress between modded and nonmodded

sleek granite
#

mostly. some things might calculate weirdly with the game having more content

#

yes, same save files

tough cove
#

got it

#

at worst i could just do the final few runs unmodded

sleek granite
tough cove
#

yeh idk it might

#

so a save that was modded but was reverted back to unmodded won't have any issue getting the final 100% completion achievement

sleek granite
#

hopefully, though i dont think anyone has tested this empirically

tough cove
#

fair...

sleek granite
#

i know some unlocks can wind up triggering strangely, for example the free planet card joker unlocking before all planets are found since it checks for a specific number of discovered planets

tough cove
#

its just kind of a really huge grind to complete all 150 jokers on gold stake and to have it not feel stale after that long....

main knoll
#

anyone know if theres a way using Immolate to search for a seed that has legendary + ankh first shop? ik it comes with a search for double legendary but I wanted to try for seeds that have double of the same legendary

#

or if theres a way to get started learning to make my own searches would work

cunning silo
fathom pine
#

What lines I have to edit to change the joker cap, consumable cap and hand size?

grand geode
#

in order, G.jokers.config.card_limit, G.consumeables.config.card_limit, G.hand.config.card_limit

fathom pine
#

Thank you!!

wicked storm
#

Hello! I have just started looking at modding and have apparently not installed things correctly - it isn't finding ModloaderHelper anywhere (plus a few other things). Any idea where I've gone wrong?

grand geode
#

ModloaderHelper?

wicked storm
#

Here's the error

#

I didn't see that I needed it when I was installing but it appears necessary and I haven't seen where it is easily

sleek granite
#

i believe that happens when you try to load a balamod mod in steamodded

#

but i might be getting wires crossed

wicked storm
#

Ah, possible! I will see what I can do

sleek granite
#

wait steamodded shouldnt even try to load a balamod mod actually. nvm im the dumbest person alive

fathom pine
grand geode
#

replace G. with self.

#

for game.lua

#

also no reply pings pls 🙏

grand geode
#

go into ADeckCreatorModule.lua and remove these lines, might work

fathom pine
#

Just found this... There is no more self.jokers lines... It says highlight_limit = 1

#

I dont understand where to edit

wicked storm
#

Hmmm will see what I can do. Update if things go wrong I guess. Thank you!

sleek granite
#

notepad moment

sleek granite
grand geode
sleek granite
#

how do you pronounce tamariPlush

grand geode
#

gender

sleek granite
#

yea....

#

a good wisdom....

#

🗣️ 🗣️ 🗣️ 🗣️ 🗣️ i found the yapping emoji guys

wicked storm
#

Okay waiting on a download so I can edit the lua file, but in the meantime I've removed it from the mods folder temporarily and things are working

#

thank you!

grand geode
tall vessel
#

Enforced Speedrun challenge?

oblique ice
#

too hard

fickle elbow
#

i got separation of themes working :]

cunning silo
dapper helm
oblique ice
#

5min

grand geode
#

last i checked the slowest white stake on speedrun.com was a bit over 4 minutes

dapper helm
grand geode
#

:^)

fickle elbow
dapper helm
#

i should try speedrunning a little for fun

stone brook
#

ritual sacrifice day is my favourite holiday

fickle elbow
#

or wait like what each card is?

dapper helm
#

yeah

broken wharf
#

is there a mod that makes the game harder (not looking for new jokers new packs etc. unless its apart of the difficulty increase)

dapper helm
#

house rules!!!!!

broken wharf
#

like just exclusively a hardcore mode for masochists

fickle elbow
#

ok👍

grand geode
#

house rules

#

:^)

broken wharf
civic grail
#

does anyone have the 1x version of tarot card font?

#

i know it exists and i cant find it

sleek granite
civic grail
#

thanks!

sleek granite
#

you're welcome!

rare shell
#

gm chat

cunning silo
#

goooood morning Lyman!

rare shell
#

i woke up on time for once

grand geode
#

mornin!

round ore
#

Maybe in about 45 mins at around 11:15 could someone teach me how to install mods? It would mean alot to me

fallow bramble
#

morning Lyman 👋

wanton rapids
#

blade dance art subject to change

dapper helm
#

looks good

#

are you planning on having 1 card per sts character?

rare shell
#

jokers lament

round ore
#

would anyone help me mod balatro please

wanton rapids
#

might do the Forms separately after

#

also might do a luigi poker card

dapper helm
#

morefluff wasn't the one with claw right?

wanton rapids
#

i don't think so

#

a "modded joker wiki" would be kind of neat

dapper helm
#

true

#

gotta store em in your brain for now

#

i think claw was pampa's

wanton rapids
#

yeah that checks out

wanton rapids
granite fulcrum
#

Is there a sandbox mod that lets me play with whatever jokers/vouchers I want?

wanton rapids
#

you can summon them via debug mode

granite fulcrum
#

oh ok

wanton rapids
#

press 3 while hovering in the collection

granite fulcrum
#

cool, thanks

dapper helm
#

oh yeah quick modding suggestion i'm putting here cause i want it to be seen: a menu (or more like a template for one that goes in the "mods" tab) for enabling or disabling certain things in a mod in game, more convenient than going through and disabling things in the lua file

wanton rapids
granite fulcrum
#

obviously, you could have trusted mod developers be the only moderators if they're willing or your actual friends in the community

#

but then you would have to keep backups of all the data in case theres a mole

#

or do it alone

grand geode
#

if we're doing a modded jokers wiki, PLEASE NOT FANDOM

umbral pilot
#

please please please no fextralife either

rare shell
wanton rapids
#

ofc i won't do fandom

grand geode
#

genuinely never heard of fextralife

rare shell
wanton rapids
#

ideally there'd be a custom searchable interface

stone brook
#

fextralife mostly only does mmo content

#

i think

grand geode
#

i don't play mmos thank god

dapper helm
rare shell
#

is it too insane to just recommend using mediawiki

wanton rapids
#

oh hm

wanton rapids
#

hosting is an issue though

rare shell
#

i never see fandom sites or game guides using mediawiki its very despair

grand geode
tardy sierra
dapper helm
grand geode
#

heck

#

i always brick with anger

dapper helm
#

7, 2 or 3 then?

wanton rapids
#

miraheze's also good from what i've seen although correct me if i'm wrong

grand geode
#

and when i don't i get the timekeeper

#

oh yeah miraheze

#

good stuff

granite fulcrum
wanton rapids
#

there's a mod that enables it

granite fulcrum
#

oh ok

wanton rapids
#

i think wiki.gg is mainly for wikis that are officially supported

magic sandal
#

is this enough modifiers?

dapper helm
#

can it be double pinned?

#

or triple?

#

leftmost rightmost and in place

grand geode
#

wait do i have to remake the jimbo debuffed image with pinned

#

oug

mild gyro
#

so i may have fucked up my game a lil bit, where can i get the default textures of the cards so i can have a normal backround again?

wanton rapids
#

you can verify your install on steam

#

will delete the injected modloader though

mild gyro
#

tried that and it didnt do anything to anything

wanton rapids
#

huh?

#

that doesn't sound right

#

do you have any mods installed?

mild gyro
#

about 13

grand geode
mild gyro
#

yes

#

only issue is i uninstalled that one

grand geode
#

oh interesting

#

if there are multiple pinned jokers then the newest one goes to leftmost

#

and you cannot drag pinned jokers around

wanton rapids
#

that makes some sense

grand geode
#

all jokers are pinned
coming soon to your local house rules

white scarab
#

Now try beating the game with every modifier

wanton rapids
#

all jokers are also eternal, perishable, and rental

grand geode
#

i think we've established that it's impossible

grand geode
#

Luxury Tax + Rich get Richer conflict each other

wanton rapids
#

anyways, should a modded balatro wiki be set up?

dapper helm
#

typecast + faster perishables can't be played either

rare shell
#

probably delete balatro.exe and veryify game files

#

wait whoops

#

scrolled up too much

mild gyro
#

thanks

dapper helm
grand geode
#

TRUE

#

the only way to beat all modifiers is to delete balatro.exe

rare shell
wanton rapids
#

where's my pipe?

#

(philosophical joker)

#

jimbo!

rare shell
#

you reminded me i needed to make a sunday funnies joker

fallow bramble
#

I updated to Steamodded 0.9.8 and now my local variables don't work anymore 💀

What do you guys do to keep track of something that's usually not obtainable information (like the amount of enchanted card ect...) in this version?

mild gyro
#

is this intended?

wanton rapids
#

you either got horrendously lucky with showman or something broke

#

might be a bugged seed actually

#

or jellymod might have broken

tribal sail
#

what are you doing

mild gyro
#

nothin

wanton rapids
#

also blade dance final for those who care

tardy sierra
grand geode
#

add temp steels to hand

wanton rapids
#

i drew it to be readable

grand geode
#

guh

dapper helm
#

you're cooking with these sts jonklers

hard grove
# wanton rapids some more lowres text

those are such fun effects
particularly the mini needle one
quick question about intent and phrasing

the needle (play only one hand) still benifits from burglar bc it triggers after
is it your intent that this doesn't work the same way?

cos other wise it needs to be rephrased to limit hands to 1 at start of round

wanton rapids
#

if it worked with burglar it would be absurdly op, no

dapper helm
#

i love antiburglar jokers!!!!!!!!

wanton rapids
#

what, banner and delayed gratification?

dapper helm
#

blasphemy

#

those 2 but they're almost never enough to matter

#

new yorick is worth getting rid of burglar for

civic grail
#

is it possible to change the sprite of a joker based on how built up the joker is?

wanton rapids
#

like, an extra value on the joker?

civic grail
#

like a +mult scaling joker

#

or any scaling joker

#

idk

wanton rapids
orchid vault
wanton rapids
#

there's a race condition with removing cards from the deck after the blind aaaaa

rare shell
#

hi chat

#

i have a question

#

how would one go about adjusting the soul pos of a joker

#

i know you have to set sprites afterwards but is there a specifc way im supposed to be getting and adjusting the coordinates of soul_pos

grand geode
#

slightly modified bobm's sprite

grand geode
wanton rapids
#

they're talking about changing it after initialisation

grand geode
#

oh uh

#

card.config.center.soul_pos????

wanton rapids
#

you'd have to edit the Sprite that is drawn i assume

rare shell
#

it's config.center.soul_pos yeah

#

but you also need to call card:set_sprites(self.config.center) to make it work

astral glade
cosmic shell
#

you can avoid rerunning set sprites by changing the x and y values individually i believe i.e like

...soul_pos.x = 0
...soul_pos.y = 0
stone brook
#

i think you could just change the sprite thats in card.children.center but im just guessing

grand geode
stone brook
#

i did consider this exact thing of changing sprites on certain conditions too, but i dont really like drawing sprites so i gave up on it xdd

astral glade
rare shell
#

AAAA

#

I GOT IT TO WORK

#

oh the gif glitched

#

darn

#

point is that it works

#

🕵️

granite silo
mild gyro
#

is this intended?

#

inj regards to joker slots

rare shell
#

ok now im off to my job interview

#

o7

grand geode
#

good luck!!

half forge
#

heya, i'm trying to get modded balatro going, but i'm not understanding how to get the modded client

#

i have the steamodded injector, but it does nothing

modest vigil
#

how to you get the steammodded?

chilly wind
chilly wind
#

I could swear there was another post I saw recently that had newer instructions

granite silo
#

it was updated April 9th

snow lintel
#

how do i find the folder with mods installed in it? trying to remove some mods but i cant find the folder

astral glade
#

it works!!!

sleek granite
#

lets GOOOO

iron onyx
#

i wonder if there are enough celestial bodies out there for every rank, too...

sleek granite
#

i could see one of those for Face Cards too

astral glade
#

i was gonna do that for saturn's moons

#

cuz saturn is straight

lavish jackal
sleek granite
#

i think individual ranks is maybe a bit too narrow, unless the boost is larger than the suit ones (which i still feel like may be too strong but idk im not a scientist)

#

no there's not there's 14 ranks and at most 13 zodiac signs if you include snek