#đŸ’»ăƒ»modding-dev

1 messages · Page 2 of 1

mellow crag
#

Unless you have mutated joker

#

Or essence of comedy

#

And you charged them

crisp coral
#

yes i made this to specifically counter perkeo thank you very much

#

get your reroll vouchers ready

bold osprey
#

i guessed so x)

golden lake
#

i love Cruxite Dowel sooo much

#

the funniest thing about Cruxite Dowel is

#

if you don't pay attention to it

#

it really does seem random

#

so you can just dismiss it as like, a weird consumable generator

#

Homestuck mod so fun

calm nova
#

anyone know where i can find the function for suits

bold osprey
#

do you think adding some functions like select_random_X_joker would be a good addition to base Steamodded ?

#

Like select_random_non_edition_joker

calm nova
#

yea easy to understand

bold osprey
#

Would be easier for newer modders, and would lessen the search or trying to do things

random sleet
#

balatro on the top, balatro modding on the bottom

#

coincidentally i vibe more with the games on the bottom

golden lake
#

breaking news, the Homestuck mod follows Homestuck logic

random sleet
#

error: attempt to index "Homestuck logic" (a nil value)

golden lake
#

also there's a bug that i love so much that I'm keeping it

#

so with Strife Specibus

bold osprey
#

oh ?

golden lake
#

if you sell a Strife Specibus and you have 2

#

you can unassign the Strife Specibus

#

and assign it again

#

to a different hand

#

i find that hilarious

bold osprey
#

Not sure i understand, but if you love it then keep it x)

golden lake
#

let me demonstrate

#

you can pretty much just

#

do this

bold osprey
#

i see

#

funny i agree

zealous glen
# golden lake

Another SFX suggestion for Strife Specibus: make it juice_until it is assigned. (I can’t remember if it’s juice_while instead)

golden lake
#

i could also make that assignment display into a main_end like the Blueprint display

zealous glen
golden lake
#

i mean you can unassign it by selling a copy

#

i think its stupid and homestuck-core

zealous glen
golden lake
#

i like main_end

zealous glen
zealous glen
# golden lake i like main_end

I think in the long term I should learn how that works, but for now I think this is also a reasonable way to do it. Especially if I’m not deleting rows, but adding or editing them

bold osprey
golden lake
#

all you need to completely break the game is a hit of antimony

#

on the dowel

zealous glen
golden lake
#

it doesnt say random

#

((bitoper(bitoper(table[1], table[2], AND), table[3], OR) - 1)) % #G.P_CENTER_POOLS["Alchemical"] + 1

#

also here's the formula

#

its bitwise AND of the first 2 IDs of the consumable

#

bitwise OR'd by the ID of the third consumable

#

it's also blueprint compat

zealous glen
# golden lake it doesnt say random

Personally, I don’t think random effects should always say they’re random. It depends on the game. In Balatro, I think it’s unnecessary because there’s no UI to choose which one you’d want anyways, so players would quickly internalize random is the default.

Also, I quite prefer grokkable and flavorful to accurate, and “alchemize” is flavor and accurate IMO

#

But as always it’s your mod ^^

golden lake
#

me on my way to find out which Planet with Perkeo creates the best Alchemical card

#

oh wait no its just about figuring out which planet makes antimony

#

then you just create way too much antimony

#

use it all on cruxite dowel

#

spend the next 30 minutes creating alchemicals

#

alchemy binge

crisp coral
#

okay woo

silent sinew
golden lake
#

how is that different from Eternal

random sleet
#

immortal is a keyword

queen scroll
#

while eternal appears with a chance in the shop, immortal looks to be part of the joker description

#

so all notecards will be immortal

silent sinew
#

yeah

zealous glen
#

Why a note card?

#

They aren’t sticky afaik

golden lake
silent sinew
#

cursebearing, avaricious, immortal, etc are indicators that the card will always have a specific sticker

golden lake
#

I think Immortal strife specibus would be really funny

random sleet
#

make sure you remove perishable before attempting to put eternal on it

silent sinew
#

also i don't know if i'd call it an api it's more of a library

random sleet
#

and vice versa

golden lake
#

well, i want the library

#

gimme

#

i want to make some of my jokers have thatt

#

make them funnier

silent sinew
#

you can already add these keywords for the existing stickers cause all i'm really doing is just
putting it in the description and adding a tooltip and having it give itself eternal in add_to_deck

queen scroll
#

things may or may not be going on

zealous glen
golden lake
#

make it take up more slots

queen scroll
#

it's not going to be a joker in the standard sense

zealous glen
#

Actually

#

I think it’s funnier if it only takes 1

golden lake
#

i think its funnier if it takes up 4

silent sinew
golden lake
#

you should make a Positive/Polaroid edition

#

(-1 joker slot)

#

it would be really funny

#

if there was an edition that removes a slot

#

so it effectively takes up 2 slots

silent sinew
#

that would be pretty funny actually

#

i'm not sure if custom editions are a thing

golden lake
#

yeah they can be

silent sinew
#

the hard part would probably be the shader

golden lake
#

if its glsl i can write one

silent sinew
#

its kinda hard to imagine what it would look like too

#

just make the card brighter boom /j

random sleet
#

YOU KNOW GLSL

crisp coral
#

invert the negative shader

golden lake
#

i do

queen scroll
#

just use the negative_shine shader without the negative

crisp coral
zealous glen
#

I’m curious to try making a new edition sometime, but then I’d need to learn how to shade

random sleet
#

AKAI WE SHOULD COLLAB

zealous glen
#

Golden shader when

silent sinew
#

although i could also like

#

hueshift it

golden lake
#

you should overlay the whole image over itself

#

overlay effects go hard

silent sinew
#

i'll think about it more tomorrow i'm tired

#

true actually

#

honestly could probably just put it through a color curve that blasts the brighter colors into oblivion

golden lake
#

lmaoo

silent sinew
#

honestly having a harmful edition could be pretty cool design wise because you'd be taking more of a risk whenever you add a random one

#

a whole joker slot might be too much but idk

#

i like the idea of a shitty sun bleached edition that gives you like x0.75 mult

#

reverse polychrome

golden lake
#

Platinum Stake mod

#

Reverse editions, new stickers

narrow pollen
silent sinew
#

i was thinking of putting cursed and stingy on stakes that dont already add new stickers actually

#

i hope thats like a thing

golden lake
#

you should still add reverse editions to platinum stake

silent sinew
#

idek if a whole new stake is in the scope of the mod

#

its kind of gonna be a new stake on its own

#

speaking of stakes i do really need to think about how i'm gonna handle them though because having stuff related to stickers before you can access them normally feels weird

#

i might just have jokers that spawn with a sticker be locked to that stake but idk

#

then i guess for the spectral i'll lock it until stickers start showing up too
the tarot is probably fine though since it's still useful without stickers

golden lake
#

someone should make freaky stake

#

only freaky jokers

silent sinew
zealous glen
golden lake
#

a mod that adds Odd Todd's and Even Steven's distant cousins, Peculiar Patrick and Levelheaded Larry

prisma loom
#

Just type:
«Eternal. Do this, do that»

silent sinew
#

i think its good to specify that it only gains the sticker when you first get it

queen scroll
#

guys how do you add a custom badge to a card?

silent sinew
#

it's an important distinction because i plan to implement ways to remove stickers

prisma loom
narrow pollen
#

i genuinely don't understand why it's doing this for specifically custom enhancements

silent sinew
#

because if it just says "eternal" then it's unclear when the sticker might be applied or reapplied if it's lost

#

i just like things to be clear when it's practical

prisma loom
#

Just set it to always appear with Eternal sticker in the code and add «Eternal. Bla-bla.» in its description

#

Could you make a functional which makes it so when you remove the sticker from a Joker, the word «Eternal» get removed from the text box?

#

That should let you avoid all this nonsense

#

with extra keywords

queen scroll
#

that doesn't solve the issue of not knowing whether removing the sticker will work in advance

prisma loom
#

what's the actual issue here

zealous glen
silent sinew
#

well it's my mod so i'm gonna do it this way

prisma loom
prisma loom
zealous glen
#

But I do agree the wording, or at least the tooltip, is convoluted

silent sinew
#

if i can figure out how to set the sticker when the card spawns rather than when you get it i'll just change it to "always starts (sticker)"

zealous glen
silent sinew
#

i'll have to mess with it tomorrow i haven't looked at that function yet

zealous glen
#

Yeah that one

prisma loom
#

ok

zealous glen
#

I use it to choose Starfish’s hand type

prisma loom
#

it's quite short but covers important things

golden lake
#

Specibus now has a proper assignment display

half temple
narrow pollen
#

why

#

why is this

#

vt shit

#

not set

golden lake
#

Strife Specibus runs are sooo much fun

hallow forge
golden lake
#

per run

#

the whole run

#

one hand

hallow forge
#

Man

#

What a gamble

golden lake
#

you get Not Allowed if you play another one

#

meaning no scoring, no joker triggers, nothing

#

it can be brutal

#

it also makes boss blinds like The Ox, The Arm and The Eye all the more devastating

#

because you will always play your most played hand

#

you will always lose level on your winning hand

#

and you get only one shot at the Eye

#

before the game effectively softlocks and you can just spend your not allowed hands to your death

random sleet
#

(unless you can sell or destroy it)

hallow forge
#

Even more annoying when it’s a flush but you only have a straight flush or flush house or something

hallow forge
random sleet
#

akai what if for balatrostruck/balatrostuck compat i make it so it gives you that aspect if you play a flush* of that aspect (but doesnt increase level if you already are that aspect to mitigate game breakage)

golden lake
#

cursed

#

perhaps

random sleet
#

additionally/alternatively what if you dont start with them in your deck and theres one tarot card that converts cards to the aspect you currently are

narrow pollen
#

i swear

#

it's going to take me completely recreating card.init

#

just to add an "if self.config.center"

random sleet
#

maybe

#

or you could use lovely

random sleet
#

additionally/alternatively what if the cards gain like some mult or whatever based on your aspect level

golden lake
#

yeee

random sleet
#

balatrostruck v0.0.0.0.0.0.0.1 gonna be lit

shell timber
#

you should make a deck where you start with a negative eternal strife specibus

random sleet
#

i think theres a challenge with a standard eternal one

zealous glen
#

(Thinking out loud since I’m not home) how does Scholar scores Chips and Mult? đŸ€”

random sleet
#

it works specifically because it affects the playing card, not itself

gray apex
#

I can't seem to figure out how to make a tooltip display a variable
My function:

function SMODS.Jokers.j_slug.tooltip(card, info_queue)
            info_queue[#info_queue+1] = G.P_CENTERS.m_steel
            info_queue[#info_queue] = {set='Other',key='test_tooltip',var={card.config.extra.min}}
        end

My tooltip:

    G.localization.descriptions.Other['test_tooltip'] = {
        name = 'Test',
        text = {
            '1',
            '#1#'
        }
    }
random sleet
#

vars, not var

#

even if you're only putting one in there

gray apex
#

How did I not notice that...

#

Welp, it works, thank you very much!

zealous glen
random sleet
#

it's not, really

#

you're better off looking at the ||joker tarot secret|| in my mod

#

and the associated functions

gray apex
#

Is there an easy way to update a tooltip? It doesn't appear to update by itself after the card is created.

nimble sequoia
zealous glen
#

I had a haphazard solution for Dog but I need something for, well, now possibly any Joker

gray apex
# nimble sequoia what do you mean? dynamically you can do that with loc_def

I tried this, and it didn't work, but maybe I've just done something wrong

        function SMODS.Jokers.j_slug.loc_def(card, info_queue)
            info_queue[#info_queue+1] = {set='Other',key='test_tooltip',vars={
                card.config.extra.current_tip
            }}
            return {card.ability.extra.min, card.ability.extra.max}
        end

It gives me this error: "attempt to get length of local 'info_queue' (a nil value)"

random sleet
zealous glen
random sleet
#

nope

#

those are illegal

zealous glen
#

Also Fish mod compat?

random sleet
#

idk

zealous glen
#

I mean the compat would be on Fish mod’s end I believe

random sleet
#

Fbish

random sleet
zealous glen
zealous glen
#

You use tooltip

random sleet
#

yeah jokers are weird like that

zealous glen
gray apex
#

How do I make a tooltip dynamically update?

zealous glen
#

High Card is
 Tuna

mellow crag
zealous glen
#

Check the Steamodded wiki

golden lake
#

what the fuck is a flushblaze

random sleet
#

of course i already started

#

i get like two hours of free time a day

#

im not gonna waste it just waiting on you

blissful coyote
golden lake
#

no because then theres also

random sleet
golden lake
#

a straight flushblaze

#

what the fuck

random sleet
#

theres no straight flushblaze?

golden lake
#

what the fuck is this i hate this

random sleet
#

though i could actually do straight flushblaze since paredolia exists

zealous glen
blissful coyote
gray apex
zealous glen
#

Small dog, small cat

random sleet
golden lake
#

this is awful. i love it

zealous glen
random sleet
zealous glen
#

I don’t like the name Blaze tho

gray apex
random sleet
#

yea i gotta figure out that order issue

#

flush house is counting instead of flushblaze house

crisp coral
random sleet
#

my mod is comprised entirely of "fuck it we ball"

golden lake
#

Autumn

#

could I make some jokers that proc on Blazes

random sleet
#

ig?

#

idk how jokers that check for hand types work

golden lake
#

do

#

*i do

zealous glen
random sleet
#

do you mean for your mod or to put in this one

golden lake
#

they just do next(context.poker_hands[<hand>])

#

in this one

random sleet
#

oh SweatyToad

golden lake
#

you need some base jokers to make sure that you're not totally fucked

#

like, make Blazes viable

random sleet
#

ok SweatyToad

golden lake
#

also planets!

mellow crag
#

Ore of a kind sitting there

golden lake
#

i can cook

#

let me into the kitchen

golden lake
#

and make its planet the Nether

zealous glen
#

I just learned that Steammodded’s loc_def apparently can directly edit main_end

golden lake
#

wait

gray apex
# zealous glen Maybe if you share the code someone can help
        function SMODS.Jokers.j_slug.tooltip(card, info_queue)
            info_queue[#info_queue+1] = {set='Other',key='test_tooltip',vars={
                card.config.extra.current_tip
            }}
        end
        SMODS.Jokers.j_slug.calculate = function(self, context)
            if context.after and not context.blueprint and context.cardarea == G.jokers then
                local new_tip = pseudorandom('randomvalue', 1, (#self.ability.extra.tips) / 3)
                self.ability.extra.current_tip = 1
            end

            if SMODS.end_calculate_context(context) then
                local temp_chips = pseudorandom('randomvalue', self.ability.extra.min, self.ability.extra.max)
                return {
                    message = localize{type='variable',key='a_chips',vars={temp_chips}},
                    chip_mod = temp_chips
                }
            end
        end
zealous glen
#

Not sure it can edit main_end or just send variables to it

golden lake
#

why is the joker called j_slug crying

random sleet
#

what the hell

zealous glen
#

It’s 🐌 joker

golden lake
#

also chat should I buy ice cream (im 300 in debt)

golden lake
#

wow hater

gray apex
random sleet
#

oh sick

golden lake
#

all my hands gone

zealous glen
#

Mod that makes all localization dictionaries into “”

crisp coral
#

you know what? fuck you.
unhighs your high card

golden lake
random sleet
#

idk how sixsuits does this

#

the same code is borke for me

golden lake
#

you should ask feder

#

feder made a hands api

random sleet
#

you are less helpful than my tamari plushies

golden lake
#

those are very helpful though

zealous glen
random sleet
#

even if they were Real Live Tamari's they would still just tell me to google it

crisp coral
#

tamari Would say that

mellow crag
#

Feder is soon home

#

Don’t worry

random sleet
#

increasingly worried

#

but carry on

zealous glen
mellow crag
#

Fe-der

zealous glen
#

FE-der or fe-DER

mellow crag
#

FE

gray apex
#

Cause changing config to ability causes the tooltip to crash the game

zealous glen
mellow crag
#

XD

odd dock
mellow crag
#

Feh

odd dock
#

cool

zealous glen
mellow crag
#

It’s not Portuguese

#

I can tell you the much

zealous glen
#

That much I could tell

mellow crag
#

@random sleet API sent!

random sleet
random sleet
#

with a local fix, everything seems to be in order

mellow crag
#

oh neato

random sleet
#

(Blaze and Blaze House can be done with an unmodified deck, so they're not secret :) )

frosty dock
#

oh neat

random sleet
frosty dock
#

oh

random sleet
#

hhhhhhh

#

timing

frosty dock
#

mfw straight blaze only possible with pareidolia

random sleet
#

should i actually put in straight blaze...? feels like it gets out of control quickly with putting in EVERY hand combination

frosty dock
#

I mean it's possible, so it should exist

random sleet
#

straight flushblaze....

frosty dock
#

it's like extremely niche

frosty dock
hallow forge
#

Is a blaze just an only face card hand

random sleet
#

ye

frosty dock
#

tbh I wasn't expecting to still be sitting on the dev branch when I'd get to work on steamodded 1.0... should I just release the fixes on there as 0.9.9 to have a clean working tree to merge things into?

random sleet
#

default blaze is between 3oak and 2pair

#

i just hope sticker and payout apis get merged

#

timing thereof is whatever

frosty dock
#

I'm not doing 0.10, so no new feature additions before 1.0

hallow forge
#

If only there were four face cards the Blaze Royal Flush could exist

#

Wait

#

Isn’t there a joker that makes all cards considered face cards

river fern
#

dank ranks
.

frosty dock
#

I want the perishable/rental fix up when 1.0.1 is, but there's really nothing wrong with just having it out there

random sleet
#

1.0 gonna drop with:
Tag API, Hand API, Sticker API, Payout API?

crisp coral
#

uh hold on aure

random sleet
#

pack api unlikely ever

river fern
#

this is horrible for the stock market

random sleet
#

.... good?

zealous glen
crisp coral
#

before you push 0.9.9 can you fix this

random sleet
#

why would i know

zealous glen
#

You said it tho

golden lake
#

parei about to become crazy

frosty dock
crisp coral
#

latest commit of dev branch yes

frosty dock
#

I don't care then, I will be reworking generate_card_ui modifications to use lovely for 1.0, which will eliminate any such issues

golden lake
#

the lovely method..

random sleet
#

cursed?

river fern
#

more like awesome

#

😎

golden lake
#

wheres straight blaze

#

and straight flushblaze

random sleet
#

No

river fern
#

secret hands?

random sleet
#

(i havent added them yet) (and theyd be secret hands anyway)

golden lake
#

add them pretty please

river fern
#

you gotta add a pleading emoji to communicate in bottom

golden lake
#

foams at the mouth

river fern
#

w

golden lake
random sleet
#

akai are you actually going to make planets for this

golden lake
#

yes

#

and jokers

random sleet
#

youre insane

river fern
#

what planets havent been used by any mods yey

#

yet

crisp coral
#

add them pwetty pwease

random sleet
#

where the hell do i even place straight blaze and straight flushblaze....

crisp coral
#

yes

river fern
#

above everything

golden lake
#

below fish blaze

crisp coral
#

what the hell is a fish blaze

random sleet
#

flushblaze five

river fern
#

flush five

#

blaze

crisp coral
#

oh

random sleet
#

holy shit am i going to actually add planets that are PLANETS???

river fern
#

wtf cursed

wooden nexus
#

Planets?

random sleet
#

we love recursion here don't we love recursion here don't we love recursion here don't we

#

(just spotted i didnt pass extra through the recursive call whoops)

gaunt thistle
#

I feel like there's some cult of personality developing here and I don't know how I feel about it

crisp coral
#

lovely happy fun

gaunt thistle
random sleet
#

@mellow crag cards don't score in played hands? ore of a kind gets away with Stone Card properties

rough furnace
#

But what is a lovely anyways???

gaunt thistle
#

it's when two people like each other very much

random sleet
#

wilson you are like the only dev that primarily uses lovely

gaunt thistle
#

which is funny since he can't even compile it KEKW

crisp coral
#

meth where's my dll >:(

river fern
crisp coral
rough furnace
#

I can't even compile it with a docker image

mellow crag
#

interesting

crisp coral
#

REAL

rough furnace
#

Idk why

gaunt thistle
#

yeah I have no idea why

#

I should probably also try the docker image hmm

gaunt thistle
#

cargo-zigbuild might actually work for you

#

it totally bypasses the normal linker by using the zig compiler

mellow crag
crisp coral
#

absolutely groundbreaking

rough furnace
#

I maybe should just install rust in wine

crisp coral
#

with the addition of balls

mellow sable
crisp coral
mellow sable
#

Wonderful

gaunt thistle
#

what do you want from me :-:

gaunt thistle
#

that's how I'm able to build macos binaries on windows

#

very cool project

rough furnace
#

Okay

random sleet
mellow crag
rough furnace
#

I won't an quite busy though so it might take a hot minute

mellow crag
#

i don't?

random sleet
#

nah, you set results[...] = hand

#

should be results[...] = {hand}

mellow crag
#

wait what

random sleet
#

gonna try it locally

mellow crag
#

that\s odd

random sleet
#

idk its what sixsuits does

mellow crag
#

feder is mistake prone apperantly

random sleet
#

however also

#

there's no method for the hand to score any less than the whole hand then

wooden nexus
#

So what’s up all

gaunt thistle
#

you could also make one yourself 👀

random sleet
#

because you're returning every card in the hand as the result

mellow crag
#

oh i see

gaunt thistle
random sleet
#

so for example i couldn't make "two flush pair" where it doesn't score the fifth card

gaunt thistle
#

keeping with my normal morning routine: shitpost with coffee and protein bar

random sleet
#

(pretend that hand makes sense as a concept)

#

you probably want the can_play hook to instead return a table of the scoring cards

#

and then put that table as the results[...]

mellow crag
#

will do

random sleet
#

(and in that case maybe a rename of the hook is in order idk)

gaunt thistle
#

autumn be like "I'm so stupid" and then be out here helping half of this discord implement mods with weird-ass convoluted APIs

#

smh my god damned head

#

if autumn becomes even more powerful we should vote to ban from the island

#

that sorta power and knowledge is scary

random sleet
#

you'd probably set _hand.can_play(hand) to a local var, then check next(var) before putting var in results[...]

gaunt thistle
#

you're like a force of nature at this point

random sleet
#

what a strange oversight that could only come about SPECIFICALLY because your test case is Ore of a Kind

gaunt thistle
#

I was joking about how everyone memes about my project (and me I guess lol)

#

It's pretty funny honestly, was just shitposting

river fern
#

chat lets get a :3 in chat for lovely

odd dock
#

ok i've just never seen those words stringed together in that order so i was confused

random sleet
#

man even with the shrinkage....

rough furnace
#

Implement scrolling

random sleet
#

no

river fern
#

multiple columns

random sleet
#

then it loses the ordering

river fern
#

pages?

rough furnace
#

I have implemented scrolling but it was a fully custom ui thing

random sleet
crisp coral
#

implement pages

random sleet
#

that sounds like a task better left to a smarter person (feder)

crisp coral
#

you must suffer.... like i have.....

random sleet
#

especially since im becoming eepypilled

rough furnace
#

Should rotate it 90* so it has more room

random sleet
#

based

golden lake
#

i bought some masking tape and fixed my glasses temporarily

gray apex
#

I messed around with the tooltips and managed to get it to change every time it's looked at, so that's good enough for me.

crisp coral
#

reading the card explains the card

gray apex
#

Playing a hand plays that hand

pallid copper
odd dock
#

suspicious

dim raptor
#

finally, balatro is tiktok friendly

patent bough
#

the deck should be below the cards imo

golden lake
pallid copper
patent bough
#

ah

gray apex
golden lake
#

portrait mode content is so weird

#

its fine when its content of real life, that's fine

rough furnace
#

I don't think the game can dynamically change tooltips easily.

golden lake
#

but forcing digital content made for PC/Console onto portrait orientation just feels.. wrong

earnest mauve
dim raptor
rough furnace
odd dock
patent bough
golden lake
#

and then it resets every blind

#

so you have to hover over the joker like, 80 times

odd dock
#

evil

golden lake
#

every blind

patent bough
#

flips until page 10000

silent sinew
azure wraith
#

random is more silly tho

#

also less
terrible lol

#

with the tips im an instant fan
without it its just misprint but for chips

zealous glen
gray apex
azure wraith
#

even though they literally do nothing

odd dock
#

"changing the order of the cards changes the order they are in"

rough furnace
#

Suggestion: "Press alt + f4 to get a surprise"

gray apex
#

Y'all are gonna make me double the length of "helpful tips"

patent bough
golden lake
#

anyways

#

what kind of development are we up to today

rough furnace
#

"Jokers that give +mult increase the multiplier"

zealous glen
#

Suggestion:

When fighting a snake, don’t kick between its legs.

odd dock
#

lmao

rough furnace
#

"Do you smell updog?"

zealous glen
#

Suggestion:

uwu

gray apex
zealous glen
#

Suggestion: add an entire public domain book as a tooltip

odd dock
#

bee movie script too?

gray apex
#

I've given myself a 3 line limit

zealous glen
odd dock
#

just "ya like jazz?" then

zealous glen
#

The entire book can fit into one line if the line is wide enough

gray apex
#

I've also added some secret, 1/20 chance messages too.
"Fun fact: Balatro is what clowns like you were called in Ancient Rome
(Honesty is the Best Policy, Pg. 386)"

gray apex
zealous glen
gray apex
#

Problem is formatting it into a row, gotta replace all newline characters with spaces

rough furnace
#

Find and replace go brrr

zealous glen
#

Regex go brrr

rough furnace
#

Does lua have a regex engine?

gray apex
#

The script's file size alone is 90% of the size of my mod... do I want to do this?

rough furnace
#

Idk do you?

gray apex
#

Honestly yeah why not lmao

rough furnace
#

"Shoutout to SimpleFlips"

gray apex
#

Error on line 1967

thorn nacelle
#

"Balatro is pronounced 'balatro'"

gray apex
#

Am I really debugging the bee movie?

crisp coral
#

are you feeling okay

thorn nacelle
gray apex
#

Now, I could theoretically split the script in 3 parts, and put one part on each line

thorn nacelle
# gray apex

this is what I bought an ultra wide screen for, I can read it all

golden lake
#

aure how goes smeatodded

rough furnace
#

You could just do like the first 3 lines of the movie

rough furnace
frosty dock
#

hmm on the topic of breaking changes... how do we like the current SMODS.INIT setup vs. some kind of this_mod type global that refers to the mod currently being loaded that you would define an init func on?

golden lake
#

which one would be better for mod compat

#

do the one better for overall mod compat

#

and mod depedency loading

gray apex
#

I don't think this is as big an improvement as I thought it'd be

rough furnace
#

I mean not needing to know your own id might be nice

frosty dock
#

i mean the way the mod associated with an init function is determined currently is a bit jank

prisma loom
#

Is this part of the code responsible for making Alc. cards effects temporary?

#

I'm a bit lost ngl

frosty dock
#

there's a minor compat concern when two mods use the same init function name (we had that with sixty suits)

golden lake
#

would it be possible for me to check if Codex exists before loading that content

frosty dock
#

yeah chances are I'll add an interface for that

golden lake
#

amazing

#

that would be much appreciated

#

at some point we need that kinda stuff

silent sinew
#

question

#

if you make a joker that has parts of its sprite transparent does the hitbox automatically get shrunk to that size

#

i noticed that happens for half joker but idk if its automatic or hardcoded

golden lake
#

nop

#

its hardcoded

silent sinew
#

damn

golden lake
#

you have to manually edit the hitbox

silent sinew
#

if its not too hard thats still fine

crisp coral
#

it's not too hard

silent sinew
#

why are there like 4 functions that reference half joker and photograph being smaller 😭

#

do i have to hook into all of those??

crisp coral
silent sinew
#

ohhhhh...

crisp coral
#

that's all the things i did

silent sinew
#

what do you divide by to make it a perfect square

#

actually i can probably figure that out with like 5 seconds of math

crisp coral
#

yeah it's just a bunch of math

rough furnace
#

Meth time

silent sinew
#

assuming the hitboxes are 69x93 then it'd be like 1.34 something

frosty dock
#

that's without borders

#

the actual sprites are 71x95

#

but yeah that's about right

silent sinew
#

oh so the hitboxes include the transparent borders?

#

ok in that case it's just what myst used lol

golden lake
#

@slow ocean we've moved here

slow ocean
#

oh i no

#

gm to this chat too

golden lake
#

lyman how you doing

silent sinew
#

not being able to antialias this is killing me

golden lake
#

wdym

#

you can antialias them

#

send it over i'll do it for you

frosty dock
#

that looks cursed

silent sinew
#

balatro doesnt usually have it

golden lake
#

oh please

#

you think balatrostuck cared

silent sinew
#

i might make an exception for this because these edges look so damn ugly

golden lake
#

sburb beta joker be like

slow ocean
#

antialiasing jumpscare

silent sinew
#

AAAAH!

golden lake
#

antialiasing is literally fine if done intentionally

#

keyword - intentionally

silent sinew
#

i'm just soy about being artstyle accurate when i mod games

slow ocean
#

i get that

#

counterpoint

#

balatro sprites have all sort of little "rulebreaks" that are isolated to a couple of cards

silent sinew
#

ok how do i get the card name when i hook into set_sprites

cobalt beacon
#

Hi! I'm new to modding and have an accessibility mod for a friend in mind but I don't know if it would be very very easy or stupid hard. I want to make audio cues for all the cards play when you mouse over them.
My friend is very visually impared and screen reader and other accessibility tools aren't working for playing Balatro. I've been streaming some games with them and reading all the cards and jokers.
How hard would it be to make something like that? (doing the recording is more in my skillset, so that part isn't a problem)

analog ivy
#

:)

silent sinew
#

jumpscare

odd dock
#

hi thunk

slow ocean
#

oh hi thunk

river fern
#

wtf jumpscare

slow ocean
#

i swear im not disrespecting your spritework,,,

odd dock
#

can you fix the 2 out of place blue pixels on blue joker in the K of the top left "joker" text?

river fern
#

im disrespecting those pixels on blue joker

#

LMAO

silent sinew
slow ocean
#

??

#

oh

#

oh my jimbo

#

i see it

silent sinew
#

i found a couple lua TTS scripts just from a google search but idk how you'd add those to a mod. you could probably just run the card's name through it on hover though

analog ivy
#

fixed!

slow ocean
#

LETS GOO

river fern
#

lets GOOO

cobalt beacon
dim raptor
#

now 1.1 can release

odd dock
#

thank you thunk, love you forever <3

slow ocean
dim raptor
#

all you had to do was find those pixels

slow ocean
#

(you're a real one for looking out for your friend like this btw just sayin)

cobalt beacon
slow ocean
#

^^ no problem

golden lake
#

omg thunk in the chat?

river fern
#

just your imagination

mellow crag
#

what is going on here?

river fern
#

crimes i assume

slow ocean
#

accessability options + fixing blue joker sprite

silent sinew
#

you could use different parameters if you want the sound to be based on suit or something

#

i think tts would probably be ideal just to avoid having to make a bunch of individual cases for each playing card, joker, tarot, etc but i wouldn't know where to start with setting that up

slow ocean
#

i think you could do it like musical suits does it and just have the rank be indicated by pitch

#

though that might not be granular enough to distinguish

silent sinew
#

yeah i think so too

bitter sand
#

I'm trying to get more consumable slots by using part of the IncreaseJokerCap mod (i'm not gonna make the mod public because i'm using someone else code) but in-game it doesn't change the number of slots someone might know why ?

silent sinew
#

G.consumeables:change_size(number)

bitter sand
#

i just put it inside or i have to replace something ?

silent sinew
#

let me look into it

bitter sand
#

k

silent sinew
#

maybe there's a better way but you could try

local start_runref = Game.start_run
function Game:start_run(args)
    G.consumeables:change_size(number)
    start_runref(self,args)
end
#

after the init function

#

oh wait you don't have an init

#

just put it anywhere then

golden lake
#

lyman what ability do i do for the joker you drew

silent sinew
#

only thing you would need to replace is number

slow ocean
#

hold on

golden lake
slow ocean
#

using my noodle to brainstorm an accessability option

bitter sand
silent sinew
#

if it's not doing anything you might as well just remove it

wooden nexus
#

How’s it going all?

silent sinew
#

if you mean what you already have in the file

slow ocean
#

ok IANA experienced accesability feature dev but maybe something like this?
numbered cards could be done in a way where its like
1-5 increasing pitch (but very large pitch increases thats noticeable)
6-10 the same, but the sound plays twice
triple for face cards + ace?

sound is played based on suit

theres also a sound that plays after the number that would be for each edition, seal, and enhancement

#

so like your polychrome 10 of hearts might be like
2x high pitched noise (for the heart suit)
followed by the sparkle noise

silent sinew
#

i kinda wanna make custom seal sounds now

golden lake
#

also i wanna make more alchemical compat jokers for balatrostuck

silent sinew
#

hmm

golden lake
#

btw implemented jokers so far

bitter sand
golden lake
#
  • the 3 funny ones
bitter sand
#

sorry for the ping 💀

golden lake
#

its fineee

#

i dont mind them

#

myst does

#

then theres also these 3

bitter sand
#

yeah i seen that (when your name is litteraly dont ping)

golden lake
#

fluorite octet my beloved

crisp coral
#

:p

silent sinew
golden lake
#

we do a little trolling

edgy reef
#

Evil jonkler

#

👍

river fern
#

cap out or will it just kill you

bitter sand
#

i will try it and tell you

golden lake
silent sinew
#

np

slow ocean
#

me dropping in a mentos into my coke

golden lake
#

oh my god im literally crying

#

ante 2 im down to 4 hand size

mellow crag
#

Hm... i wonder

#

what should I work on this weekend?

slow ocean
#

i could get more art cooking for that other project

golden lake
#

lyman do you like the sopor pie

#

i died because of it on ante 3

slow ocean
#

stuntman if it was awesome

golden lake
#

food joker except you have an addiction

rugged void
#
[[patches]]
[patches.pattern]
target = "common_events.lua"
pattern = "for k, v in ipairs(_starting_pool) do"
position = "before"
payload = "_starting_pool = hmod_getPool(_type, _starting_pool)"
match_indent = false
overwrite = false

this doesn't work, what am I missing? monkaHmm

quasi jetty
#

target should be target = "functions/common_events.lua"

prisma loom
rugged void
slow ocean
#

oh right i need to think about what dave does

golden lake
#

yeah!!

#

the Descend joker

slow ocean
#

hmmm

#

thematically what to play into

#

hmmmm...

golden lake
slow ocean
#

YEAH

#

SAME

#

dumb idea number 1

#

uncommon
3X mult
-1X mult at round end.
get a random aspect (or last used??) when this is destroyed or sold

#

wasnt really sure to use aspects with this design since its not like got-tier yet

#

numbers are very spitballed

golden lake
#

i don't think using aspects here works that well

slow ocean
#

yeah fair

#

i had a second one too along the lines of like

golden lake
#

but I do like the idea of using 3 because of act 3

slow ocean
#

yeah i realized that as i was writing it afterward

golden lake
#

i'd maybe say put the trigger on ante, not round

slow ocean
#

"if your last hand scored less than 33% of required chips, X3 mult"

golden lake
#

percentages my behated

#

but yeah in terms of homestuck antes are more like acts

slow ocean
#

i mean tbh as far as percentages go 1/3 is not the worst one for mental math

candid cloak
#

I have some questions for modders

slow ocean
#

but i get the auspice

golden lake
#

wait Lyman i have an idea

#

hear me out right

slow ocean
#

hearing

golden lake
#

"After 3 rounds, remove all Planet levels, gain X1 Mult per planet level lost"

slow ocean
#

is it a one time thing?

golden lake
#

could be

#

could repeat

slow ocean
#

id imagine it would be a one time thing

#

maybe like X0.5 mult or something but that is cooking

#

i really like that

#

its the first time you get into sburb

zealous glen
#

I made a small standalone to test something but I think I have a simple Lua syntax error but I can't spot it. Can someone help me?

candid cloak
#

How much effort goes into coding a joker card, (if you already have the art and ability planned out)

golden lake
#

not that much

zealous glen
# zealous glen I made a small standalone to test something but I think I have a simple Lua synt...
    local j_soultest_the_world = SMODS.Joker:new("The World",'soultest_the_world',{},{x=0,y=0},{name = "The World", text = {"TEST"}},rarity = 4,cost = 0,unlocked = true,discovered = true,blueprint_compat = false,eternal_compat = true,effect = "",atlas = "consumeable_atlas",soul_pos = {x=0,y=1})
    
    function SMODS.Jokers.j_soultest_the_world.calculate(card, context)
        return nil
    end

    function SMODS.Jokers.j_soultest_the_world.loc_def(card)
        return {"TEST 1"},{"TEST 2"}
    end
golden lake
#

depends on abilty

golden lake
slow ocean
#

đŸ€

golden lake
#

but yeah that's like

#

really good

#

thematically and mechanically

zealous glen
#

The error message I get is like ')' expected near '=' but google didn't help me decypher it

golden lake
zealous glen
golden lake
#

you dont use it like that

#

it uses UI table enums

zealous glen
#

Probably not, but I wasn't trying to test that right now

slow ocean
#

is that the proper way to return in the last statement

#

(i am not a lua head myself, just curious)

golden lake
#

yes, but the values are incorrect

#

like, they're not gonna parse

zealous glen
#

Anyways, my game isn't even loading

#

It crashes before

#

There's some syntax error there but I don't see it

golden lake
#

have you considered: looking at the stacktrace and finding which line triggers it

zealous glen
#

I already did that

#

as I said

golden lake
#

which line

#

this just tells you what the syntax error is

zealous glen
golden lake
#

you need the line

zealous glen
#
local j_soultest_the_world = SMODS.Joker:new("The World",'soultest_the_world',{},{x=0,y=0},{name = "The World", text = {"TEST"}},rarity = 4,cost = 0,unlocked = true,discovered = true,blueprint_compat = false,eternal_compat = true,effect = "",atlas = "consumeable_atlas",soul_pos = {x=0,y=1})
golden lake
#

have you considered maybe uh, not doing it like this

zealous glen
#

Yes

#

I tried doing it like in my other mod

#

Still didn't work

golden lake
#

don't do it in one line

#

don't do it in one line

zealous glen
#

I reverted to one line to post it here

slow ocean
#

understandable

candid cloak
#

I have a custom card art and card ability ready, but I am not capable of coding. Is anyone interested in working together or are you guys mainly here for your own creativity?

zealous glen
#

It's easier than posting two dictionaries and a for loop that iterates over them

silent sinew
golden lake
candid cloak
golden lake
#

nope!

#

got my own mod to work on

candid cloak
#

Good luck with your mod!

golden lake
#

you should just learn how to use lua really

zealous glen
slow ocean
#

aye, its a worthwhile endevour

#

take it as someone who barely knew any lua before modding here

candid cloak
silent sinew
#

i knew zero lua like a week ago and now i'm making balatrotale

#

it's not THAT bad if you have some good mods to reference

#

you know what they say, steal like an artist

zealous glen
#

I also didn't know Lua this weekend

#

I still don't because I can't spot this syntax error

silent sinew
#

also i figured out the set_ability and hitbox stuff so now not only can i get rid of the immortal/cursebearer shit but i also have sticky note

golden lake
slow ocean
#

oh worm???

#

wasnt autumn trying to figure this out

silent sinew
#

wdym

slow ocean
#

hitbox stuff specifically

#

oddities have like

slow ocean
#

weird dimensions

silent sinew
candid cloak
slow ocean
#

this whole discussion

#

oh i see

golden lake
#

yippee

slow ocean
candid cloak
#

That art is incredible

golden lake
#

Lyman did it

slow ocean
#

idk the arts trash

#

damnit

#

ninja'd again

golden lake
#

I do all the other art tho

slow ocean
#

its gorgeous and my wife approves

golden lake
bold osprey
candid cloak
#

Is there a stray pixel right where the Katana sword hand thing is?

golden lake
#

so we have Ascend and Descend

silent sinew
#

honestly i feel like this is definitely better than the whole keyword thing

golden lake
#

and also Cascade

#

now we need whatever end of act 4 animation was

#

and Enter

zealous glen
golden lake
#

what was EoA4 animation lyman

zealous glen
golden lake
#

wait no

#

Descend is End of Act 4

#

what is end of Act 3 then??

silent sinew
#

i need it to be clear that they only start with the sticker because this mod adds ways to remove stickers

golden lake
#

ok so it goes

  • Take bite of apple (EoA1)
  • Ascend (EoA2)
  • Enter (EoA3)
  • Descend (EoA4)
  • Cascade (EoA5)
  • Collide (EoA6)
silent sinew
#

i forgot i had 3 oddities that were just guns so oddity api would work without thac i got so confused

golden lake
#

so I need to do Enter and Collide

#

Lyman do you have any ideas for those 2

silent sinew
#

two sides of the same coin...

golden lake
#

oh no! Jimbo's got a guN!

#

Even Steven and his evil twin

#

Evil Stevil

silent sinew
#

i might put the devil icon right under the joker text because idk how i feel about it being covered by most stickers

zealous glen
silent sinew
#

maybe, i'm gonna keep it like this for now but i might end up changing it

zealous glen
#

Also "starts cursed" conveys the same as "always starts cursed" but with fewer words

#

Anyways, I'll resume testing later. Does anyone know of a mod that uses atlases and/or soul sprites?

#

So I can reference them

golden lake
#

jank jonklers

silent sinew
#

actually i think i'll keep the devil where it is because under the joker text it'd be covered by rental anyway

slow ocean
#

im back from my migraine

silent sinew
#

btw in set_ability does anyone know if there is still a chance for other stickers to appear even if one is already set?

#

if there is then i need to make eternal, perishable, stingy, and cursed incompatible

slow ocean
royal ether
#

good mornin chat room

slow ocean
#

hi arachneii

frosty dock
royal ether
#

clodsir

frosty dock
#

could try to add an interface for that to the sticker API

slow ocean
#

its the only clodsire emote i had

silent sinew
#

ik but i still need to make stingy and cursed incompatible with them individually

slow ocean
#

pogsire wait nvm

#

ok chat i have a rather odd question

frosty dock
#

ask

silent sinew
#

i dont actually know how the random sticker spawning system works with sticker api let me check

slow ocean
#

has anyone here played kingdom hearts chain of memories

broken vine
#

random question but yes

frosty dock
broken vine
#

great game, both it and the remake

slow ocean
#

reason im asking is because i went out of my way to do jimbo in the style of chain of memories

#

and i want to figure out what effect to give it that would be thematic

broken vine
#

pffffttttt i gotta see this

slow ocean
#

disney dont sue me pls

silent sinew
#

i can't find anything in the pr about making stickers incompatible with each other

#

only with jokers

#

hmm

silent sinew
broken vine
#

hahaha it's only if the portrait has that little crown disney'd be on ya

slow ocean
#

its a divine blessing that kh:com sprites are just smaller than the average balatro card frame

silent sinew
#

it's so scary

broken vine
#

... you should do it

#

im trying to remember COM's battle system, it was kinda wildin especially for a gba game lol

slow ocean
#

it really was

#

maybe something to do with 3oaks or 3 card hands?

broken vine
#

yeah that's what i was thinking

frosty dock
#

ĂŠ

broken vine
#

successive 3 card hands get bonus multi? COM was all about stacking those 3-card combos, after all.

silent sinew
#

i think i'm gonna try the harmful edition(s) idea i had now

narrow pollen
slow ocean
#

obelisk but for 3 card hands

broken vine
#

but with the "without your most played hand" bit?

golden lake
#

btw lyman before i started this whole fuckery i made a carrot joker

#

then this happened 2 days before 4/13

#

because someone joked about a Gamzee joker based on your JankJonklers Jevil

#

you've caused Balatrostuck to happen

zealous glen
zealous glen
golden lake
#

WAIT YOU CAN DO THAT?

#

I AM DOING THIS ON ALL ASPECTS WHEN I GET THE CHANCE

zealous glen
#

These are Jokers, but I will try to take control of the canonical Planets

#

Another day

slow ocean
zealous glen
#

Because Steamodded says I can take control of game objects, but I don't know if I can overwrite their properties like that

#

Also, at least in the collection they don't move around much, so one doesn't need to redraw the background

zealous glen
#

Some intersect the frame

zealous glen
#

Unless I made the frame pop out

zealous glen
#

I mean, after taking control of it