#⚙・modding-general

1 messages · Page 73 of 1

fallow bramble
#

Oh ok

gilded vortex
#

Aren’t they 13?

#

I mean, the score is +11 but I’d have thought J is 11th

gilded vortex
sleek granite
gilded vortex
#

I’m used to intentionally pinging people on reply 😅

gilded vortex
sleek granite
#

Hm?

gilded vortex
sleek granite
#

for being mean

gilded vortex
#

Sorry if I was mean, I didn’t intend to :<

sleek granite
#

no it is for me to be mean

#

:(

gilded vortex
#

Ah I see makes sense :)

sleek granite
#

liar

rare shell
deft grove
#

yeah lol, oi tudo bem?

sleek granite
#

oddities are out

wanton rapids
#

awesome

sleek granite
#

i felt compelled to say it again cuz i forgor who was there when it happened (historic moment (i released a mod))

wanton rapids
#

the autumn circus

sleek granite
#

yea thats me whats up

rare shell
#

iiiiiiiii

sleek granite
#

lyman lyman lyman lyman lyman

#

gm lyman

lavish jackal
sleek granite
#

oh sick

wanton rapids
#

oh that's cool

gilded vortex
gilded vortex
sleek granite
grand geode
#

TRUE

#

soul of eternity joker that's just every joker effect at once

sleek granite
#

need the fusion joker thats all 150 vanilla jokers glued together

rare shell
#

how im tryna be

sleek granite
#

jestobiology souls DLC

fickle elbow
#

in a function outside the joker, how do you call the joker?

sleek granite
#

with a jestophone

lavish jackal
#

Lyman what do you think of the Octet

fallow bramble
#

Lyman's goal is to steal all the funny jokers

gilded vortex
rare shell
#

my goal is to not go homeless

gilded vortex
#

Do you want the card object?

fickle elbow
#

like with G.GAME in an if statement

rare shell
#

octet is vry pretty

gilded vortex
#

Are you looking at the list of Jokers you currently have?

fickle elbow
#

this but for a joker

gilded vortex
fickle elbow
#

this but with a joker

grand geode
#

i do not understand

gilded vortex
sleek granite
#

do you simply want to know if the player has a joker in their possession?

gilded vortex
#

Because I too want to do that someday

grand geode
#

i now understand

gilded vortex
#

Look up selling a card

#

Because it iterates over Jokers and passes the sold Joker in context

#

Fireplace uses it

#

Campfire*

cunning silo
#

BTW if you didn't see this morning

grand geode
#

if you just need to find whether a copy of a joker exists, use next(find_joker("Joker Name"))

cunning silo
#

I solved our consumable crisis

rare shell
#

???????????

grand geode
#

if you want to iterate through all jokers, for _, v in ipairs(G.jokers.cards) do

rare shell
#

real??

cunning silo
#

yeah

gilded vortex
cunning silo
#

made a small mod for that

gilded vortex
#

Just now

cunning silo
#

not out yet

sleek granite
#

no that's not oddities

grand geode
#

shoutouts to jonklers

sleek granite
#

thats a different thing

gilded vortex
#

But the screenshot has Oddities

sleek granite
#

thank you mys myst

gilded vortex
sleek granite
#

itay made the menu for modded consumables

gilded vortex
fallow bramble
sleek granite
rare shell
#

huh

cunning silo
#

should I release the mod tab patch?

sleek granite
#

NotEnoughConsumables

cunning silo
#

XD

lean dune
#

EvenMoreConsumables

sleek granite
#

aure jumpscare

cunning silo
#

also for the close while this is going to be my modded consumables tab

#

unless i make another one

lean dune
#

:o

sleek granite
#

cant wait for 7 more itay consumable types

cunning silo
#

oddities my beloved

sleek granite
#

oddities may be huge

lean dune
#

evenities when

cunning silo
#

now I jst need to add some boosters for the composite hands and i am done with it

sleek granite
cunning silo
lean dune
#

no, evenities

rare shell
#

eventide???

cunning silo
#

what is evenities?

sleek granite
#

EVENTIDE MENTIONED

rare shell
#

oddities evil brother

lean dune
#

this

grand geode
sleek granite
#

empress of light is lame we out here mtgposting

rare shell
#

🗣️

#

woe flickerwisp be upon ye

lavish jackal
#

this is so gamer

#

Vriska-coded

sleek granite
#

wtf

sleek granite
rare shell
#

terraria screenshot jumpscare

lavish jackal
#

btw

#

the text color

#

is Vriska's text color

#

for the cycling payouts

wanton rapids
#

this is balatro in 2025

iron onyx
#

hot fucking damn

#

i need to start making terraria mods again too at some point

sleek granite
#

i couldnt find a gif of the version of Soul of Eternity with cycling effect text

lavish jackal
#

actually fuck it should I give

#

Fluorite Octet

#

64 payouts total

sleek granite
#

eternity mode moonlord is aids

#

its not even like actually that much more challenging just annoying

fickle elbow
sleek granite
#

they are hands

grand geode
sleek granite
#

fuck you grind for all four classes weapons

#

and loadout for each

rare shell
#

ah time for the mysterious "what did the crash log mean by this?"

grand geode
cunning silo
round ore
#

ooooh ok

sleek granite
#

i look forward to slightly less jank alchemy packs hint hint nudge nudge superplead

sleek granite
#

the uh

#

"put directly into consumables" code

sleek granite
#

Autumn "I dont speak bottom" Mood

cunning silo
#

i see

#

ill look into that

sleek granite
#

sick

fickle elbow
grand geode
#

this has been sitting in the mod files for almost a month without having an effect

grand geode
cunning silo
#

BTW @sleek granite how did you fix it in oddityAPI?

fickle elbow
#

whoops

sleek granite
#

the functions

  • G.UIDEF.use_and_sell_buttons
  • G.FUNCS.can_select_oddity
  • G.FUNCS.select_oddity
#

basically i remap the button to call a different function entirely

cunning silo
#

ohhhhhhh i see

#

I see

sleek granite
#

and in that function i treat it the same way vanilla treats jokers, just with targetting G.consumeables instead

cunning silo
#

but what if they are opened in other packs>?

sleek granite
#

i probably could just have the check for the card being in G.pack_cards and skip the check for oddity booster

cunning silo
#

?

sleek granite
#

you're referring to this line right

cunning silo
#

yes

sleek granite
#

i.e. if they're opened in a newt pack

#

and not in an oddity pack

#

i could probably swap the G.ARGS.is_oddity_booster check for card.ability.set == "Oddity"...

cunning silo
sleek granite
#

what

sleek granite
cunning silo
#

let's say another pack adds your cards to their pool

#

the new button would not appear

sleek granite
#

yes

#

that is a correct reading of the functionality as it stands

wanton rapids
#

do alchemicals work correctly in the funny packs?

sleek granite
#

i have switched it to this locally, i'll probably give it a bit before i try to push an update, see if i cant get more polish on it

#

(tldr it should now work for any Oddity in any pack)

sleek granite
#

i do want to add a button to directly use the oddity from the pack

cunning silo
#

okay finished it

sleek granite
#

for whatever usecases that might have

cunning silo
#

does it support negative cards from the pack?

sleek granite
#

it should, though i never tested it

cunning silo
#

okki

sleek granite
#

thats what this slop is for

sleek granite
grand geode
#

i swear to god

gilded vortex
sleek granite
#

sick!

gilded vortex
lavish jackal
#

Victin have you considered implications for Lucky Break

#

free X64 on every final hand

sleek granite
#

you're a free X64 on every final hand

gilded vortex
lavish jackal
#

Vriska-maxxing

gilded vortex
lavish jackal
#

I love the fact that

#

if you get at least 2 Vriska jokers

#

you just. win the game

#

it's funny because it's true

gilded vortex
lavish jackal
#

wait hear me out actually

#

what if

#

a new boss blind

#

which counters the Vriska build

#

by setting the global probability to 0

gilded vortex
#

Interesting

#

A bit niche but I can see it

fickle elbow
#

how does one call this inside a joker?

lavish jackal
#

alternian letter L as the Blind sign

#

and the color is teal

gilded vortex
lavish jackal
#

The way Vriska joker makes every single probability score on the last hand is by multiplying the global probabilty by 8^8

gilded vortex
lavish jackal
#

but if you multiply a 0

#

it just stays a 0

fickle elbow
#

not quite, i want the joker to draw all non-heart cards face down. i have that code but its not doing anything when i have the joker

#

i think its because there is not any code being call in the joker for it

gilded vortex
gilded vortex
#

What does certainjoker do?

fickle elbow
#

i thought so, but its still not working

gilded vortex
# fickle elbow

That check is wrong because you’re comparing a card to a string I believe

#

You should compare the card’s name

#

Which might be a field in ability

#

I forget

sleek granite
unique sonnet
#

is it possible with mods to add new card packs that work similarly to arcana/spectral packs?

fallow bramble
#

Wouldn't next(joker) be enough?

lavish jackal
#

yeah

sleek granite
#

you also dont do G.jokers.cards[v]

#

v is already the object in question

fallow bramble
#

next(find_joker()) sorry

gilded vortex
gilded vortex
fallow bramble
#

What is he trying to achieve?

gilded vortex
#

If only someone could tell us

unique sonnet
fallow bramble
#

Nvm I can't scroll lol

grand geode
#

hi new mystjokers just dropped

gilded vortex
#

That wasn’t meant as an indirect

gilded vortex
sleek granite
#

newt's mod has custom packs

gilded vortex
#

By the way, how to choose two different items (Jokers) at random from a list? I made code that’s supposed to do it but it’s not working as intended

sleek granite
#

pseudorandom_element?

gilded vortex
sleek granite
#

do it twice

gilded vortex
sleek granite
#

repeat the second one until its not the same as the first one

gilded vortex
#

I want two not one

gilded vortex
wanton rapids
#

shuffle the list, and pick the first two

sleek granite
#

ye

#

pseudoshuffle is a function that exists

lavish jackal
#

yeag

sleek granite
#

Immolate uses it

gilded vortex
fickle elbow
#

is this right?

gilded vortex
#

Do next(findjoker(“JOKERNAMEHERE”))

#

Instead of certainjoker

lavish jackal
#

^

sleek granite
#

still love me some subtitles

gilded vortex
sleek granite
#

through some annoying UI shenanigannery

#

its set up as an API hook in TheAutumnCircus so it could be used by anyone, technically, but you'd have to depend on my mod

#

in the future i may split off some of the API hook style things i've done in Thac as their own mod so others can use them, or perhaps they can be included in SMODS somewhere down the line

wanton rapids
#

can 221 become 113

sleek granite
#

what... is that in reference to?

wanton rapids
#

like

#

if you have hand levels 2, 2, and 1

fickle elbow
wanton rapids
#

can they get shuffled to 1, 1, and 3

sleek granite
#

oh, yeah, i think so

#

one of the 2s gets upped to the 3, one gets downed to 1, and the 1 stays put

#

and then shuffled

wanton rapids
#

ignoring the ups and downs

sleek granite
#

no

wanton rapids
#

ok

sleek granite
#

it shuffles them as units

fickle elbow
#

how are you supposed to call this?

stone depot
#

This might be a silly question, but if we're not allowed to debug into the game's code, then how exactly do y'all figure out how anything works enough to mod it? I'm struggling to figure out how to find the variables/functions I need to mess with things.

fallow bramble
sleek granite
#

you can then export all the source files to a folder, and then use grep or a grep-like tool to search them for function names and whatnot

#

i use notepad++ personally which lets you search within a folder with ctrl+shift+f

#

find a function call you dont know what it does? find the function

wanton rapids
#

or you can find it the old fashioned way with grep

sleek granite
wanton rapids
#

i am Blind

stone depot
#

Oh gotcha, so we can view the source just not debug it? Not trying to argue past the rule, but why the distinction

sleek granite
#

it vague

wanton rapids
#

i think it's just to prevent people from being annoying (?)

#

like oh thunk we can fix this why cant you smh

sleek granite
#

i think it has more to do with discussion thereof rather than the actual act?

wanton rapids
#

yeah

sleek granite
#

but i could be wrong /shrug

stone depot
#

Alright, no big deal either way. I've just been flying blind. Being able to read the source code will help lol. Thanks

wanton rapids
#

time to do the card to area thing

sleek granite
#

WOOO

wanton rapids
#

what even is this

sleek granite
#

so basically

#

there's like two strings in G.UIDEF.use_and_sell_buttons that matter

wanton rapids
#

oh so we return directly if we're in our pack?

sleek granite
#

i've switched it to check the set of the card in my local copy (and on the github, but didnt push a release)

#

this preserves this functionality for custom packs like those in newt's mod

#

but yeah, basically

fickle elbow
#

what am i doing wrong? nothing is happening

sleek granite
#

the important parts are button = "select_oddity" and func = "can_select_oddity"

wanton rapids
#

oh ok this makes sense

sleek granite
#

which then make that button check those functions in G.FUNCS

wanton rapids
#

wtF is select_oddity

sleek granite
#

it's uh

rare shell
#

this funcs

sleek granite
#

G.FUNCS.use_card but it always treats the card similar to a Joker

#

except it puts it in G.consumeables

wanton rapids
#

is this all needed??

sleek granite
wanton rapids
#

well yeah

#

but like

sleek granite
#

i dont know how much is unnecessary

#

but i'd be surprised if there wasn't useless code

wanton rapids
#

yeah

sleek granite
#

basically you'll want this section to match your set (so "Colour")

wanton rapids
#

yeah i saw that

sleek granite
fickle elbow
#

i want all non-heart suit cards to be flipped when drawing them when you have the specific joker. this should work, right?

sleek granite
#

no

#

you're flipping every non-heart card in the hand every time you draw a card

wanton rapids
#

oops (definitely my fault)

sleek granite
#

Oops!

wanton rapids
#

ok now it magically works thanks so much

sleek granite
wanton rapids
#

how tf did you figure thiis out

sleek granite
#

success

fickle elbow
#

what would i change G.hand.cards to to get that effect?

sleek granite
#

once upon a time i was 11 years old and i learned lua to mod minetest

wanton rapids
#

incidentally i learned lua to make love2d games

fickle elbow
#

i "learned" lua for this

wanton rapids
#

ok the way i have colours set up is quite satisfying

#

oh holy shit

#

jimbos from colour packs actually go to joker slots

sleek granite
#

yeah they'll behave like they're in a buffoon pack

wanton rapids
#

also oddity api should probably register the null oddity for each rarity

#

what said null oddity does i do not know

sleek granite
#

i need to figure out some kind of good solution for that, yeah

#

considering making it just use the first entry in G.P_CENTER_POOLS['Oddity']

#

which with Thac is $1

wanton rapids
#

oh the null oddity should be the infuriating note from enter the gungeon

sleek granite
#

i specifically want OddityAPI to not have any content in it

wanton rapids
#

ok then do pink and black square

sleek granite
#

(i should add a config option for the shop and booster stuff)

wanton rapids
#

and have it removed when any oddities are registered

rare shell
#

Make it just

sleek granite
#

that tracks

fickle elbow
#

this should work? nothing is happening

sleek granite
#

G.playing_cards is every card in your deck

fickle elbow
#

yes?

sleek granite
#

i could not answer why nothing is happening, but this definitely will not have the effect you want it to have

lavish jackal
fickle elbow
sleek granite
#

i think you actually need to screw around with the CardArea:emplace function

#

and not G.FUNCS.draw_from_deck_to_hand

wanton rapids
#

i feel like this would flip every heart every time you draw

sleek granite
#

by all rights it should be

#

but idk what else is going on

#

anyway CardArea:emplace has a third argument that is not used much

#

you could try hooking into it, checking if the CardArea is G.hand, if the card isn't a "of Hearts", and if you have the joker, then setting stay_flipped to true before calling the aliased function ref

knotty roost
#

I can't download steam modded :(

fickle elbow
#

this usual keeps it from flipping when alreday flipped

#

me just realizing the name change from one of my mods

cunning silo
#

How tf is that what my autocorrect corrected it to

sleek granite
#

thats from me sorry

cunning silo
#

@lean dune may we implement support for Six Suits’ hands to Composite Hands?

rare shell
#

I didn't see the full thing for composite hands

sleek granite
#

reminds me i should finish dank rank

rare shell
#

Can I be enlightened again

#

Brains been foggy forever recently

rare shell
#

I rember

cunning silo
#

Basically, a consumable card that plays a hand

#

Me and another person had the same idea XD

sleek granite
#

composite hands support for dankranks hands...? :)

cunning silo
#

Wait, do you have 32?

#

Like, rank 32?

sleek granite
#

no

cunning silo
#

):

#

You could have had a square hand

#

2,4,8,16,32

#

If mean, you can still use 1

fickle elbow
#

all i need is a way to flip the cards before drawing, how do i do that?

sleek granite
#

8 and 32 arent squares

#

thats base2 not squares

cunning silo
#

Yeah right base2

#

Call it a power hand

sleek granite
#

but i cant complete 30->40

astral glade
sleek granite
#

not enough card real estate

astral glade
#

this is so sad

sleek granite
#

alexa play oddityapi

cunning silo
#

Did you also change Fibonacci?

sleek granite
#

yea

cunning silo
#

And even Steven?

knotty roost
cunning silo
#

And odd Todd?

sleek granite
#

oddly toddly, even beven, and fibbolly

cunning silo
#

Nice

astral glade
#

prime time from more fluff??

knotty roost
fickle elbow
#

how do you iterate though your entire deck with a joker?

wanton rapids
#

prime time was a cut card from morefluff,

#

it exists now as an actual thing in mikas

rare shell
#

Chat

#

I'm losing my mind

#

So I had a mouse problem for the past few weeks and I'm taking a day just to do a deep clean and

#

My brother in laws room

#

In his fucking room

#

In a closet

fickle elbow
umbral pilot
kindred swallow
#

This is getting deep

rare shell
umbral pilot
rare shell
#

This mf had a

#

5 lb

#

Pound of cheese

kindred swallow
#

Looks... Sun bleached

umbral pilot
#

stole it from work???

#

you can't buy that at sams club lol

knotty roost
#

I FUCKING LOVE CHEESE
GIMME

rare shell
#

Update

knotty roost
#

?

umbral pilot
#

are you going to have some?

rare shell
#

They were baseball cards

#

Basically cheese

knotty roost
#

WHAT

rare shell
#

I was terrified of opening this thing ngl

fickle elbow
#

baseball cards=chesse

wanton rapids
#

was the box cleaned out?

boreal ibex
#

it was not cheese it was cards, hmm

sleek granite
#

update lyman you're awesome

knotty roost
#

baseball cards in cheese box

wanton rapids
#

just get 1 uncommon

wary moth
#

true

knotty roost
#

I gotta find that joker card in there

sleek granite
#

now we need a cheese box oddity that spawns baseball card

knotty roost
#

all my uncommons gonna be good

rare shell
#

What did I do

fickle elbow
#

cheese

lavish jackal
#

lyman do you wanna see something funny

lavish jackal
#

Vriska moment

boreal ibex
sleek granite
#

lyman you're incredible and your work is appreciated widely

lavish jackal
#

^^^^

sleek granite
#

lyman affirmations hour

lavish jackal
#

this

fickle elbow
#

lyman "words of affirmation"

lavish jackal
#

i think we should have a lyman appreciation day where we all send lyman 5 dollars

knotty roost
#

guys
we need a cheese box/bafoon pack that is just 1 baseball card

boreal ibex
#

cheese box tag that gives you baseball card joker

sleek granite
#

tag api........

wanton rapids
#

cheese box sounds more like an oddity than a tag

sleek granite
#

itay........ pls...................
(slash jay)

knotty roost
#

I love these mods
however
version .dll is a "virus"
no more mods guys

kindred swallow
#

opinion check on my terrible sun.

sleek granite
#

@cunning silo it happened

rare shell
#

Lovely method

lavish jackal
#

looks mixely

#

please refine

sleek granite
fickle elbow
rare shell
#

Mostly just the outline

rare shell
cunning silo
lavish jackal
#

itay did you see the funny btw

wary moth
cunning silo
knotty roost
boreal ibex
knotty roost
#

666 guys

#

oh no

knotty roost
sleek granite
lavish jackal
#

the dice are genuinely stupidly strong

wary moth
lavish jackal
#

vriska approved

knotty roost
#

what is "lovely method"

lavish jackal
#

btw autumn

#

how are you enjoying homestuck so far

sleek granite
#

i read like 30 pages or smth and then got distractered

rare shell
#

Can someone link the funny lovely method guide

lavish jackal
#

absolutely valid

#

you can always bookmark your progress on the collection

sleek granite
#

lyman theyre saying they cant dl lovely

#

oh shit will it not just remember it

umbral pilot
#

like the third person I've ever noticed having that problem with lovely

lavish jackal
#

i mean it will but you can like

umbral pilot
#

weird

sleek granite
#

i deffo closed out without bookmarking anything

lavish jackal
#

make multiple bookmarks

sleek granite
#

oh fair

knotty roost
#

chrome is saying version .dll is a virus

umbral pilot
#

@knotty roost do you have a third party antivirus with web protection?

lavish jackal
#

.dll files get flagged all the time

umbral pilot
#

they do, but I would expect them to be consistently flagged, which hasn't been the case

knotty roost
#

only normal windows 11 antivirus

umbral pilot
#

alright yeah. you should be able to bypass the warning

lavish jackal
#

windows user

#

i had no issue cause

#

linux 😎

umbral pilot
#

I have no issues because

#

I compile the source stonks

sleek granite
#

i have issues because
im stupid

knotty roost
#

same
I can't compile anything
I haven't done so in my life

#

:(

lavish jackal
#

compiling is a pretty straightforward process

wanton rapids
#

cargo makes it surprisingly easy

rare shell
#

You're using chrome?

umbral pilot
knotty roost
#

what is this

sleek granite
#

cargo space?

umbral pilot
#

that's lovely.dll inside of a zip archive called lovely.zip

lavish jackal
#

i love rust

umbral pilot
#

rust :3

lavish jackal
#

rust :3

wanton rapids
#

yeah, lovely's in rust

umbral pilot
#

man whoever chose rust for lovely must be a cool dude

#

I'd want to be him ngl

#

rust is neat. I get to use it professionally and I still haven't really found reasons to dislike it

lavish jackal
#

also god im so proud of this card in particular like holy shit

knotty roost
umbral pilot
knotty roost
#

YAS
I can mod now

#

thanks meth man

umbral pilot
#

no problem greggo

gilded vortex
sleek granite
#

reminds me i gotta figure out whats good with dankranks art....

#

(this is a large portion of why it isnt real yet)

rare shell
#

local meth addict distributing modified files to promote gambling to the populace

rare shell
#

metherul you talk exactly like the folks i went to high school talk these days

lavish jackal
#

guys do you wanna see weezer if they were on the atari 2600

sleek granite
#

no

lavish jackal
#

weezer if they were on the atari 2600

wanton rapids
#

is this accurate? can this be rendered on the atari 2600?

rare shell
#

chat is this real

sleek granite
#

-2

umbral pilot
#

man I really fucked up when I chose this name 14 years ago

sleek granite
#

listen

umbral pilot
grand geode
sleek granite
#

they are finally charged

#

they finally glow in the dark

#

chat it is real

rare shell
sleek granite
#

sorry ill stfu and not derail into GITDtamariPlush takeover

#

gn chat

#

gn mariyam plushie

gilded vortex
#

Who's that anime character?

rare shell
#

my plushsona

gilded vortex
#

:0

sleek granite
#

lyman im going to turn you into a marketable plushie

rare shell
sleek granite
orchid vault
rare shell
#

why did you post a picture of baseball cards

orchid vault
#

it’s so cool to see mods getting better with time

kindred swallow
rare shell
#

i HATE loot

#

throw loot in the dumpster

sleek granite
rare shell
boreal ibex
# orchid vault

this explains why people open stuff like pokemon card packs

lavish jackal
#

when will we add Jimbo bossfight to balatro

sleek granite
#

jimbobread man 🙂

rare shell
#

thats coming in balatro story mode

sleek granite
#

balatro story mode when

hardy brook
#

How’s it going all?

sleek granite
#

crimson play my mod

#

gn

lavish jackal
#

crimson dont do that its a pyramid scheme

hardy brook
#
  1. At work.
  2. What mod
  3. I won’t have much time with school and packing
hardy brook
#

O

sleek granite
#

yes just oddityapi

sleek granite
#

on its own

#

nothing else

hardy brook
#

When is it coming to Steamodded as a whole?

sleek granite
#

it isnt

hardy brook
#

Oh

lavish jackal
#

it is not

umbral pilot
#

it's a manual injection exclusive

lavish jackal
#

lovely method

umbral pilot
#

you gotta use autum's custom python script to inject it

wanton rapids
#

oddity api is a mod for steamodded, no?

umbral pilot
#

(it's python 2)

sleek granite
sleek granite
#

i dont even know python

knotty roost
#

speed mod so crazy

umbral pilot
#

look in a mirror, uno lookin ass

wanton rapids
#

it's actually a perl script

umbral pilot
#

perl is fun

sleek granite
#

i definitely dont know perl

umbral pilot
#

yes you do

#

liar

#

otherwise how would you have written the install script

#

smh my damn head

hardy brook
#

Metherul. I gotta ask now that i know it’s a personal project. What is lovely and how does it work? Lol

sleek granite
#

i know lua, some java, some js, slight php

lavish jackal
#

im a C# developer lua is beating my insides into a smooth paste

wanton rapids
#

i know rust, js(?), python(?), lua now i guess

umbral pilot
sleek granite
#

oh and a bit of ruby

#

god i hate ruby

wanton rapids
#

granted i have used js for a whille

lavish jackal
umbral pilot
hardy brook
#

So like… a launcher to choose to install steamodded/balamod/whatever without the weird installation?

lavish jackal
#

modding is just using different APIs and making your own APIs and adding in way too many things until the game loads 5 hours and has too much content for one person to humanly comprehend

wanton rapids
#

this is balatro in 2015

umbral pilot
sleek granite
stone brook
#

hullo metherul does patches.copy basically copy the contents of the source files into the target?

umbral pilot
stone brook
#

hmmmm i hope this just works

umbral pilot
#

let me know if it doesn't :-)

sleek granite
#

oh worm?

#

balamod user using lovely?

#

👀

umbral pilot
#

oH YEAH you're working on balamod support @stone brook

#

very cool

#

take a look at the latest prerelease - it has regex patching

#

it might make your job a little bit easier

hardy brook
rare shell
#

you use a "tool" to "load" your "code "into" the "game"?

boreal ibex
#

"

fallow bramble
#

I bash my "head" into the "keyboard" and "magic" occurs in the "game"

hardy brook
#

Wait…

umbral pilot
lavish jackal
#

i make "mods" by taking "homestuck" references and calling it "balatrostuck"

stone brook
#

how do i get lovely to append a line of code to the end of a file? do i use patches.pattern?

boreal ibex
lavish jackal
#

hi coro

hardy brook
#

And i’m working on Dragon Ballatro

dapper helm
#

hi akai

lavish jackal
#

coro did you see Fluorite Octet gif

dapper helm
#

nope

umbral pilot
stone brook
#

xdd

#

i'll just make a file with 1 line and use patches.copy maybe

umbral pilot
#

you could technically use a regex patch to capture everything, set the position = "after", and then the payload would be inserted at the end

stone brook
#

oh boy

#

ill try that

hardy brook
umbral pilot
#

but copy should absolutely support non-files, not sure why I haven't done that

#

I'll take care of it after work

lavish jackal
#

between 7 payouts

hardy brook
#

How does that even work

lavish jackal
#

and the big X64 payout

boreal ibex
#

i saw +800 chips in there

lavish jackal
#

yes

dapper helm
#

i'm gonna be so sad when i get a random tarot 3 times in a row

lavish jackal
boreal ibex
#

gives x2

wanton rapids
#

should be x2 mult?

dapper helm
#

i like that its readable while going through all the options also

lavish jackal
#

no

#

also I added

#

G.C.VRISKA

lean dune
lavish jackal
#

Vriska color in Balatro

dapper helm
#

what color is that?

lavish jackal
#

its the color she types in

hardy brook
#

Like a cyan color

boreal ibex
dapper helm
#

ahhh i see

lean dune
#

X64 should be X64 Mult

hardy brook
lavish jackal
lean dune
#

literally yes

dapper helm
#

so much vriska color...

boreal ibex
#

with the red box it doesnt really matter

hardy brook
#

I use a different color for generic Xboxes

lean dune
#

sure it's recognizable, but it breaks the game's conventions

lavish jackal
#

i'll do it later

#

not now

#

not priority

boreal ibex
#

it technically should say it

lean dune
#

Xchips can be a thing tho

cursive compass
#

how would i go about blacklisting jokers

lavish jackal
#

works works

wanton rapids
#

neo form
x2 mult
x3 chips

#

(i am making this.)

dapper helm
#

not like it needs to follow every rule

lavish jackal
#

Balatrostuck breaks so many Balatro rules

boreal ibex
#

going to break every rule if i make a mod

rare shell
#

Tbh I would suggest adding it

lavish jackal
#

at least half of all jokers have colors darker than balatro black

wanton rapids
#

oh mb
x3 mult
x2 chips

dapper helm
lavish jackal
rare shell
#

My autistic hyperfixation is writing magic cards so keeping conventions makes my neurons happy

astral glade
#

real

lavish jackal
#

remember, balatro black was invented by john balatro to prevent you from making cards with more color depth

rare shell
#

Listen it's a very useful short hand to explain why colors look off to people getting into pixel art 😭

lavish jackal
#

I know a better trick

#

its called

dapper helm
#

the set palette is a lie by big jimbo to stop you from making better art than thunk

stone brook
#

oh boy i think the way balamod does modules really sucks for lovely

rare shell
#

I'm not gonna link the Celeste spriting bible every time because I'll feel like a missionary

lavish jackal
umbral pilot
lavish jackal
#

this is my secret sauce

#

after I do my jonklers

stone brook
#

yea we're about to release a giga overhaul

lavish jackal
#

i push contrast down by -15

#

and brightness up by 15

rare shell
#

Literally there is no palette for balatro it just falls above a certain brightness for shader reasons aaaaaaaaaaaaaaaaa

lavish jackal
#

yeah and what i do makes it fit in that shader reasons

rare shell
#

I know I knooow

cursive compass
#

i think im gonna try making a mod. or at least like a skeleton of one

astral glade
#

spooky skeleton mod

#

halloween mod early

lavish jackal
#

big chungus mod (adds big chungus joker, big chungus blind and big chungus oddities)

glad sedge
#

is there any cheatsheet or something for making jokers? a list with all the possible functions? im having a hard time starting to create the jokers

dapper helm
#

Oops! all Mr. Bones mod

cursive compass
#

well i mean the example mod works not really sure what i expected

dapper helm
#

hee hee hoo hoo

astral glade
#

hee hee hoo ho

grand geode
#

heehee hoohoo

astral glade
#

merry jokermas

lean dune
#

hee hee hoo hoo the joke's on you

lavish jackal
#

btw fixed the wording

astral glade
#

spectral...

lavish jackal
#

i got fucking. ectoplasm on ante 1

#

also Octet is so pretty

#

like, no matter the enhancement

#

vriska joker stay winning

astral glade
#

poly looks so good

#

same with negative

lavish jackal
#

WAIT I JUST REALIZED SOMETHING

#

you would need exactly 6 oops all sixes to make the Octet proc on X64 always

#

in other words

#

you'd have to have 6d6 and 8d8

#

thats awful

dapper helm
#

where ", otherwise"? effect change or slip up?

lavish jackal
#

just deemed it like

#

not necessary

#

tbf

#

it makes the window too big

#

i'll have to fix that

#

how's this

knotty roost
#

no one should have gave me the power of the deck creator mod (normal thing that everyone would know what I am doing)

lavish jackal
knotty fable
lavish jackal
#

wha

#

no?

knotty fable
#

Oh

#

Ok

real shale
#

Anyone know if it's possible to mod Balatro on the steam deck at the moment? Mainly for the score preview mod - I seen a guide on steam community but a lot of the comments are saying it doesn't work. Thanks!

lavish jackal
#

First thing you need to know is

#

Steam Deck runs on Linux

dapper helm
lavish jackal
#

To mod Balatro on Linux you need to access the .wine subfolder

dapper helm
#

theres modding stuff in steam comments? i wonder how much of it is wrong

real shale
lavish jackal
#

not quite

cursive compass
#

well i have no idea how to program this but it looks cool

dapper helm
#

i wonder if you could just add pinned to all and remove pinned from all after

#

would mess up like 1 challenge for sure but that doesn't matter

cursive compass
#

no idea how to do that icl im a freaking noob

#

i barely figured out how to even make it give 4 xmult by looking at codex arcanum code 😭

dapper helm
cursive compass
#

is there like documentation for stuff like that

#

like how to pin jokers n stuff

dapper helm
#

nope you'd just have to look at the code for that challenge wherever it is

#

"On a knife's edge"

cursive compass
#

apparently its just pinned=true

dapper helm
#

real

cursive compass
#

so i would need to figure out how to make it true for everything when the blind starts

rare shell
#

id try to find something like morefluff or smth that makes eternal stuff and look how they did it

cursive compass
#

and false when it ends or when the card is sold/destroyed

#

alright

rare shell
#

there's a setting_blind context and you can also check for if its a boss

#

and end_of_round for reseting it

cursive compass
#

what in morefluff makes eternal stuff

gilded vortex
#

What do you think this means?

dapper helm
#

any cows lead to more cows and more cows give gooder milk

gilded vortex
dapper helm
#

i have no words, i'm speechless looking at this cow...

fallow bramble
#

Gooder 💀

hardy brook
gilded vortex
round ore
#

wassup

dapper helm
# gilded vortex Now, with your own words

cows either create more cows or they don't have the only 1 at a time restriction, like you have showman basically. having more cows gives you milk of higher quality instead of giving more milk

hardy brook
round ore
hardy brook
#

Or allow beta assets yeah

gilded vortex
gilded vortex
hardy brook
#

Oh then do so

gilded vortex
#

(from SAP)

hardy brook
#

What is SAP

gilded vortex
hardy brook
#

Is there gonna be a big modpack based on it?

#

I know someone’s doing Homestuck. I got a texturepack on DNDG and a modpack on Dragon Ball then Neptunia

dapper helm
gilded vortex
hardy brook
#

Ah okay

gilded vortex
dapper helm
#

interesting

round ore
#

How to make a custom rarity

gilded vortex
#

I did just remove the "when bought" from it to make it shorter

dapper helm
#

yeah i think that part is necessary

#

the rest is good enough

gilded vortex
# round ore How to make a custom rarity

I think I saw a mod that does it, but I can't remember. I think you can just add a new entry to the rarity dictionary, but then you need to make your rarity show up whenever it would be necessary, I think

dapper helm
#

fusion jokers are technically a new rarity

round ore
gilded vortex
gilded vortex
gilded vortex
gilded vortex
cursive compass
#

ok well i got it to pin everything but they get rearranged weirdly

rare shell
#

What was the original order?

dapper helm
gilded vortex
cursive compass
gilded vortex
rare shell
#

How do you set the pinned jokers? Are you just iterating through the list?

cursive compass
#

ok they get pinned and unpinned when they should at least

#

that part was easier than i thought

cursive compass
#

you would think it would either keep the order or reverse it but it seems kinda random

lean dune
#

on a knife's edge challenge:

cursive compass
#

i didn't move them around and it used the same order again in the next blind

#

so maybe it's based on some internal id shit

gilded vortex
hardy brook
#

Ah

lean dune
#

you can pass a vars table to info_queue from steamodded joker API

#

there might be some issues with it that have not yet been investigated tho

dapper helm
#

also hi aure

lean dune
#

the steamodded wiki does have remarks on tooltips

lean dune
cursive compass
#

is there any other way to lock jokers in place without pinned or will i have to try and figure out some way to make it not mess with the order

lean dune
#

uh so

dapper helm
#

theres probably another way but i'm not sure it'd be any easier? idk programming stuff anyway so i'm just guessing

lean dune
#

the way pinned works is it's stuck to the leftmost position, I'm not sure how multiple pinned jokers are handled internally

gilded vortex
lean dune
#

So I think you'd have to dig into how that works and adapt it

cursive compass
#

at the very least i don't think the order they're pinned matters because they get moved to the same positions regardles

lean dune
lean dune
cursive compass
#

well i have no idea where to even start with that honestly

dapper helm
#

figure out what pinned even actually does

lean dune
#

global search with vscode is a good way to start exploring pretty much any functionality's inner working

#

I'd say go searching for 'pinned' or 'pinned_left'

cursive compass
#

also is it good Etiquette™️ to highlight "jokers" or leave it black

gilded vortex
cursive compass
#

it's not highlighted in baseball card but it is in some modded cards from what i can tell

stone brook
#

what the flip ?!

lavish jackal
#

the lovely method strikes again

lean dune
#
function SMODS.Jokers.j_yourjoker.tooltip(center, info_queue)
  info_queue[#info_queue+1] = G.P_CENTERS.c_milk
end
stone brook
#

gotta get a cleaner way of making this work, dunno why love2d's require path doesnt work properly

#

but technically it works !

cursive compass
#

ok apparently pinned sorts by id

lean dune
cursive compass
#

like thats an actual thing in the code

dapper helm
cursive compass
#

table.sort(self.cards, function (a, b) return a.T.x + a.T.w/2 - 100*(a.pinned and a.sort_id or 0) < b.T.x + b.T.w/2 - 100*(b.pinned and b.sort_id or 0) end)

#

at least i think that's what it does

dapper helm
#

pinned in general is so weird

cursive compass
#

maybe just a failsafe in case multiple cards get pinned cause maybe the game freaks out when multiple cards are put in the same order idk

lean dune
#

that's interesting because it's useless in base game

dapper helm
#

^

gilded vortex
dapper helm
#

pinned is used in 1 spot in the whole game and the sorting doesn't matter there

stone brook
#

o hhey

#

thanks for finding that

#

i actually needed to know

#

but i dont remember why LMFAO

cursive compass
#

i don't know if i should mess with CardArea:align_cards() or how i would even do that sob

lean dune
cursive compass
#

the pain of being a lua noob...

lean dune
#

mhm

dapper helm
#

hamster

lean dune
#

interesting use of text background coloring lmao

dapper helm
#

i'm so used to saying hampter that hamster looks wrong

lean dune
#

oh no

#

hampster

dapper helm
#

hampter

lean dune
#

hamter

cursive compass
#

if i knew how to edit basegame functions i could maybe figure out how to make my own modifier

lean dune
#

if you can hook onto the beginning or the end, it's mostly pretty simple to achieve

cursive compass
#

idk how to do that

#

is it a lua thing or a steamodded thing

#

cause if its just lua then i'll look it up on my own

gilded vortex
lean dune
gilded vortex
# cursive compass idk how to do that
local existing_game_function_ref = existing_game_function
function existing_game_function(args)
  do_stuff(args)
  return existing_game_function_ref(args)
end
cursive compass
#

also if i have to make my own modifier anyway i might as well try doing a cool lock and chains overlay

lean dune
#

if you need to modify something in the middle of a function, it's either still just lua and pretty damn convoluted, or you would use lovely for it

gilded vortex
gilded vortex
cursive compass
#

it's locking every joker in place so i feel like it'd be good to distinguish it from pinned

dapper helm
#

stuck?

rare shell
#

You can look at the bottom of the jankjonklers file to see how I did it for calculate_dollar_bonus

gilded vortex
#

Balatrostuck?

dapper helm
#

controlled?

cursive compass
#

dollaf

stone brook
#

dollaf

gilded vortex
#

dollaf

dapper helm
#

dollaf 😨

gilded vortex
stone brook
#

yea looks pretty good

gilded vortex
#

Thanks!

rare shell
#

Fuck i forgot to update that

#

It's sitting on local fixed

stone brook
#

enough messing with lovely for today i gotta get back to toiling away in the super auto balatro mines

rare shell
#

(The fact it still works shows that's its easy to do though paincheese )

lean dune
rare shell
#

isn't that how jelly mod did a lot of its stuff?

lean dune
#

exactly

rare shell
#

Not riffing for the record

#

Question by the way

#

I'm not familiar with creating APIs for things, what would be the process to "incorporate" various functions into the api, like calculate dollar bonus?

#

I'd imagine it's a case by case scenario

umbral pilot
#

the lovely method strikes again

cursive compass
#

it looks like with pinned rather than preventing you from moving the card it just instantly moves it back to the left after you move it to the point where it visually just goes back to its original spot

#

so my first guess is that i just need to log the position of all jokers at the beginning of a blind and basically do that same thing but with those positions instead of the left

#

urgh

cunning silo
cursive compass
#

i'm like, super lost because there's a bunch of variables that i have no idea how to interpret