#⚙・modding-general

1 messages · Page 36 of 1

stone brook
#

it'll make a second card that won't be emplaced if the condition is met

lean dune
#

jank happens whenever you create objects that don't get used

rare shell
#

lets goooo

rare shell
stone brook
#

a card is still created if you return nil

#

you should probably just remove those two cards from the tarot pool instead

sleek granite
#

jank jonklers

rare shell
#

where can I find the tarot pool?

fallow bramble
#

jankiest jonkelers

rare shell
#

its

#

real

#

REAL

stone brook
#

something like that

stoic shoal
#

help! i want to get into balatro modding but i don't know how to read its dll files. what do yall use?

rare shell
#

Visual Studio Code should be enough

wanton rapids
#

you don't need to edit the dlls

stoic shoal
#

then how do i mod?

rare shell
#

Use steamodded to mod

stoic shoal
#

ive never heard of that

rare shell
stoic shoal
#

okay, windows despises this thing

rare shell
lean dune
lean dune
#

#1217867725532041369 is the preferred installation method which doesn't require messing with the executable

old hearth
#

Is there mod/ easy way to unlock a specific joker? I misplayed something at the end of my run and barely missed out on unlocking stuntman

rare shell
#

you can use debug mode

old hearth
#

Does it stay unlocked without it?

lean dune
#

yeah

old hearth
#

Thanks!

stone brook
rare shell
stone brook
#

key should be the id of the care

#

card*

#

c_sky probably?

rare shell
lean dune
#

not sure you should call table.remove while looping over that table like that

stone brook
#

oh yea instead of table.remove it should be = nil

#

also my bad its just card.key

lean dune
stone brook
#

oh yea...

lean dune
#

modifying a structure while looping over it is usually a bad idea, I'd do it after

stone brook
#

i think you just have to iterate through it once per thing you want to remove lmao

lean dune
#

uh yeah arrays aren't very efficient at that

#

O(n) time O(n) space is possible though, just make another table and insert anything that isn't something you want to remove

rare shell
#

🦣

lean dune
#

or set to nil but do a second pass that connects everything back together (by looping up to previous max index)

#

(this is also what makes re-injecting vanilla cards slower, I have to look for the original pool entry and replace it 💀)

rare shell
#

it feel like setting the cards to nil doesn't even do anything

stone brook
#

are the cards still appearing? if so, from where?

rare shell
#

I set the whole pool to nil and they appear in booster packs

#

But today I'm mastodonte-brained, so maybe it's just I messed something up

stone brook
#

interestingly, booster packs dont use G.P_CENTER_POOLS

rare shell
#

it feels like I should get back to card placing instead of modifying pools

stone brook
#

wait it might

#

ok yea im stumped

rare shell
#

this thing again!

cunning silo
rare shell
dapper helm
#

hallucination joker if it was awesome

sleek granite
tall vessel
#

Thinking of trying to install and mess around with some mods, but how do I make sure I'm separating my vanilla game from mods? I'm thinking about e.g. if a separate file for the modded exe could be run while making sure the saves do not overlap with the vanilla one.

grand geode
#

copy and paste the exe in the same installation folder

sleek granite
#

you can't really ensure save shenanigans dont happen, but you can take the save files out of AppData/Balatro to try to back them up

#

might fight with Steam Cloud tho idk

stone brook
#

yea if your modded .exe is a different name than "Balatro.exe" it creates a whole new folder for your modded stuff

sleek granite
#

wait does it actually

#

wtf am i doing

stone brook
#

yea instead of using roaming/balatro it uses roaming/whatever you named it to

cunning silo
rare shell
#

casually modifying create_card

#

everything sucks 🦣 🦣 🦣

grand geode
#

hm i wonder

#

is anyone working on Archipelago support rn

wanton rapids
#

someone was a day or two ago

cunning silo
grand geode
#

multiworld randomizer

cunning silo
#

Oh

tall vessel
grand geode
#

yes

#

running straight from the exe already calls steam anyways

dapper helm
#

this one

grand geode
#

mhm

#

i can't find any information on the AP discord because it's moved to AD it's cringe

dapper helm
#

i still can't wrap my head around the concept of archipelago really

late ledge
#

TBF I play archipelago often, I have a decent idea on how it works

grand geode
#

regar

sleek granite
#

regar.....

hexed surge
#

bro i love the red seal deck

fickle elbow
hexed surge
sleek granite
#

for a second i thought you were making seals stackable

grand geode
#

technically the seals are stackable

fickle elbow
#

wait... its draggable

rare shell
#

that's shop cards

cunning silo
rare shell
#

nah too early yet 😭

cunning silo
grand geode
#

hell yeah rank 0 cards

cunning silo
#

Oh myst changed their name

rare shell
#

I'm trying to check cards appearing in shop or booster packs

#

id is rank?

#

damn

grand geode
#

yeah get_id() returns the rank

cunning silo
#

Which is so stupid

lean dune
grand geode
#

you'd want to check for card.playing_card i think

rare shell
#

nah I need to get name of the card

#

or key

lean dune
#

yeah I think you'd still need to check playing_card

#

rank name is base.value

rare shell
#

okay let's see

grand geode
#

if tomorrow's update breaks any of my mods i'll cry

#

yeah it's nil if it's not a playing card

rare shell
#

yeah I need to check jokers/consumables in my case

grand geode
#

check for set then

rare shell
#

?

sleek granite
#

i feel like the update will break steamodded itself lol it'll probably be back to the stone ages for a minute

calm steeple
#

hello y'all. I'm new here, did some searching but I have some questions about modding. some fine peeps gave me a few pointers in the balamod server, but I'm a bit confused about creating custom blinds. atm I'm going with balamod, was looking at myst's blind mod for reference but I don't understand the point of the API file. does federAPI make this whole process easier? or is steamodded a better alternative entirely? thanks in advance 🙂

grand geode
#

the point of the api was for displaying them properly in uis

#

(for custom atlases and such)

#

and adding more rows into the collection ui

cunning silo
sleek granite
#

steamodded hype PartyKirby

grand geode
#

those are pretty hardcoded so uh yea

#

speaking of i do need to update the patch hm

calm steeple
#

thanks for the help! is the process for adding a custom blind different/easier in steamodded?

calm steeple
grand geode
#

in theory yea

calm steeple
#

like the api file isn't specific to YOUR mods is

grand geode
#

that's why i split them into two

#

also balamod is based for this because i only need to replace lines and not copy the entire function over

calm steeple
#

guess I'll stick with it for now then. I'll lift the patch for now (I haven't written a single line of code for the mod, I just need to understand how this entire thing works)

#

then I'll need the mod file + assets in the atlas

rare shell
# rare shell mhm

so far I tried to check shop card with:
card.ability.name (nil)
card.id (nil)
card.ability.set (gives me type of card, but not its actaul name)

what am I supposed to use here?

grand geode
#

before you do i'll need to update it so it doesn't crash in a bit

calm steeple
#

i suppose i may as well wait until the update then

#

i mean, your patch update but also the balatro update itself

fickle elbow
#

when is the balatro update?

grand geode
#

today/tomorrow

#

i'll see if anything breaks

fickle elbow
#

oh cool

calm steeple
#

in the experimental branch, probably

lean dune
#

I'll prob be running a diff over both game versions to see what's changed

rare shell
#

yeahh!!

lean dune
#

patches as in replacing/appending lines

cunning silo
rare shell
#

I'm trying to make tarot cards that appear like hidden planet cards

grand geode
#

i've just pushed the updated patch to my GitHub

rare shell
# cunning silo Wdym?

so hidden planet cards appear only when you play certain hands, these tarots will also appear on certain condition

cunning silo
#

Ohhhhh I see

#

I think there’s a card pool selection you can put it in

#

So if you take it out, it won’t appear!

rare shell
#

yeah I have no idea how do I remove or add something into the pool

#

we tried earlier and there's no effect

cunning silo
#

Look in the tarot card API. It adds it there

rare shell
#

adding is different from removing tho

cunning silo
#

I think removing it would have the same effect

hardy brook
#

Welp

strong swift
hardy brook
#

I just realized Archived is gonna have to be more than a one-person job

#

I can't keep up

#

I'm still doing 0.8.6 stuff and Thunk is getting 1.0.1 out

rare shell
sleek granite
#

balamod has its upsides

rare shell
#

we tried setting certain cards to nil and no luck with that

hardy brook
hardy brook
#

idk what that is

sleek granite
#

but i think steamodded is rapidly approaching being Just Better; though i must also admit i dont really pay close attention to balamod

grand geode
hardy brook
#

OH

hardy brook
grand geode
#

but otherwise yeah

hardy brook
#

I just googled it

cunning silo
cunning silo
grand geode
#

the world if i could inject for i = 1, 2 do with steamodded....

#

no i'm not making a separate lovely.toml file for this

hardy brook
#

Well, I current have a bunch of decks imported, I got to transfer the code for old jokers from 0.8.6, I need to check everything from the rest of 0.8.7, 0.8.8 for classic beta, and then I have to figure out a way to recreate the encrypted 0.9.X beta stuff

#

then, once 1.0.1 comes out, I have to recreate the 1.0.0 stuff

hardy brook
#

I'm gonna be uploading in "Updates"

grand geode
#

at least this time you can archive 1.0.0 code for later

cunning silo
hardy brook
rare shell
hardy brook
#

My plan atm is to check 0.8.6b - 0.8.8 and do all that for one update

cunning silo
#

You can find the index, save it somewhere, and then remove it

hardy brook
#

but all of it will be one mod

high schooner
#

Does modding on macOS count as "other platforms" even though it's on steam.

hardy brook
#

Not only that but i have to take all of Archived and combine it with my Kollection mod (since that's supposed to compile most/all my mods + some exclusive to it)

high schooner
#

Cool, thank you

grand geode
#

also crimson i kinda accidentally remade your insane deck with my houserules :p

rare shell
cunning silo
#

Or maybe do a pairs() loop, and when you reach your tarot, delete it and break the loop

hardy brook
#

What’s stopping one from combining them

grand geode
#

commit all house rules modifiers on gold stake

sleek granite
#

insane deck gold stake all house rules

#

beat ante 1

#

just Try

cunning silo
#

Blindfolded

grand geode
#

you mean extreme

#

since insane uses challenge modifiers which are included in house rules

#

1 Hand no Discards and a bunch of other bullshitery

sleek granite
#

idk what an insane deck is i just got here and i cant read

grand geode
#

it's a thing

#

one of the things ever

#

in crimson's mods

sleek granite
#

GITDtamariPlush we have so much in common then

calm steeple
#

it lives

sleek granite
#

The TEST

fickle elbow
rare shell
# cunning silo Yup

damn, the tarot seem to be registering only after the game is launched or something, because if I do loop that checks the names it never gives me custom tarot keys

sleek granite
#

try to hook into Game:start_run to do it instead then

calm steeple
#

it lives, pt. 2

grand geode
#

its esun wooo

calm steeple
#

aka I've taken myst's mod file and removed a whole bunch of shit. it boots and plays okay which is a start

grand geode
#

have fun

calm steeple
#

many thanks for paving the way, really

#

if I do end up creating something I'll make sure to credit you

grand geode
#

now that i've thought about it i was the first to do quite a lot of things

#

r key was the first modded joker released iirc

wanton rapids
#

yeah it was

calm steeple
#

that's pretty cool

fickle elbow
#

ive made mods as well

calm steeple
#

this is my first time actually trying to create a mod, ever

sleek granite
#

unfortunately i am not cool enough to do the first anything

calm steeple
#

i have a pretty solid idea and i figured it's time for me to learn some cool dev stuff outside of my job

fickle elbow
grand geode
fickle elbow
#

im working on the 2nd

sleek granite
#

GITDtamariPlush no

calm steeple
astral glade
#

rizz Jimbo

cunning silo
# rare shell

The tarot is registered when all of the mods have finished loading, right when game objects are loaded

#

So yes, at the start of the game

lean dune
real ibex
#

I’m a little confused on how to start modding

calm steeple
#

why did this only happen on my mod profile smh

grand geode
#

the dream

cunning silo
calm steeple
#

entirely unrelated but anybody had any issues getting the balatro extension to work for aseprite?

#

i see it added in the options but i don't actually see anything in the file menu

grand geode
#

have you imported it

calm steeple
#

yep

#

it's registered in the extensions menu

quartz cargo
#

Hello, I would like to add a joker to the game, is there a guide on how to make one?

calm steeple
grand geode
#

reload scripts and maybe recheck the path???

#

idk since the options showed first try for me

rare shell
#

now I need to think of how to get them back

calm steeple
grand geode
#

yes

calm steeple
#

mind you this is the trial version so maybe it's a limitation

grand geode
#

maybe

calm steeple
#

thx

rare shell
#

uhhhh

#

removing the cards from the pool also removes them from collection's preview

earnest nova
#

How hard do people think it would be to make it so that all Showmen take 1 Joker slot? So they can still have modifiers on them, but no matter how many you take, all of them except the first functionally have negative

sleek granite
lean dune
sleek granite
#

itll still stop you from buying extra if you are full tho

earnest nova
#

Cool. Was thinking about how silly it is when you Showman into another Showman and was just thinking "what if there was a benefit to be had there"

lean dune
earnest nova
#

Is there a way to make certain jokers ignore max Joker limits? Since then I guess it could be "if there is a Showman, ignore Joker limit", "if there is another Showman, +1 on buy", "if there is another Showman, -1 on sell"

rare shell
#

Is this too scuffed? this works

exotic pine
#

Anyone know a way to trigger a button press (UI button) instead of running the function associated with the button press?

calm steeple
#

I have confirmed the aseprite trial version has the scripting API disabled

#

so yeah, if anyone doesn't know why the balamod extension doesn't work, buy the full thing or compile it

rapid epoch
#

I had an idea for something but I dunno whether it'd be a joker/voucher/what (probably Joker)
The idea being, any time you make a hand where it's made of identicals (pair, three of a kind, four, etc), you get a bonus if the cards:

  • Also share suit
  • Also share enhancement
  • Also share edition
  • Also share seal
    And the more complex the cards are the higher the bonus for them being 100% identical
split hollow
#

quick question does modding mess up achievements/unlocks?

fallow bramble
#

I know Steamodded disables achievements

tacit mountain
#

It does, you need a mod to reenable them

coral shale
split hollow
lean dune
tacit mountain
lean dune
#

ty 👍

dapper helm
#

does steamodded have support for multiple deck mods adding to the enhancers png yet?

lean dune
#

uh can't you have your own atlas for that?

dapper helm
#

i have no idea really

lean dune
#

or does it not use that for deck backs, I can't recall

#

but the sprite api still does complete replacements, so if you modify the same atlas, it will get overwritten

dapper helm
#

so far all the ones i've seen replace the enhancers png but haven't been updated anytime recently

lean dune
#

tbf I haven't been keeping up with that

dapper helm
#

there was like 2 different mods trying to add that functionality if its not already in steamodded

lean dune
#

haven't seen any PRs on it, but if it's an issue, it shouldn't be too hard to resolve

dapper helm
#

ahhhh one of them was made by feder so its probably implemented already

lean dune
#

not sure, but might be

fickle elbow
#

I can't find it, how do you increase the hand size (amount of card you can hold) for a deck.

tacit mountain
#

0.9.8 will be available in some minutes

cunning silo
#

does anyone know where is the "key" of a card is stored in its object?

lean dune
#

card.config.center_key

#

for centers, anyway

lean dune
rare shell
#

Can I access G.GAME values before the run loaded?

lean dune
#

no

rare shell
#

😵‍💫

real ibex
#

Every time I try to install a mod my game crashes, Im putting them in the mod file. what am I doing wrong?

#

Got one working nvm

past tendon
#

that's one funky chicken

lean dune
#

🐓

fickle elbow
#

just gonna ask if its possible before i spend 4-ish hours trying, can i make a joker that wont show in the pool?

lean dune
#

you could go the cavendish route

#

put yes_pool_flag on the joker and just never set that flag

#

it's not technically supported by the API, but it's recognized for the purpose of modifying vanilla jokers

fallow bramble
#

Oh it's the yes one

#

Been using the no one

lean dune
#

no_pool_flag shows up only if the flag is not set

#

yes_pool_flag shows up only if it is

fickle elbow
#

i would put that in calulate of the joker?

fallow bramble
#

Good to know now than too late

lean dune
fallow bramble
shrewd stream
#

Would anyone be interested in implementing some cards I made into the game? They can be part of a mod pack I was trying to go for a more vanilla feel for some of the cards atleast

lean dune
#

SMODS.Jokers.j_slug.yes_pool_flag = 'my_custom_flag' after registering should do

fickle elbow
#

alright, thanks

fallow bramble
#

Oh putting the flag where extra is isn't enough?

lean dune
#

it's not a field of config, it's a field of the center object

#

should maybe be added as an API parameter, but since 0.9.8 just setting the value on the joker object will work

fallow bramble
#

So this isn't enough or doesn't work correct?

lean dune
#

this does not work

fallow bramble
#

Alright

lean dune
#

never did

fallow bramble
#

Thought it would since cavendish's yes_pool_flag was inside too, good to know

exotic shadow
stone wadi
#

hi, i'm an idiot. where do i find the api for ui-related stuff? not sure if it matters whether i'm using steamodded or balamod but i'm using steamodded

sleek granite
#

the ui api is Good Luck

rare shell
stone wadi
#

i serached in the channel history and it looks like the ui api is. bad. but where tf do i find it. source code? lol

lean dune
#

there's no API for UI stuff except sprites

rare shell
#

it doesn't happen everytime tho

lean dune
#

we're all just out here dealing with the UI code that the game happens to have

#

like, it's painful

fallow bramble
#

The infinite children

lean dune
#

but that's just love's framework for UI

lean dune
#

no mod API or anything

stone wadi
#

okay, so i should be looking at how the love framework does it? or just read game source? @_@

sleek granite
#

love me some nodes[1]

stone wadi
#

i've seen a couple of nodes[1] in mod code, good to know that's going to be my friend from now on

lean dune
#

some of the APIs we have need pretty insane UI modifications to tape everything together, I can't even imagine making a full API for UI stuff

exotic shadow
#

it was annoying when I was making the crash handler which is something where I have full control over the ui, I can't imagine trying to make ui well other things are also making ui

lean dune
stone wadi
#

[hubris] well it can't be worse than some of the yaml abominations i've seen in my time

shrewd stream
rare shell
#

yes

shrewd stream
#

Lol small world

sleek granite
#

The duck game guy?

rare shell
cedar galleon
#

so i have a mod that adds 1, 11, 12, 13 to the deck (and removes A, J, Q, K)
why is the deck preview mismatched and can i make it not do that

sleek granite
#

ooo your 13 is prettier than mine

rigid jewel
sleek granite
#

most of the time, one layer of round rectangle

astral glade
cedar galleon
#

oh
ok lol

sleek granite
#

im not sure thats the issue that got fixed

cedar galleon
#

i have updated steamodded today
do you know whether it's being worked on

sleek granite
#

constantly, just whether the Very Busy Devs are doing this atm

cedar galleon
#

fair enough

sleek granite
#

( 🙇‍♀️ aure the goat )

lean dune
exotic shadow
#

wait question would mod devs like it if I provided some kind of api so they can put some debug info on crash screens?

sleek granite
#

( someone should keep me from being on discord if i havent been awake for at least an hour )

sleek granite
lean dune
#

as for the preview, updating to 0.9.8 should do the trick unless there's something I missed

#

I dunno if the out of order 1 is what's messing things up though, I may not have fully accounted for that

sleek granite
#

having a proper 1 card is interesting....

astral glade
#

0 card when ?!

lean dune
#

though it should be directly matching the order from the rank list with the associated ranks now, so that seems off either way

sleek granite
#

maybe i should add some jonkiers to my 11-25 ranks mod and release it ....

lean dune
#

can you check what it looks like without the 1s?

astral glade
fallow bramble
#

What are the letters for legendary jokers based of?

cedar galleon
#

works without 1s but not with

the individual card counts seem to just be added to the left while the rank counters are in the right order

sleek granite
#

why would i need hand types for ranks 11-25

lean dune
#

hm yeah that's odd... how are you registering the 1s rank?

astral glade
orchid vault
#

imagine negative playing card edition

sleek granite
#

yeah but like what hand types would i even add

orchid vault
#

doesn’t take up a hand size

cedar galleon
# lean dune hm yeah that's odd... how are you registering the 1s rank?

just like this

    SMODS.Card:new_rank("1", 1, mod_id .. "numbers", mod_id .. "numbers_high_contrast", { x = 0 }, suitpositions, {next = {"2"}, shorthand = {unique = "1"}})
    SMODS.Card:new_rank("11", 11, mod_id .. "numbers", mod_id .. "numbers_high_contrast", { x = 1 }, suitpositions, {next = {"12"}, shorthand = {unique = "11"}, face_nominal = 0.5})
    SMODS.Card:new_rank("12", 12, mod_id .. "numbers", mod_id .. "numbers_high_contrast", { x = 2 }, suitpositions, {next = {"13"}, shorthand = {unique = "12"}})
    SMODS.Card:new_rank("13", 13, mod_id .. "numbers", mod_id .. "numbers_high_contrast", { x = 3 }, suitpositions, {next = {"1"}, shorthand = {unique = "13"}})
    
    SMODS.Card.RANKS["10"].next = {"11"}
orchid vault
lean dune
#

yeah nothing wrong with that... I'll investigate

sleek granite
rare shell
#

where's one and zero? 🤓

astral glade
#

where's pi

lean dune
#

uh yeah that looks only slightly broken

sleek granite
#

i could do one and zero tbh

boreal ibex
#

wheres every possible number between 1 and 2

sleek granite
#

i was tempted to be like "lets do face cards every 10" but then i realized i'd run out of things to call them and also am bad at art

astral glade
#

at that point just start stealing chess pieces

sleek granite
#

then again its not like i can go higher than 25 without making new symbols

dusty jungle
#

hey before i try anything does there already exist a mod that does things such as

  1. show you your potential score if you play the current selected cards rn
  2. show you the next cards you get
  3. show you all the things you could get in the current shop with rerolling (if i heard right every shop has a sort of queue of items?)
  4. show you what a pack contains

the main idea is to help seeded high score runs cause i find them fun

#

no idea if any of this is even doable never modded this but it sounds kinda fun to try

fickle elbow
#

just do the symbol then x rank

sleek granite
#

thats booooooring

fickle elbow
#

yea but it works

dusty jungle
#

oh wait what we aren't allowed to debug the source code

#

chances of my idea seem to grow slimmer

lean dune
exotic shadow
#

iirc someone had a joker that showed which cards you'll draw next

lean dune
exotic shadow
#

I think its more of you can't attatch a debugger to the game

#

idk why ¯_(ツ)_/¯

dusty jungle
#

interesting

#

thanks for the info

hardy brook
#

Alright time to figure out how to do Void cards

hardy brook
sleek granite
#

and ink and color and notes

#

just dont have those loaded on lappy

hardy brook
#

o

#

neat

#

60 suits compatability when

sleek granite
#

when you do it

hardy brook
#

nuh uh

#

I'm trying to make void cards

#

Trying to think of what effects occur on draw

dusky reef
#

me when i try to test for straight

sleek granite
#

that looks like 0.9.7 steamodded to me

lean dune
#

yep

dusky reef
lean dune
#

update to 0.9.8

#

it fixes this specifically

sleek granite
#

we're on that stuff that'll make your pacemaker stop

dusky reef
#

I've been trying to rewrite my mod for a long time

hardy brook
#

I'm staying in 0.9.7 for now

wet fiber
#

ok now to the interesting part, how do I add a joker in-game with Steammodded ?

dusky reef
lean dune
lean dune
dusky reef
#

that's so weird

#

something messed up drawing?

lean dune
#

it's specifically my fault, I messed with that UI trying to make rank deletion work

hardy brook
dusky reef
#

makes wonder if balatro card drawing was supposed to be deterministic

exotic shadow
#

it should be

#

so you get the same cards on the same seeds

dusky reef
#

oh so it was not pseudoseeds('seeds') but some determined seed?

exotic shadow
#

no it should be whatever the seed is

dusky reef
#

cuz i think pseudoseeds('seeds') is truely random because it grabs a new one each time you call it

#

or they might have all been pseudo random, meaning not random at all

exotic shadow
#

just a sec I need to remember what the psuedo random functons do

dusky reef
#

it takes a seed, a min and a max i think

karmic fulcrum
#

Hello everybody 🖐️ Does anyone knows if we can use "require" in .lua files using Steamodded ?

dusky reef
#

not all libraries exist

#

but as long as love has it it works

karmic fulcrum
#

Ok so I can't require a file that I create myself

#

Thanks !

exotic shadow
#

oh right so that one you give it some value for smth, and then it rolls for it. The game keeps a seed for each value of whatever you pass, and when you call that it rolls the next one. IF you want to read the furture, you need to make sure you don't change the values. I'm not sure the best way to do it

dusky reef
dusky reef
#

thx

karmic fulcrum
#

But thanks for the info ❤️ Lot of love

hardy brook
#

So... Trying to make void cards... I don't know how to get the deck to check and all that

#

I first need to make a blank enhancement

hardy brook
#

what?

rare shell
#

edition ~= enhancement

#

fuck I'm lua brained now

#

imagine using ~= instead of !=...

dusky reef
hardy brook
#

imagine using both of those and not ≠

rare shell
#

imagine having a keyboard that has ≠

dusky reef
#

imagine using =/=

rare shell
#

I guess there are keyboards with programmable keys

hardy brook
#

Imagine accidentally putting /=/

dusky reef
#

imagine /(0v0)/

rigid jewel
hardy brook
#

Okay for real though, I need to figure out how to make enhancements

astral glade
#

should be the same idea

#

just insert it into the table of enhancements

rigid jewel
hardy brook
#

I don't know how to insert into table

astral glade
rigid jewel
#

I had two erros last night from using if logic: instead of if logic then

exotic shadow
#

yeah I keep writing if (logic) { instead of if logic then

rare shell
hardy brook
#

I swear I'm going insane

exotic shadow
#

hi going insane, I'm WilsontheWolf

astral glade
#

BEAT ME TO IT

astral glade
#

hi done

copper silo
hardy brook
#

All I wanted was help

dusky reef
#

hi done, I'm help

hardy brook
#

End me

#

Fucking end me

dusky reef
#

poor end me

dusty jungle
rare shell
sleek granite
rare shell
#

😭

fickle elbow
rare shell
astral glade
#

ITS REAL

rare shell
#

why zero is crossed

dusty jungle
#

finally, the 0 card

#

so you don't confuse it with the O card

astral glade
#

bri’ish

rare shell
#

inconsistency in numbers smh

fickle elbow
#

gives no chips

dusty jungle
#

Added B, A, L, T, R, O cards

#

if you play BALATRO in one hand you jump up an ante

hardy brook
#

Balatro is 7 cards

dusty jungle
#

you'll figure it out

sleek granite
#

no wait what nooooo

dapper helm
fickle elbow
#

4, 3, 2, ace, 0

dusty jungle
#

Spectrum five
Spectrum Straight
Spectrum Full House
Divine Straight (A star, K <suit1>, Q <suit2>, J <suit3>, 10 Moon)

sleek granite
#

not a straight......

dusty jungle
#

it arguably should be

astral glade
#

i hate straight people

hardy brook
#

woah woah what

dapper helm
sleek granite
#

it should be i coded it to

dusty jungle
#

0 -> Ace

#

i assume

hardy brook
fickle elbow
#

the game has it as ace,2,3,4,5

exotic shadow
#

1 should be ace but that would mean 0 is wrapping around or smth?

dapper helm
dusty jungle
#

I would argue it should always be a circle

astral glade
dusty jungle
#

so A is below the lowest card and above the highest one

#

since 0 is the lowest card

#

Ace is below it

#

2 1 0 Ace King Queen

hardy brook
#

man fuck this enhancement shit

fickle elbow
#

negative numbers?👀

dusty jungle
#

i love taking away chips

#

finally we can reduce our score

dapper helm
hardy brook
#

So what do I do?

table.insert.P_CENTERS something something?

sleek granite
#

some people seem to be struggling to understand how straights work in my mod so i prepared this helpful flowchart

hardy brook
# sleek granite

This is inspiring me to make my K6T deck i have STILL BESIDE ME

worn cradle
dusty jungle
#

darkmode

dapper helm
hardy brook
#

Darkness

sleek granite
#

what the HELL is that font

dusty jungle
#

everything looks off

sleek granite
fickle elbow
sleek granite
worn cradle
#

with that font its easier to read from smaller screen

astral glade
dapper helm
astral glade
#

inserting is the first part

exotic shadow
astral glade
#

then youll have to modifying how cards are drawn

sleek granite
exotic shadow
sleek granite
astral glade
#

chat what should i make today

sleek granite
dusty jungle
#

Joker: you may play up to 6 cards

exotic shadow
rigid jewel
#

lmao

astral glade
rigid jewel
#

It looks good but the font

dapper helm
sleek granite
#

its in jellymod tho so it kinda doesnt exist

dusty jungle
sleek granite
#

thats not a joker

astral glade
#

im silly-maxxing again

sleek granite
#

that's my job GITDtamariPlush

astral glade
#

im taking it

dusty jungle
#

wow that is so much work

worn cradle
dusty jungle
#

that is a lot more new hand types than i thought

#

lmao

astral glade
#

7 hands next

sleek granite
#

i mean you could maybe make it an addon for hand of six

worn cradle
#

@rigid jewelthis font is primarily chosen because it had to be displayed on 640x480 screen

sleek granite
#

that only enables hands of six cards when the joker is held

#

why the FUCK is that your resolution

exotic shadow
#

tbh should use comic sans

karmic fulcrum
#

Just a noob question. When you're creating a mod using Steamodded, there's absolutely no way to split it in different files ?

worn cradle
#

I'm not allowed to talk about. Basically linux based arm device runs balatro but has 640x480

exotic shadow
dusty jungle
#

balatro on my toaster coming tomorrow

astral glade
#

balatro on my samsung fridge

exotic shadow
dusty jungle
#

my joke was rule challenged

karmic fulcrum
dusty jungle
#

is balatro not on linux

#

cause if it is you could still do it

astral crown
#

you can use linux with steam beta options, It's working fine for me

worn cradle
#

I don't think there is official linux binary?

exotic shadow
worn cradle
#

oh, there is?

exotic shadow
#

but its not that hard to get running natively

astral crown
#

I'm currently modding balatro on linux

exotic shadow
#

same

astral crown
#

all I needed to do though was just turn on the steam beta thingy

#

and it worked out of the box

exotic shadow
#

all I needed to do was push play

sleek granite
#

this should work?

astral crown
#

"Enable Steam Play for all other titles"

exotic shadow
#

oh I turned that on when I installed steam like years ago

sleek granite
#

the other lua file can return a value or values to your main lua file

#

which would then be stored in otherluafile

astral crown
exotic shadow
#

proton my beloved

sleek granite
# karmic fulcrum You hecking legend

don't thank me, thank whoever made Risk of Jesters cuz the only thing i did was switch it to NFS (which should mean r2modman support)
but also i didnt test it so lol,lmao

karmic fulcrum
#

Thanks to you both @exotic shadow @sleek granite ❤️

sleek granite
#

(that'd be DVRP on the Risk of Jesters part)

hardy brook
#

idfk if this works but hey, I tried

sleek granite
#

is that

#

the balatro font

rigid jewel
#

Yes

hardy brook
#

yes

astral glade
#

holy shit

hardy brook
#

I code in the balatro font

exotic shadow
sleek granite
#

i would literally hallucinate the like font caterpillar-animation

#

you can have mismatched INIT ids

#

it's not a good idea but it works

hardy brook
#

oops, yeah

astral crown
#

guys I have an issue with my mod that's purely visual. The idea is "every played card give +1 chips, every 10 gives +1 mult". So every time a card played - trigger "upgrade" and then at the end add the mult and chips. My code is functionally working as expected, but when it triggers the mult and chips at the end, there's no numbers being presented. I assume I can just write it as a "message" in the return but I want to return both chips and mult and I can't find any example like this in the game

hardy brook
#
    local mod = SMODS.findModByID("VoidCards")```
#

there we go

astral crown
#

this is my calc

exotic shadow
#

tbh I should just make a loop and writing my init function to every possible 32 character id

hardy brook
#

LIGHT MODE

sleek granite
#

how to ensure people look at your buggy code:

rigid jewel
#

Font cooks though

astral crown
#

light mode yeah I like it lol

hardy brook
#

nv,m it's light mode

loud nymph
#

im trying to mod balatro but i cant get steammodded to work, something qith 7zip, im not too sure

sleek granite
# astral crown

it wont show the chips message because you aren't showing it

astral crown
#

now I feel self conscious about my color not cool guys

#

😛

hardy brook
#

If you like it then you can like it

#

but yeah, is this better?

sleek granite
# astral crown

you need to have a message to return in the end_calculate_context effect

astral crown
#

It's like two message triggers

#

all the base game jokers that do this do it on a card level, not joker level

hardy brook
#

Welp, just realized I gotta make a Tarot for Void Cards

sleek granite
#

yeah someone was trying it earlier i dont think theres a good way

hardy brook
#

TIME TO REFERENCE PERSONA

worn cradle
#

@dusty jungle @astral glade you laugh, but
That's why the font

astral crown
dusty jungle
#

fair enough

worn cradle
#

fuck it if I'm gonna get slapped for it

fallow bramble
sleek granite
#

yeah edition calcs are separate

astral crown
dusty jungle
#

i mean as long as you aer using linux it's prob fine right that's a platform people already play it on

#

what actually runs linux seems unimportant

astral crown
fallow bramble
#

There's a bunch of example in the source code

astral crown
#

maybe I'll just write the message as +a/+b format so it makes sense and use some neutral color instead to make it make sense

#

or ohhh is there a way to have the color for the message be split between two colors?

sleek granite
#

not really

astral crown
#

anyone know before I dive into the core code?

sleek granite
#

you could make it the plasma deck purple effect

astral crown
sleek granite
#

which i think is just G.C.Purple?

#

or G.C.purple i forget capitalization on those

astral crown
#

I would assume

#

I'll search the game code

sleek granite
#

oh the other direction

hardy brook
worn cradle
#

globals.lua

hardy brook
#

thank you

astral crown
#

I just saw that

#

but I'm wondering what's generating it and if there's a way to generate it as two half colors, so one side is one color the other another

hardy brook
#

Color with a u

sleek granite
#

thats not a thing the base game does so i assume not

astral crown
#

he does generate the effect though, somewhere (I think I just found where)

hardy brook
#

Welp, time to figure out how to make a tarot card now

astral glade
#

probably the easy part

#

definitely the easy part

hardy brook
#

well first i gotta test the first thing

astral crown
#

thanks for the help guys I think the purple will do good

astral glade
#

since you probably have to mess with the draw function to get the enhancement to show up

#

unless its automatic

astral crown
#

I think the base code uses some pretty simple animation techniques, which remind me of CSS stuff (in essence, not in style of code)

#

so it theoretically shouldn't be hard, but I decided to try that some other time

#

I'll settle on a middle color

knotty fable
#

I just found out there's a movie called tarot ..... It's literally about tarot cards but scary .... I wonder if there is any card types this game doesn't even use

astral glade
#

i mean if youre looking for more cards to make

#

theres always the DnD Deck of Many Things

sleek granite
worn cradle
#

everything about plasma deck is in back.lua line 125 and some color bullshit at line 137 and 138

#

ease_colour mixes colors

hardy brook
#

SMH, I keep putting semi-colons

worn cradle
#

problem is I've never seen plasma deck still lol

dusty jungle
#

:balanced:

worn cradle
#

so I have no idea what I'm supposed to look for

hardy brook
astral crown
#

@xzy yeah all the color easing in and out, you could definitely create some sort of half polygon shape and ease both in and out at the same time

astral glade
hardy brook
#

Y'know... has anyone made a thread for mod help?

dusty jungle
#

The plasma deck's ability balances ||the chips and xmult at the end of the round so they are equal||

worn cradle
#

nah, I just should play the game instead of poking around its code

dusty jungle
#

You can mathematically prove this will always result in higher or equal scores, about n^2/4 higher where n is the difference

hardy brook
# hardy brook

So why is it saying that P_Center_Pools is a nil value?

iron onyx
#

when and if @wanton rapids is available, i could use some help troubleshooting that script he has for making card mockups

worn cradle
#

I never seen it

rigid jewel
# hardy brook

Adding something into G.P_CENTERS or any equivalent needs to be done in an appended Game:init_item_prototypes function

hardy brook
#

in a what?

iron onyx
#

oop, never mind, i got it

iron onyx
#

thoughts on this?

soft trout
#

how do i make a mod, ive got some jonkler ideas

iron onyx
#

(for those who are wondering "why not multiples of 3 or numbers with 3?" it's because that would be hard to balance, and it randomly picks between three effects)

dusty jungle
#

that card seems a bit redundant

soft trout
#

is there a modding framework or something like that?

rigid jewel
dusty jungle
#

pins has an intro i think

iron onyx
#

@soft trout there are three options

#

steamodded, balamod, or lovely injector

soft trout
#

whats the difference?

astral crown
#

hmmm, for some reason when I send color in the return of end_calculate_context is just looks like the chips blue. What am I doing wrong here?

umbral pilot
sleek granite
#

balamod is also a code injector

iron onyx
#

they're an option for making mods

astral glade
iron onyx
#

they may not all be the same fundamentally

sleek granite
#

and yeah you definitely can make a mod specifically for lovely

iron onyx
#

but they all do the same thing

umbral pilot
#

yes, but lovely is purely a code injector

sleek granite
#

theres no API or anything but it can be done

worn cradle
dusty jungle
astral crown
iron onyx
#

@dusty jungle see, magic number doesn't give all three

worn cradle
#

interesting

hardy brook
#

Well I think I got it, it's now just angry that i don't have 2x enhancers art file

sleek granite
#

scholar of threes.....

dusty jungle
#

im unsure what magic number is

#

oh nvm that's your card

hardy brook
#

Okay so balatro's loaded

soft trout
#

but is there any reason to pick one over the other?

dusty jungle
#

yea you only give one of 3 but all of them are a lot better than 10 4

worn cradle
hardy brook
#

I did that already

#

it's fine

dusty jungle
#

i would still argue its a better 10 4 in that case anyway

hardy brook
#

uh... where do i find the enhancement?

dusty jungle
#

ig it's not entirely clear

#

consistent +4 mult can defintely be useful

hardy brook
umbral pilot
astral glade
hardy brook
#

right

astral glade
#

or edit that menu

umbral pilot
#

lovely has total access to the game's codebase so it's generally more powerful

dusty jungle
#

it looks like most people are using steamodded

#

so it prob wins just by count

iron onyx
#

that's fair; the idea is that it would randomly give the same bonus as a vanilla edition. perhaps 33 chips, 3 mult, or X1.3 would make it most balanced?

dusty jungle
#

i also do not know the differences though

astral glade
#

i forgot balamod was a thing

soft trout
#

could steammodded or balamod allow me to say, debuff a played card until ante completion?

hardy brook
#

So there's an SMODS.Tarot:new?

astral glade
#

theres a lot of new info for consumabels

hardy brook
#

Aight

astral glade
#

you know where to look for the function to apply enhancements yeah?

dusty jungle
#

i feel like balance you'll just have to do some playtesting

#

i doubt it'll be a top tier card though just cause its not guaranteed

#

also having a bunch of 3s seems pretty rare

astral glade
#

odd todd

#

and whats the guy

#

that retriggers 2,3,4,5

dusty jungle
#

fibonacci would love this card as well

#

hack

astral glade
#

3's kinda

#

have a lot

worn cradle
#

sounds like decent combo

dusty jungle
#

hack + fibonacci + magic numbers + all of them red seal

#

boom i think

#

yea actually 3s a rae pretty stacked

#

i take that bac

knotty fable
astral crown
#

does anyone know why the colour argument in a return message for end_calculate_context wouldn't work ?

knotty fable
#

Nope it's literally called tarot

dapper helm
sleek granite
#

the minor arcana are the cards in a tarot deck that arent the major arcana

dapper helm
sleek granite
#

that more closely resemble how standard playing cards are setup

knotty fable
dusty jungle
#

waht's the least useful card number

#

i'd assume 7

dapper helm
#

7 yeah

astral glade
#

7 or 9

iron onyx
#

you know, i have two rough concepts for those

dapper helm
#

then 8 cause 8 ball is so bad

sleek granite
#

1-10, Page, Knight, Queen, King of Coins (Pentacles), Swords, Cups, Wands

dusty jungle
#

7 ate 9 joker
if you play 7 8 9 all of them are removed from your deck and you get $9

knotty fable
sleek granite
#

i was considering adding Coins/Swords/Cups/Wands as suits that wouldn't be in your starting deck, that give benefits if you play at least 3 of them

dapper helm
dusty jungle
#

oh right cloud 9 does exist

sleek granite
#

Coins gives money, Swords gives Big Chips, Wands gives Big Mult, Cups.... idk

dapper helm
#

i have a silly cloud 9 screenshot somewhere hold on

dusty jungle
#

i think a seal that makes cards more likely to be drawn could be cool

#

tho im unsure how you'd code it

dapper helm
astral glade
sleek granite
dusty jungle
#

if you play 3 cubs the boss ability is disabled for this hand

#

i should go sleep instead of trying to have ideas

sleek granite
#

cups could be like spawn a Tarot card or something idk

rare shell
#

hi chat im fashionablyy late

sleek granite
#

hi lyman im early

boreal ibex
#

hi fashionablyy late

rare shell
#

waking up at 6 pm like a boss

astral glade
#

hi fashionablyy late

#

FUCK

iron onyx
#

i know there are a lot of people doing this idea for 7 but dammit, it's something everyone wants to do.
but i think my ideas for 9's (and 5's) is a little more original

boreal ibex
sleek granite
iron onyx
sleek granite
#

98765 is a playable straight....

iron onyx
#

i mean, it's the same concept as walkie talkie being 10 and 4

sleek granite
#

5 to 9 (god i wish i worked those hours)

worn cradle
rare shell
#

i also have a 7 joker

#

its based off chickens

#

because i am intelligent

#

873

iron onyx
sleek granite
#

are the straights ok?

iron onyx
#

they're in shambles, and it's not even june

#

(okay that's enough irreverent humor)

astral glade
#

every month is pride month

iron onyx
#

anyway yeah

rare shell
#

enough pride

#

its time for wrath

astral glade
#

sloth

#

im eepy-pilled

sleek granite
#

wait yeah when's gay sloth month im tired

boreal ibex
#

lust month is what im waiting for

astral glade
#

how about just platonic month

iron onyx
#

i'm thinking... "40 chips for each 9 or 5 scored, and 15 mult per hand with at least one of either"

#

40 being the typical "full-time" work week hours, and 15 being a reference to minimum wage

sleek granite
#

so 40x15

#

good math joke

rare shell
#

out of curiousity

rare shell
#

has anyone figured out how to make a music replacement mod

boreal ibex
hardy brook
astral glade
#

real

hardy brook
#

i took the persona one and drew over it to recreate it

sleek granite
hardy brook
boreal ibex
#

the shared lonely-ness of balatro modded players

hardy brook
astral glade
#

no way

astral crown
#

omg it is doofenshmirtz

boreal ibex
hardy brook
#

I'm focusing on like 5 things

astral crown
#

rename the card to dr. heinz

sleek granite
hardy brook
#

oh him

sleek granite
#

jester

boreal ibex
hardy brook
#

I didn't care for that show

rare shell
sleek granite
#

the show was mid but i have a pretty big respect for its creator being like A Chill Dude On The Internet nowadays

astral glade
#

he follows Altrive its so badass

stone brook
#

woke up from my power nap, hello chatroom

#

i dreamed about debugging ...

sleek granite
#

oh word, the console window lovely opens is usefuller now

boreal ibex
#

ive dreamed worse tbh

sleek granite
#

looks like the debug messages get parroted there

#

chat what does aero do

astral glade
#

draws cards?

#

i think

granite silo
#

Basket of Pears
Gains +1 mult if scoring hand is a pair
Gains +2 mult if scoring hand is two pair
(Currently +0 mult)

rare shell
#

Is it possible to check if Game:start_run() is continue of a run or a new run?

granite silo
#

someone please add and buff these guys

sleek granite
#

will be true for a new run

rare shell
#

is that determined before or after the game:start_run?

#

that's important

sleek granite
#

args is passed into Game:start_run

rare shell
#

ahh that's args didn't see

#

thanks

exotic shadow
sleek granite
#

so i think before but my code does it after cuz its adding cards

sleek granite
astral glade
#

One Whole Jollar

sleek granite
#

chat what does one whole jollar do

exotic shadow
#

gives you one whole jollar

#

but if its modifed then its not legal tender so its not useful

#

aka no negative jollars

sleek granite
#

i mean

#

if it's negative it's worth more when sold than used lol

hardy brook
#

The heck does this mean?

#

" atlas: Allows you to specify a custom atlas. Like with jokers, the loader still looks for a custom sprite sheet that matches the card's slug."

umbral pilot
sleek granite
#

it means you can specify the sprite

umbral pilot
#

it's loooong

sleek granite
#

yeah it's a lot

hardy brook
#

I'm confused, wdym specify the sprite?

sleek granite
#

it means you can tell it what sprite to use

hardy brook
#

you mean like "Jester.png" for example

sleek granite
#

you can clarify the image asset that the game will utilize to express the game object in question

exotic shadow
umbral pilot
#

fair lol

#

so I should make it even longer then, right?

exotic shadow
#

I was thinking of removing the last part before the message, but figured it should follow what the steamodded logger does

#

yeah add your own timestamp for good measure

sleek granite
#

make the console unusable yeah

umbral pilot
#

that implies that it was usable

#

and if it was usable then we're not working hard enough

knotty fable
exotic shadow
#

I have been using it for the past like month cause I made a mod that did what I PR'ed for a while

umbral pilot
#

that being said it would probably be nice to expose some native log level API on the lovely side of things

hardy brook
#

So where's the tarot card then?

exotic shadow
#

although it looks a bit silly using the wine console

hardy brook
exotic shadow
umbral pilot
#

eh screw making it complicated, I'll just slim it down on lovely's end to just a [G] or [L]

sleek granite
boreal ibex
#

\home\shorty\downloads
love it

hardy brook
#

oh right

#

forgot registering

stone brook
#

is firch still around? i think i thought of something for your cards that you dont want in pool

hardy brook
#

welp, it crashed

stone brook
#

you can just give them the yes/no pool flag to exclude them

exotic shadow
#

also hopefully soon the crash handler will be way better