#💻・modding-dev

1 messages · Page 1 of 1 (latest)

unkempt thicket
#

epic

random sleet
#

pogly

unkempt thicket
#

also first

stiff leaf
#

👀

ionic isle
#

yay a dedicated channel

tawny rover
#

w (not a dev)

unkempt thicket
#

alright which is better, The Ratio

vagrant pike
#

L+

royal ether
#

wtflip

#

where am i

stiff leaf
#

and another chat.for rules 👀

odd dock
#

huh

vagrant pike
#

new pocket dimension

royal ether
#

rules channel is empty, we can do anything balatrojoker

#

wait while youre here can we have modding vc

stiff leaf
#

XD

arctic fiber
unkempt thicket
#

aight

stiff leaf
#

just be patient yal

#

Id recommend using the other chat till the rules are posted

#

though Im not a mod so idk

random sleet
#

i mean, modding chats' been shitposty i doubt this will be any different (/pos)

stiff leaf
#

lol, it might be more of a questions for modding channel instead of shitpost channlr

#

its ehat Id imagine anyways

prisma loom
random sleet
edgy reef
#

ty Thunk ❤️

random sleet
#

🙏 thunk

analog ivy
stiff leaf
#

Rule 6 grammer looks wack but looks good otherwise, thanks thunk

edgy reef
stiff leaf
#

lol it is

prisma loom
#

daym, these rules are a must have

stiff leaf
#

I never noticed the grammer tilk now then

#

but uh this isnt my type of stuff so have dun everybody abd follow the rules!

slow ocean
#

WHAT

#

HI THUNK

analog ivy
#

hullo

slow ocean
#

thank you for the split

ionic isle
#

real

random sleet
#

real thunk hours (based)

maiden phoenix
#

Rule 8 getting destroyed rn

vagrant pike
#

Now that we have a dedicated chat for it can I get an 8 hour lecture with a power point that uses nothing but starwipe tranitions on how to mod balatro?

analog ivy
#

Remember to use this one for dev/code talk!

slow ocean
#

the silliness is part of the coding process i assure you /s

broken vine
#

2 weeks later modding-dev 2 is needed

random sleet
unkempt thicket
royal ether
#

modding-dev-serious-final-last

broken vine
#

modding-dev-serious-final-last-2

#

also the name of my git repositories

arctic fiber
#

it says modding code/development

unkempt thicket
#

great

#

The Ratio: A, B, or C

gaunt thistle
#

hello there

random sleet
#

general kenobi

gaunt thistle
#

did you try removing the indent from your pattern?

random sleet
#

yeah

#

works now

#

i dont get it

#

but it works now

gaunt thistle
#

nice!

#

indentation is removed from the line before it's matched against the pattern

vagrant pike
#

The common development mantra

gaunt thistle
#

for the sake of simplifying the pattern itself

random sleet
#

i see

gaunt thistle
#

since keeping track of whitespace is annoying

random sleet
#

now to figure out if i can set up a different way of doing this so that i can just supply a "shader" string in config.center or something and apply that shader

#

now to figure out if i can set the mod up to complain loudly if lovely isnt installed

gaunt thistle
#

check for the lovely module, require('lovely')

#

that should work

random sleet
#

oh i was figuring just inject some global variable declaration and then make the mod change every string in the game to "INSTALL LOVELY YOU DOLT" if that variable doesnt exist

gaunt thistle
#

lmao

#

a bit aggressive but sure

#

you could also just raise a runtime error but you did you Chadge

slow ocean
#

yeah dont use the word d*lt

#

use the word silly goose

random sleet
#

(i wouldn't use that exact string lol)

gaunt thistle
#

use "fucky wucky"

random sleet
river fern
#

silly goose is a slur

random sleet
vagrant pike
#

I can't think of any way to do it other than grabbing each DynaText UI object and changing the string

random sleet
#

and also if the only thing im using lovely for is to apply a shader to sprites, then like whatever

vagrant pike
#

And also just regular text objects

#

You might be able to take the hand warning text that pops up when you're about to play a hand that won't be scored by a boss

#

And have that always be up and reading "You must install Lovely"

random sleet
#

i think that might only work in-run

#

but thats still got merit

royal ether
#

you can probably just run through localization and replace everything

vagrant pike
#

Oo, that's a good idea

random sleet
#

dang this would be so cool if it was centered properly...

royal ether
#

time to make a new shader thats the same thing just slightly up a bit

mellow sable
#

Modding chat overhaul? Nice

random sleet
#

i think i might be able to supply args for shaders

#

i just dont know what those... are

#

also i probably wont use the 4 shaders with gameplay meanings, yk
although this is cool

#

the issue with the oddities stretching on load is so weird, as far as i can tell im doing everything the same way vanilla does it for photograph/halfjoker... :S

gaunt thistle
#

shader looks gud

#

nice work :-)

random sleet
#

(the shaders are just vanilla ones)

random sleet
random sleet
#

anyone knowledgeable on Small Cards willing to weigh in? :v (happens after save/load)

unkempt thicket
#

The Fox, thoughts?

royal ether
random sleet
#

yeah but i just dont know why; Photograph and Half Joker have no similar issues

silent sinew
#

i'm gonna try to fix that issue i was having earlier with only my first joker being selected by pseudorandom_element

odd dock
silent sinew
#

ok that was easy

#

cool

slow ocean
#

finally mustering up the spoons to work on a new jestobiology jonkler

slow ocean
#

yeehaw

#

i guess ill post this in the other channel

silent sinew
#

time to try adding a custom sticker

gaunt thistle
#

are any of you guys using Mac?

#

next 0.5.0 task is the fixup the mac launch script

#

and I don't have a mac soo

silent sinew
worthy depot
#

How does the checkered deck add duplicate suits? I tried looking in game.lua but couldn't find it.

edgy reef
#

It's in back.lua

worthy depot
#

oh!

river fern
#

it converts all diamonds and clubs to the other suits

worthy depot
#

Thank you two!

short surge
#

Wait so is this the new modder channel?

unkempt thicket
#

its for dev progress and help i assume

river fern
#

yeah development and code stuff

#

modding chat is for runs and help installing i think?

slow ocean
#

modding chat is the circus

#

this is the circus staff room

random sleet
#

yeah that tracks

#

anyway i made an abomination

slow ocean
#

i love that

random sleet
#

gonna try to speedrun learning to make a deck cuz i gotta work soon lol

#

oh good you cant give a deck an atlas

unkempt thicket
odd dock
river fern
#

you can

#

give a deck an atlas

random sleet
#

gonna have to fiddle with this in the morning maybe

#

but here's a preview anyway

river fern
#

perkeo goes wild..

random sleet
#

i figure this is a good concept for a deck

#

might entertain similar ones for tarot/planet/spectral idk

#

(thought tarot/spectral will need more code)

#

though i guess i could just replace packs with the appropriate type of pack to avoid That issue

river fern
#

planets would be interesting

#

reduce the slots for it too?

random sleet
#

maybe

#

idk about the slots balance-wise but that's trivial to change yk

#

balancing a deck isnt like balancing other things though, since it only affects the run if you choose to play that deck

#

its not like the existence of an overpowered deck means that every run will be boring, you can just... choose not to play it lol

wintry swallow
#

i need help
i have a card that gains mult with every time that the card type is played but the problem is that the cards that were converted before more cards were played dont increase in multiplier

random sleet
wintry swallow
#

i think u have to do it manualy but idk

random sleet
#

oh man what, you gotta tell me how you got EnhanceAPI working

silent sinew
#

does anyone know if you can use sprite() in a mod or is there a smods function you should use instead

river fern
#

they mentioned they were using jellymod as a reference

random sleet
#

oh :|

river fern
#

which is very unfortunate

#

cuz it seems like a cool mod

wintry swallow
#

there are very few mods that have tarots that i could find

#

for reference

random sleet
#

not two mods that utterly break the game....

river fern
#

ink and color suit

unkempt thicket
river fern
#

please dont use jellymod as a reference

#

itll make things very incompatible

wintry swallow
#

okay

unkempt thicket
river fern
#

especially since they didnt use the tarot api iirc

random sleet
#

correct

#

i dont think jellymod uses... any of the apis

#

on account of being older than them

wintry swallow
#

makes sense

river fern
#

really cool mod tho!! really hoping you can port it over with the API's so itll work with other mods

#

you'll have to use EnhanceAPI for making the enhancement

wintry swallow
#

Ok thanks

wintry swallow
#

when i tried to change a tarot sprite with the api for some reason it changed every single joker into a glitchy mess

#

idk why that happened

river fern
#

did you register a sprite as well?

wintry swallow
#

i think so

random sleet
unkempt thicket
#

sprite overlay👍

silent sinew
#

how do i point the game to my mod's assets folder

random sleet
silent sinew
#

i'm like losing hope rn because i've been scouring fucking everything i have to reference for this

random sleet
#

assets/1x or assets/2x is automatic

#

i think the problem you have there is that sprites arent injected at the same timing as mod init

silent sinew
#

it's so confusing because in the seal api they still use sprite() just like in the original game so i can only assume i should use sprite() here too

#

but i have no idea what to put for the atlas

random sleet
#

interesting

#

what function is that in

silent sinew
#

seal.lua in steamodded core

random sleet
#

:| fine i'll check myself

silent sinew
#

it's smods.injectseals

#

sorry my brain is foggy rn

#

its a short file

#

i figured i might as well try making my own sticker api in steamodded itself by copying the seal api but that was a total flop because stickers are only implemented partially similar to seals

#

stickers don't have a pool or anything like that

unkempt thicket
random sleet
#

yeah, looks like that might work in seal api and not your code because SMODS injects sprites before seals

random sleet
#

but you're trying to do it before anything is injected (in initMods())

edgy reef
silent sinew
#

AWWW

edgy reef
#

Probably should test further though

random sleet
#

one day steamodded will update

river fern
odd dock
#

Garfields and Ls

#

who made that choice?

river fern
#

i did it by order added

odd dock
#

i see

river fern
#

(not gonna be real btw)))))

odd dock
#

dang

river fern
#

unless someone wants to code it

random sleet
#

that would be funny tho

#

being able to specify "smears_with" for a suit would be funny

river fern
#

yeah although

#

im not sure HOW that would be done

unkempt thicket
#

would be hard to code :/

mellow sable
#

claude AI is really good at CSS tbh (this is like it's second try at recreating balatro shop ui

random sleet
#

probably not that hard tbh

mellow sable
#

this is for seed analyzer btw

random sleet
#

ew ai :(

mellow sable
#

I'm definitely going to make a lot of manual tweaks, I just don't know a lot of CSS >:)

#

so if I want a certain effect the fastest way is probably just to ask AI for me

wild gyro
mellow sable
#

rather than stackoverflow

river fern
#

i dunno you never really learn anything

hoary sand
#

5 more

random sleet
#

starving web developers....

mellow sable
#

nice

hoary sand
#

i mean two of them are like the same

#

so 4 and a half

unkempt thicket
river fern
#

the flowerpot one is hype

random sleet
#

half gift

unreal nacelle
random sleet
#

this would be funny as a full fusion mod

#

just like literally every card is fusable with gift card

unkempt thicket
#

this with mikas mod lol

unreal nacelle
#

With each effect scaling the more you sell or with all cards' Sell Value

unkempt thicket
#

its a bomb!

#

bomb gift box

unreal nacelle
#

That'd likely be Swashbuckler + Gift Card. XD

slow ocean
#

what are all these red cards

hoary sand
#

?

slow ocean
#

gift card mb

#

im terminally stupid

hoary sand
#

i'll probably just make it a texture mod

unkempt thicket
#

they could be used in a fusion mod

hoary sand
#

someone suggested it as a joke and i'm like 15% done so i can't stop now !

unkempt thicket
#

gift box fusion overload!

unreal nacelle
#

I mean, someone else is also trying to think of Fusions for every card with Splash, so...

unkempt thicket
#

i saw that

wild gyro
odd dock
#

time to make my screenshots even harder to understand!!!

unkempt thicket
#

:0

hoary sand
#

these are all of the ones i have right now

odd dock
unkempt thicket
hoary sand
#

honestly the hardest part is extending the backgrounds

river fern
#

diet cola...

hoary sand
#

flower pot i just had to remake from scratch

hoary sand
unreal nacelle
#

Which one is meant to be the Flower Pot Gift Card?

hoary sand
#

ig oops all sixes wouldn't be bad

hoary sand
river fern
#

you should do smeared joker next

odd dock
#

i forget flower pot is in the game so often

river fern
#

for no particular reason

unreal nacelle
#

Nonetheless, all of them look adorable (to me, at least)

mellow sable
unkempt thicket
mellow sable
#

seed analyzer

unkempt thicket
#

ah ok, cool

mellow sable
#

current UI is literally just yoinked from my comand line program

unreal nacelle
river fern
#

cant wait for probably the hardest one

#

Smiley Face

hoary sand
#

supernova was fun

hoary sand
river fern
#

Walkie Talkie

unreal nacelle
#

Was I right with the pale blue one being Cloud 9, though?

hoary sand
#

i want to add the background clouds to cloud 9 but it doesn't look right

#

yeah

unreal nacelle
#

Meanwhile, I'm just excited to see how you can fit Blueprint or Brainstorm into a Gift Card

hoary sand
#

this is it with the clouds in the same position

hoary sand
random sleet
#

arent both brainprint and bluestorm done

hoary sand
#

brainstorm is um

#

difficult looking

hoary sand
random sleet
#

draw the ribbon on

river fern
#

wait wtf hallucination touches the edge

fair inlet
#

nah that can’t be true

random sleet
#

the art rules are fake

fair inlet
#

you must be hallucinating

hoary sand
#

a few of them do

#

uhhhh lucky enhancemnt does too

river fern
#

wtf...

unkempt thicket
river fern
#

i bet super position will be fun

unreal nacelle
random sleet
#

only 793 cards

unkempt thicket
#

not important

silent sinew
#

oh wait i just realized what was going on

#

i need to add sticker.lua to lovely lol

edgy reef
#

You had me thinking the API was still screwed xdd

silent sinew
#

ok wow i feel dumb

#

that was it

supple dirge
unreal nacelle
#

600, mate

unkempt thicket
#

will have 600

#

in the video around 61

river fern
#

chat does riff raff count as econ

hallow forge
#

Is infinite suits feasible

unkempt thicket
#

i have dynamic code for suits

river fern
#

definitely not, at that point the game would be too laggy

mellow sable
#

I cleaned this up, without AI this time...

unkempt thicket
#

if we somehow manage dynamic art then...

river fern
#

the game already lags a ton with 60 suits on high antes

odd dock
hallow forge
odd dock
#

its super good econ

#

econ that generates econ and scores

hallow forge
#

Any recommendations for something to try to mod to get a feel for modding balatro

odd dock
#

a joker probably

rough furnace
#

Oh cool we have a separate dev channel

#

Tbh kinda nice

silent sinew
#

yaaaaay....

odd dock
#

just a peek into your twisted reality

unkempt thicket
#

why would i wantsthat

odd dock
#

placeholder

hallow forge
mellow sable
#

finally got a settings overlay working lol

stiff locust
#

(I have like all but 30 fusions written out for splash because i wanted to prove i could fuse anything* with splash)

stiff locust
#

and by trying, you of course mean succeeding

#

I made a whole spreadsheet for them and everything

#

26 fusions remain...

unkempt thicket
unkempt thicket
#

squirrel

mellow sable
#

I got the reroll input to work how I wanted

unkempt thicket
#

deeper color squirrel

mellow sable
#

you can edit the text or click on the arrows

short surge
#

big cheaters be like

mellow sable
#

someone is definitely going to backseat streamers with this

short surge
mellow sable
#

be like, "hey, idol is in the next shop" because they used this tool

wild gyro
mellow sable
#

endless

wild gyro
#

oh yeah lmao

mellow sable
#

anyway that's probably all I'll do for tonight

#

then I'm going to add ways to put what the seed finds on these blank card spots (and eventually a spritesheet mechanism)

#

then tooltips and ways to view resample queues

silent sinew
#

i just cannot get the fucking badge to work dude

mellow sable
#

and a search bar to look for certain jokers and more specific queues

#

but that all comes later lol

silent sinew
#

literally what am i doing wrong

odd dock
#

make the seed entirely hidden outside of copying and pasting

mellow sable
#

true

#

or, just don't put it on win screens (only lose screens)

odd dock
#

true

mellow crag
#

Did anyone work on something cool while I was asleep?

wild gyro
#

no

unkempt thicket
unkempt thicket
#

:]

#

im a mad man

edgy reef
#

You don't call create_badge, you assign the text a label and add it to badges

#

The game already handles the rest

mellow crag
#

where did you hook into the badges?

slow ocean
mellow crag
slow ocean
#

jankjonklers + morefluff

mellow crag
#

oh niiiice

slow ocean
#

fusion tribal

edgy reef
#

I don't understand how it works, but it does so not my problem

mellow crag
edgy reef
#

The generate_card_UI block

mellow crag
#

ill need to add it to both my Tag API and the Alchemical API for codex

silent sinew
#

sigh it was that easy

mellow crag
#

what is that for?

unkempt thicket
#

fusions of everything but the jokers

#

The Gong

silent sinew
#

kinda want to make it so the cursebearer tooltip doesn't show up when it's in your deck

#

is there a way to put that in the tooltip function or something

slow ocean
#

censored....

edgy reef
#

uhh idk if you can

#

Maybe check for G.jokers before adding the tooltip?

#

Pretty sure that doesn't exist when you're loading from the main menu

#

Althought might when in a run

silent sinew
#

i mean i would still want the tooltip to show if it's in the shop or something

prisma loom
#

it's a Joker, no?

queen scroll
#

hi, does anyone know if there’s a way in steamodded to register a card without a specific set (e.g. joker, planet, voucher etc)?

short surge
#

depends on what you try to do

#

like a completely new type of object?

queen scroll
#

yeah, kinda

#

it wouldn’t be too awful if it was just a joker actually

#

i’m trying to have an object in the joker area that can have other jokers on top of it

silent sinew
prisma loom
#

How Joker could be added to your deck?

silent sinew
#

???

prisma loom
#

I'm literally reading Cursed effect

#

«Becomes cursed when added to your deck»

#

what am I missing here

silent sinew
#

i don't really know what other term to use

prisma loom
#

«When you get (buy?) this Joker» mb?

silent sinew
#

i guess "obtained" maybe

prisma loom
#

yugioh ahhh wording

#

whichever you like

river fern
#

technically speaking “added to your deck” works because thats literally what is happening in the code 🤓

royal ether
#

technically you can just say "is cursed"

#

all the add to deck effects dont say things like "added to your deck" or "obtained" or "bought"

golden lake
#

morning dev chat

river fern
#

happy 2 am

unkempt thicket
#

BOO!, did i scare you

mellow crag
#

aaaaaaaaaaaa

#

what should I work on today?

unkempt thicket
#

fusions

#

tag api

river fern
#

you should play modded runs today i think

mellow crag
silent sinew
unkempt thicket
royal ether
#

i think u replied to the wrong message

#

o wait nvm

#

wait

#

idk

silent sinew
#

oh wait

royal ether
#

im lost and confused

#

help

slow ocean
#

hi lost and confused im lyman

silent sinew
#

i thought you were talking about the tooltip thing mb

golden lake
mellow crag
golden lake
#

show eyes_baby

river fern
#

eyes_baby

mellow crag
#

👀 👶

golden lake
slow ocean
#

smh

golden lake
#

some might even say its my first language

golden lake
#

absolutely unlock worthy

river fern
#

that alchemical tooltip is snazzy

mellow crag
river fern
mellow crag
#

yeah, it's on all alchemicals XD

#

i love it as well

golden lake
#

I need to do a tooltip like this for Aspects

#

because its so hard to explain they're like vouchers except not

mellow crag
golden lake
#

and they're like planets, except not

random sleet
#

oddity tooltip be like "this is a thing"

prisma loom
golden lake
slow ocean
#

i need to draw new jokers

mellow crag
slow ocean
#

oh your glasses got busted?

#

o7

random sleet
#

o7

golden lake
#

yeah a screw came loose at the frames

random sleet
#

tag api plssssss

prisma loom
royal ether
#

oh wait i had the same issue with my glasses

#

i put glue on the screw then shoved it back in the screw hole

river fern
mellow crag
royal ether
#

and now it works like new

mellow crag
#

already talked with Aure about it

slow ocean
golden lake
#

Steamodded 1.0 will be huge god damn

mellow crag
#

there are a few APIs that will come in 1.0

river fern
#

what else is coming to 1.0

slow ocean
#

me

golden lake
#

are you going to make a custom consumable API as well perhaps

#

👀

slow ocean
#

folks in not straight

mellow crag
slow ocean
#

wait thats coming out

#

mb

prisma loom
#

What language is used for Balatro code?

river fern
#

lua

royal ether
#

looa

prisma loom
#

thx

mellow crag
#

that's what im working on for 1.0

river fern
#

damn!

#

thats exciting

mellow crag
river fern
#

custom consumable api seems a tad unnecessary

prisma loom
#

Has anyone made modding tutorial yet? (coding)

random sleet
#

an actual api for consumable types would be nice tho

prisma loom
#

Mb I can try to get into it

golden lake
#

^

silent sinew
#

evil ass joker:

random sleet
#

or more broadly just for Card Sets as a whole

mellow crag
#

slams table Hello guys! Today I am going to teach you how to mod BALATRO!

golden lake
#

i love this silly little fella

#

(doesnt work with score preview)

golden lake
#

(it will lock you into a hand before you can even play it if you use score preview)

royal ether
#

i can make a balamod guide :3

royal ether
#

chatroom what does this mean

slow ocean
#

newt is a fortunemaxxing cardflipcel

#

(affectionate)

mellow crag
prisma loom
slow ocean
#

myst has a lil bit of a starting guide

prisma loom
#

I'll take anything really

#

can you link it?

river fern
golden lake
#

classic Balatrostuck moment! (Strife Specibus is on Flush)

slow ocean
#

i didnt see ascend wtf thats epic

random sleet
royal ether
#

balamodcels seething 😔

river fern
#

just you

slow ocean
#

we cherish our balamod sage

royal ether
#

balamodcel*

slow ocean
golden lake
#

I only picked up Ascend here because +10 Mult

#

otherwise it is absolutely useless

#

cant scale it

#

because Strife Specibus is locked onto Flush

#

Do you see the vision Lyman

river fern
#

sell button?

golden lake
#

Yeah but then I lose X4 Mult

#

so I'd rather not

slow ocean
river fern
#

i am staring (not respectfully)

slow ocean
#

staring (hostile intent)

golden lake
#

But yeah this is like, the design philosophy of Balatrostuck

#

It is specifically meant to go in the most comedically frustrating way

slow ocean
#

im gonna fucking die when murphy streams this

golden lake
#

Lebron James reportedly picked Strife Specibus on the shop before The Eye

river fern
mellow crag
#

New joker alert!

royal ether
#

i love copy pasting my own code from a similar card then spending more time debugging it than i wouldve taken writing it from scratch

bold osprey
#

The life of coding ✨

golden lake
#

also guys should I do a specific jokers to buff Straight builds

#

but like in fucked up evil ways

royal ether
#

straights sstill suck in general right

golden lake
#

yes

river fern
#

im so tired i thought you called someone a straight guy as an insult

royal ether
#

<--- clueless about vanilla balance

golden lake
#

I wanna do something with like

royal ether
#

probably would be nice to buff straights then

#

my ass is too dumb to think of ideas tho

bold osprey
#

if you don't have the straight joker straight are hard to pull up

silent sinew
royal ether
#

oh yea i saw a couple people recording videos of their mods

slow ocean
#

i love these????

silent sinew
#

forgot to change the description of avaricious to say obtained SIGHHH

royal ether
#

if you rightclick the source in obs, you can crop the output video resolution to balatro window size

#

(also helps reduce file size)

river fern
#

whats the difference between cursed and eternal

silent sinew
slow ocean
#

i love them even more

silent sinew
river fern
#

oHHH

#

i see

royal ether
#

make sure to highlight the balatro source first

silent sinew
#

there's also more ways to destroy in this mod

royal ether
#

ok back to toiling in the super auto mines

random sleet
#

cursed

#

i like cursed

golden lake
#

Guys, what do we think

river fern
#

nice

golden lake
#

20 dollars is 20 dollars after all

random sleet
royal ether
#

nice

river fern
#

only one straight can be made with a 6 and a 9

golden lake
#

yes

#

thats the joke

royal ether
#

isnt it 2

river fern
#

OH 420

random sleet
#

yes but its funnier

golden lake
#

69420

silent sinew
slow ocean
#

nice

royal ether
#

if you play a hand of 6 9 4 2 0 it should give you $69420

royal ether
#

dankranks compatibility

golden lake
#

nahh

silent sinew
#

the eternal common just does nothing
the downside is taking up a joker slot until you get alleviation

random sleet
#

thats just a playable hand in dankranks what do you mean

golden lake
#

its just 6 and 9 straight its dumber that way

#

also its worded as if there's more than one straight that contains a 6 and a 9

#

but there is just one

river fern
#

shortcut

slow ocean
#

if you play The straight 6 to 9

#

also thats not true

#

5,6,7,8,9

golden lake
#

[5] 6 7 8 9 [10]

slow ocean
#

6,7,8,9,10

#

thats 2

golden lake
#

i guess there are two

#

but they still have

#

4 common elements

random sleet
golden lake
#

superposiition at least has

#

A K Q J 10 and 5 4 3 2 A

slow ocean
#

yeah

#

2

golden lake
#

yeah but less common elements

#

which is better for rolling into it

slow ocean
#

not a bad or good thing

golden lake
#

here you have to get specifically 6 7 8 9

#

and a 5 or a 10

#

reward is money though

#

actually i'm gonna flip the numbers

#

1 sec

silent sinew
#

i was gonna try to think about how many straights contain 6 and 9 when you have shortcut and its just a lot i give up

golden lake
#

perfect

#

4 dollars and +20 Mult

river fern
#

1/420 for €420

#

not $

royal ether
#

chatroom why does my pc keep crashing

#

i needa buy new ram...

golden lake
#

you can just download new ram

#

everyone knows that

royal ether
#

true...

slow ocean
#

how many jokers do you need to code akai

river fern
#

maybe turn it off and sit on some grass idk

golden lake
slow ocean
#

yea but how many left

golden lake
#

lets see

#

29

#

i made art for 30 of jonklers though

random sleet
#

akai i have a dumb idea

#

for cruxite dowel

golden lake
#

i mean it has an ability but hit me with it

random sleet
#

take the positions of the two consumables in their respective P_CENTER_POOLS, add them together, modulo the alchemical pool maximum, and then thats the alchemical you get

golden lake
#

lmaO

#

i love that

#

that's so needlessly convoluted

slow pilot
#

I have no clue what these words mean.

golden lake
#

how do i get the positions though

#

i will code that right now if you tell me how to get the positions

random sleet
#

idk you might have to iterate the array to check

golden lake
#

nooooo

#

oh gooood

#

so i'd have to for loop through the P_CENTER_POOLS

#

for every consumable type

#

god dammit

#

autumn pls

#

you've put this idea into my head now

random sleet
#

oh wait

#

do cards know their order

golden lake
#

unsure

random sleet
#

clodsire dev would know

#

i think

royal ether
#

yea they do

golden lake
#

and is that order like

#

unique per consumable

royal ether
#

that depends on steamodded

golden lake
#

crying

random sleet
#

its the position in P_CENTER_POOLS i think right

royal ether
#

not necessarily

golden lake
#

you know what I'll just make it be the two order values modulo alchemical count = alchemical you get

random sleet
#

this will obviously change based on load order

#

and modlist

#

but it would be funny if it was technically deterministic

golden lake
#

i think thats fair what do you think

#

order of consumable 1 + order of consumable 2 modulo alchemical count

random sleet
#

well idk what the order is if its not the p_center_pool position

golden lake
#

yeah but it doesnt matter does t

random sleet
#

ig not lol

golden lake
#

it will modulo it to alchemical count

#

and based on load order it will create personalized copies of balatro

royal ether
#

order is like priority

random sleet
#

it makes it not only more accurate to how cruxite dowels are recipes, but also funny hash map modus

royal ether
#

i honestly have no clue what happens if you have the same order

golden lake
#

we're not setting order

#

we're just grabbing order

#

because silly

royal ether
#

yea

random sleet
#

fine ill check smods github since yall cant google
github sucks on mobile ugh

golden lake
#

what if

#

its order1 & order2

#

single & as in

#

bitwise AND

#

and then you take modulo of that

random sleet
#

that sounds more confusing

royal ether
#

yea i was thinking just do some bitwise operation

golden lake
royal ether
#

even better convert the joker name to a number

#

then use that

random sleet
#

i think having it be something someone can reasonably figure out thru trial and error is fitting

golden lake
#

hm fair too

#

but the again who the fuck has order values memorized

#

also you can still like

#

remember what combos give what

#

its still deterministic

#

it just has a very cursed rule

random sleet
#

ok i checked

#

order should match collection order

#

unsure if its card.ability.order or card.config.center.order

royal ether
#

both work

golden lake
#

god this is gonna be so funny

random sleet
#

so like if you use two The Fools itll give you whatever alchemical #2 is

golden lake
#

&& alchemy moment

golden lake
random sleet
#

im glad to make your mod more cursed

#

idfk how bitwise and works mate

golden lake
#

i just realized that it never specified RANDOM ALCHEMICAL

#

hahahaha

random sleet
#

yeah

slow ocean
#

does base game mention random tarot

random sleet
#

same description

slow ocean
#

or planet

golden lake
slow ocean
#

also hi im back from my walk

random sleet
#

hi back from my walk im a silly girl

golden lake
#

but thats what makes it great

golden lake
#

its such a huge troll

slow ocean
#

i always omitted random

royal ether
#

what if base game also is deterministic...

golden lake
#

yeah same but this is great lyman you have to admit

random sleet
#

lyman the cruxite dowel will be deterministic

slow ocean
#

oh thats comedy

golden lake
#

the cruxite dowel takes alchemical based on this formula

slow ocean
#

thats actually comedy platinum

golden lake
#

bitoper(consumable_order1, consumable_order2, AND) modulo alchemical_count + 1

#

it takes the bitwise AND of the 2 orders

#

and modulos them by count of alchemicals

#

and that's the alchemical you get

random sleet
#

(make sure you add 1 after the modulo)

#

(there isnt an alchemical 0)

golden lake
#

oh yeah

#

but god this is so funny

random sleet
#

im glad you enjoy my dumbass idea

golden lake
#

and you wanna know the best part

#

if you use the alchemical

#

it uses the order of the alchemical as the first part of the equation

#

im crying laughing

random sleet
#

yep!!!!

#

big funny

slow ocean
#

folks we're so back

golden lake
#

so it will appear nondeterministic

#

when in fact its super deterministic

slow ocean
#

this is the greatest balatrostuck idea

random sleet
#

glad to help

slow ocean
#

autumn appreciation day

golden lake
#

this is comedy adamantium

random sleet
slow ocean
#

shes literally me

golden lake
#

real

#

i swear modding dev is like the deepest pit of hell

random sleet
#

shes just like me fr fr

slow ocean
#

cant wait for you to get to literal trash

golden lake
#

wait also i just realized something really funny

#

if you Blueprint the Cruxite Dowel on its payout

#

it will give you 2 of the same Alchemical

#

oh my god this is awesome

slow ocean
#

this is kind of what i wanted to do for a codex legendary tbh

#

but like just way incidentally simpler and awesome

golden lake
#

Codex's Legendary is Balatrostuck's Rare

slow ocean
#

tbh it was a weak legendary idea

#

the idea was just like

#

you got an alchemy card per hand

#

qualities of the hand, eg, type of hand, rank, enhancements would give points

golden lake
#
    SMODS.Jokers.j_cruxitedowel.calculate = function(self, context)
        if context.using_consumeable then
            if #self.ability.extra.consumables_orders < 2 and not context.blueprint then
                table.insert(context.consumeable.order)
            else
            end
        end
    end

so far this works right

slow ocean
#

points determined which alchemical card you got

#

but thats kind of complicated and lame and this is funny

golden lake
#

or is it .ability.order

#

right now how do i create a card of specific order

#

would it literally just mean me accessing the G.P_CENTER_POOLS.Alchemical[alch_idx]

#

and getting the ability name from there

#

D:

narrow pollen
#

now how, i say, how in the kentucky-fried fuck does federapi work

random sleet
#

federapi is in smods now i thought

narrow pollen
#

oh so

#

that may be why it's having a conniption over it also being in the ink and color mod?

random sleet
#

yes

#

update ink/color

golden lake
#
    SMODS.Jokers.j_cruxitedowel.calculate = function(self, context)
        if context.using_consumeable then
            if #self.ability.extra.consumables_orders < 2 and not context.blueprint then
                table.insert(context.consumeable.ability.order)
            else
                local table = self.ability.extra.consumables_orders
                local alch_idx = (bitoper(table[0], table[1], OR) % #G.P_CENTER_POOLS["Alchemical"])
                local alch_name = G.P_CENTER_POOLS.Alchemical[alch_idx]

                G.E_MANAGER:add_event(Event({trigger = 'after', delay = 0.4, func = function()
                    if G.consumeables.config.card_limit > #G.consumeables.cards then
                        play_sound('timpani')
                        create_card('Alchemical', G.consumeables, nil, nil, nil, nil, alch_name, 'crux')
                        card:add_to_deck()
                        G.consumeables:emplace(card)
                    end
                    return true end }))
                    
                if not context.blueprint then
                    self.ability.extra.consumables_orders = {}
                end
            end
        end
    end
#

this works right

#

im not insane right

random sleet
#

you are insane and also that looks right? idk how bitoper works

#

rememeber to add one after modulo

golden lake
#

are lua arrays like

#

not 0 indexed

#

oh my god

#

oh god no

random sleet
#

correct

narrow pollen
#

yep

#

so to do proper modulo

#

you have to do

#

(x - 1) % y + 1

golden lake
narrow pollen
#

;asdlkfja;sdlfkja;fjk;a

golden lake
#

fixed it

narrow pollen
#

i am having the exact same problem wtf

golden lake
#

nevermind

narrow pollen
random sleet
#

i think you gotta use the create_alchemical func but im not sure

golden lake
#

create_alchemical doesnt provide a name ref

random sleet
#

well idk then lul

#

make a version that does

golden lake
#

@mellow crag how would one summon an alchemical by name

#

create_card() errors

#

local card = create_card('Alchemical', G.pack_cards, nil, nil, true, true, alch_name, 'crux')

#

this errors

mellow crag
golden lake
#

i think i know whats causing it 1 sec

#

just gonna ask you sth

#

local alch_name = G.P_CENTER_POOLS["Alchemical"][alch_idx].name

#

is this valid name retrieval

#

this errors now

#

I got the forced key

#

it still complains about centers

#

ugh i need the slug dont i

random sleet
#

yes lmao

golden lake
#

lets fucking go i did it

#

watch this

#

forced key isnt working why

#

feder why

#

i used 2 mercurys twice these should be the same alchemical but they arent @mellow crag

mellow crag
#

show me the line you are running

golden lake
#
    SMODS.Jokers.j_cruxitedowel.calculate = function(self, context)
        if context.using_consumeable then
            if #self.ability.extra.consumables_orders < 2 and not context.blueprint then
                table.insert(self.ability.extra.consumables_orders, context.consumeable.ability.order)
            end

            if #self.ability.extra.consumables_orders == 2 then
                local table = self.ability.extra.consumables_orders
                local alch_idx = ((bitoper(table[1], table[2], OR) - 1) % #G.P_CENTER_POOLS["Alchemical"]) + 1
                local alch_name = G.P_CENTER_POOLS["Alchemical"][alch_idx].slug

                if #G.consumeables.cards + G.GAME.consumeable_buffer < G.consumeables.config.card_limit then
                    G.GAME.consumeable_buffer = G.GAME.consumeable_buffer + 1
                    G.E_MANAGER:add_event(Event({trigger = 'after', delay = 0.4, func = function()
                        play_sound('timpani')
                        local card = create_card('Alchemical', G.consumables, nil, nil, nil, nil, alch_name, 'crux')
                        card:add_to_deck()
                        G.consumeables:emplace(card)
                        G.GAME.consumeable_buffer = 0
                    return true end }))
                end

                if not context.blueprint then
                    self.ability.extra.consumables_orders = {}
                end
            end
        end
    end
#

this should be deterministic

mellow crag
#

interesting

golden lake
#

but it isnt

#

forced key isnt working

mellow crag
#

Show me how the function looks in codex

#

I’m not home rn

golden lake
#

thing is that codex just has one create_alchemical() shorthand

#
function create_alchemical() 
  local card = create_card("Alchemical", G.pack_cards, nil, nil, true, true, nil, 'alc')
  if G.GAME.used_vouchers.v_cauldron and pseudorandom('cauldron') > 0.5 then
    card:set_edition({negative = true}, true)
  end
  return card
end
#

see

mellow crag
#

Yeah I see

#

Then Codex does it override create_card

golden lake
#

wha

#

it doesnt override create card

#

gonna run a test to see if its something wrong with my code or with codex's

#

ok its something with mine

#

wait im testing a small sample size

#

it might be the bitoper

silent sinew
#

locked in for a sec and boom

mellow crag
silent sinew
#

also debug keys because why not

golden lake
#

feder how do i get a key as a string in lua

mellow crag
#

And then take the key

silent sinew
#

another slightly evil thing i did is make the remove cost scale with extra_value

mellow crag
#

Ooh that’s fun

silent sinew
#

i might change that but its really funny to me

#

like wanna use gift to invalidate the sticker? no fuck you

golden lake
#

would this work then

#

oh its just key

#

lets gooooo

#

holy hsit

#

shit

#

look at this!!

silent sinew
#

the ignis is plentiful

stiff locust
#

i can't see the word ignis the same anymore after learning it's a smash bros ultimate pacman bell knockback stacking trick

silent sinew
#

having the output be based on the cards you use is so cool

golden lake
#

the formula is

mellow crag
#

I play smash bros and never heard of it

stiff locust
#

i don't want to explain a pacman tech.. ever

golden lake
#

id of card 1 | id of card 2 modulo number of alchemy cards

stiff locust
#

it's a pacman tech of course you havent heard of it

golden lake
#

feder look at the video holy shit

mellow crag
#

Saw it

silent sinew
#

what do yall think about this little devil icon being used to signify jokers that are more surface-level detrimental than most

mellow crag
#

Looks cool

golden lake
#

also love how

#

2 ignis

#

gives aqua

#

thats so silly

mellow crag
golden lake
#

same way ignis + terra = salt

stiff locust
mellow crag
#

I love how stupid her gameplay is

stiff locust
#

gimme some insider knowledge how to beat minmin

mellow crag
#

Get close

stiff locust
#

but how

narrow pollen
#

i swear to christ

#

i am so close to deleting enhanceAPI

mellow crag
# stiff locust but how

Her attacks can be really slow sometimes, and so you may be able to weave your way around them

mellow crag
narrow pollen
#

custom enhancements are crashing on this line, and i have no idea why

silent sinew
golden lake
#

i love and hate the cruxite dowel thank you @random sleet

narrow pollen
#

now i know how @random sleet felt

golden lake
#

numbuh

#

check this out

golden lake
#

actual stupidity

narrow pollen
#

pfffffft

#

yeah, that's cool

golden lake
#

also the formula for the actual created card is just

#

so stupid

#

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

#

its bitwise OR of 2 consumable IDs modulo by amount of alchemicals

calm nova
silent sinew
# silent sinew

i wonder if there are any vanilla jokers i should add the symbol to

#

itd be incompatible with texture packs but itd be good for consistency tbh

crisp coral
#

i love localthunk spaghetti coding
local loc_target = localize{type = 'raw_descriptions', key = blind_choice.config.key, set = 'Blind', vars = {localize(G.GAME.current_round.most_played_poker_hand, 'poker_hands')}}

#

this line means that every variable slot in the blind text is always the most played poker hand

crisp coral
#

well not for blind select ui,

golden lake
#

you can still do this

#

it's just much harder now

#

also keep in mind you cant hold that much

crisp coral
#

lmao why are they uncapped

golden lake
#

testing purposes

#

but yeah this card is absolutely insane

#

even with every 3 consumables

#

i did nerf it a tad by making order matter more

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

this is the new formula

#

table1 & table2 | table3

crisp coral
#

holy shit i got it working

mellow crag
crisp coral
#

card.ability.wheel_flipped purgatory

mellow crag
#

Oh XD

golden lake
#

imagine getting that on ante 20

mellow crag
#

That’s fun

mellow crag
crisp coral
#

assuming you play every round, that'd be... 90 cards faced down

#

lmao

golden lake
#

i made it so that

#

Cruxite Dowel will now synergize with Cauldron

crisp coral
golden lake
#

and if the Cauldron roll is successful

#

the consumable limit is ignored

#

and its added anyways

#

you can theoretically rack up infinite alchemicals

#

and you can streamline that process by yknow

#

picking consumables in a specific order

#

if you can somehow triple the effect of the dowel you just basically gain access to infinite alchemicals

#

you can generate them every blind

#

for as long as you wish

#

it's awful

crisp coral
#

this is why we put caps on infinites

random sleet
#

this sounds like some tboi shit i love it

mellow crag
bold osprey
mellow crag
#

Wait until we add a legendary that gives you an alchemical each hand XD

bold osprey
#

@_@

crisp coral
#

making a blind that counters alchemicals out of spite

#

oh wait.

#

oh wait....

mellow crag
#

You are evil

crisp coral
bold osprey
#

Perkeo, and alchemical worst nightare