#⚙・modding-general

1 messages · Page 31 of 1

lean dune
#

so the basic scheme is this

slender cosmos
#

hey im looking to download mods for balatro i this the correct channel?

lean dune
#
local loc_colour_ref = loc_colour
function loc_colour(_c, _default)
    loc_colour_ref(_c, _default) -- toss the return value, we don't need it
    G.ARGS.LOC_COLOURS['your_key'] = YOUR_COLOUR
    return G.ARGS.LOC_COLOURS[_c] or _default or G.C.UI.TEXT_DARK -- recalculate result
end
slender cosmos
#

thank you

iron onyx
#

oh btw, found a slight bug of the engine in implementing a black deck rebalancing idea

lean dune
#

looks to me like one of the cards you defined is missing some properties

iron onyx
#

if you start with hieroglyph, the -1 hand debuff goes away as soon as you select the first blind

hardy brook
chilly kestrel
#

Something like "if self.back == Back(G.P_CENTERS.b_anaglyph) then" should work, using the anaglyph deck as an example, right? or do I have the variable or formatting wrong?

lean dune
#

interesting

iron onyx
#

i've compensated for it by having the black deck secretly keep its innate -1 hand debuff

#

so it goes from 2 to 3 instead of from 3 to 4

#

but it is kinda funny to see

hardy brook
#

Oh yeah, what if i need to make multiple colors?

sleek granite
#

i know i set the cost to 3, not sure why it's 1 here? i dont have the voucher(s)

lean dune
#

uh I thought I fixed that?

cobalt wedge
lean dune
#

well I don't have the patience rn to look through everything

lean dune
#

should have checked if tarots have that issue as well

lean dune
chilly kestrel
slender cosmos
#

hey ive downloaded the steammodded-main but where do i put it and what do i do with it (yes i would be laughing at me too)

vestal crag
#

How do I update steamodded?

slender cosmos
hardy brook
#

and i just put this wherever in the code?

lean dune
#

yeah

vestal crag
# slender cosmos me you both brother

As far as I can tell, you go to Balatro on steam, go to properties, verify the integrity of its files, and then install the new update as if the old version doesn't exist.

slender cosmos
vestal crag
#

There should be a way to tell your computer to download it anyways, or to let the download complete.

slender cosmos
hardy brook
#

I’m gonna be making a fixed update for the Ultimate Collection

#

And yes, insane deck will be in it

cobalt wedge
#

i still can't find out what I did wrong

#

deck = {
type = 'Challenge Deck',
cards = {{s='D',r='2',},{s='D',r='3',},{s='D',r='4',},{s='D',r='5',},{s='D',r='6',e='m_lucky',},{s='D',r='A',e='m_stone',},{s='C',r='2',},{s='C',r='3',},{s='C',r='4',},{s='C',r='5',},{s='C',r='6',e='m_lucky',},{s='C',r='A',e='m_stone',},{s='H',r='2',},{s='H',r='3',},{s='H',r='4',},{s='H',r='5',},{s='H',r='6',e='m_lucky',},{s='H',r='A',e='m_stone',},{s='S',r='2',},{s='S',r='3',},{s='S',r='4',},{s='S',r='5',},{s='S',r='6',e='m_lucky',},{s='S',r='A',e='m_stone',},{{s='D',r='2',},{s='D',r='3',},{s='D',r='4',},{s='D',r='5',},{s='D',r='6',e='m_lucky',},{s='D',r='A',e='m_stone',},{s='C',r='2',},{s='C',r='3',},{s='C',r='4',},{s='C',r='5',},{s='C',r='6',e='m_lucky',},{s='C',r='A',e='m_stone',},{s='H',r='2',},{s='H',r='3',},{s='H',r='4',},{s='H',r='5',},{s='H',r='6',e='m_lucky',},{s='H',r='A',e='m_stone',},{s='S',r='2',},{s='S',r='3',},{s='S',r='4',},{s='S',r='5',},{s='S',r='6',e='m_lucky',},{s='S',r='A',e='m_stone',}, }

chilly kestrel
sleek granite
#

G.GAME.selected_back should have the Back object for the current run, and G.GAME.selected_back_key for its internal name

hardy brook
#

Dumb question

rare shell
#

Dumb answer

hardy brook
#

How do I make cards have specific numbers in a deck?

#

For example: all cards are aces

tepid sentinel
#

isnt it the id?

rare shell
#

you would need to define every card in the deck

hardy brook
#

Not in a challenge though

rare shell
#

oh for a deck?

hardy brook
#

yes

rare shell
#

i still have yet to touch deck coding despair

tepid sentinel
#

that all cards are considered aces?

hardy brook
#

i'm just saying it as example

#

I'm not doing aces in the final deck

tepid sentinel
#

or literally all cards are aces

hardy brook
#

literally

#

Like every card is "rank" of their respective suit, giving you 13 of that rank

rare shell
#

i think there's an example mod that replaces it with all 4s

hardy brook
#

I'll have to look

hardy brook
#

on steamodded?

#

okay i see it

rare shell
#

mika also has some special decks, and that code might be more up to date for what you want

twin herald
hardy brook
strong falcon
#

Does anyone know why juice_up happens immediately but ease_dollars and card_eval_status_text are delayed?

            if context.end_of_round and not context.individual and not context.repetition then
                for _, v in ipairs(G.jokers.cards) do
                    local dollars = self.ability.extra.dollars * v.config.center.rarity
                    ease_dollars(dollars)
                    card_eval_status_text(v, 'extra', nil, nil, nil, {
                        message = localize('$') .. dollars,
                        dollars = dollars,
                        colour = G.C.MONEY
                    })
                    if v ~= self then
                        v:juice_up(0.5, 0.5)
                    end
                    self:juice_up(0.5, 0.5)
                end
            end
hardy brook
#

Welp the deck crashed, lemme try again

strong falcon
hardy brook
#

PERFECT

#

ALL SIXES

round oar
#

omg the card back

#

also imagine sixth sense with this

fickle elbow
stone brook
#

imagine cloud 9 when youre playing that deck upside down

#

sorry that was a shit joke ill excuse myself

rare shell
#

man that joke six

round oar
#

playing cards look the same upside down

#

on the other hand if you flip the cloud nine

rare shell
#

okay chat i have a hypothetical here

#

actually nevermind my premise was flawed

rare shell
#

i was trying to figure out a way of having an animated joker sprite using an atlas but

#
  1. i dont know if you could really swap the atlas constantly on a frame-dependant basis
  2. im not sure where i'd call a function that tells an animated joker to move to the next frame that runs inside the game's processes
round oar
#

just write a shader, it’s not that hard /j

chilly kestrel
hardy brook
#

Oh this is funny

cedar dune
#

Sorry for the phone image. This Whiteboard joker is from More Fluff, but I'm having a hard time actually knowing if and how it's working. Anyone know how exactly it works?

dapper helm
fickle elbow
dapper helm
#

oh yeah!!! there is one

#

made by jellymod person then added to jellymod later

#

wait the atlas part i have no clue about

cobalt wedge
strong swift
#

is there any list of all the {C:______} color things

rapid epoch
#

I had an idea for a Joker/Voucher and I'd like to hear how feasible it is with our current understanding of Steamodded/Feder
TL;DR, it would allow you to, instead of using a Tarot/Spectral/Planet from any given Booster Pack, 'Pocket' it instead, adding it to your consumable slots

#

But I don't know about adding the alternative button to do so

#

I also had the thought that the (upgraded) voucher might let you pocket actual playing cards from standard boosters and sell them

dapper helm
#

adding it to consumable slots has already been figured out so the button is the only part that could be weird

rapid epoch
#

Maybe as a different click function but even then that's like
Select/deselect

iron onyx
#

i hope that someday i'll be able to add the button to my "joker fusions" mod

#

allowing you to manually fuse them, under the sell option

cobalt wedge
#

I don't see any differences in the format of my Challenge and the others in the challenges.lua but it still won't work...

coral shale
#

Yo, quick question, do the latest Steamodded versions support Lua modules? (ie. using require "myModModule.lua" )

cedar patio
#

hi, I was wondering, does having mods enabled affect achievements and unlocks?

dapper helm
#

steamodded turns off achievements but they can be turned back on, unlocks progress as normal and don't revert when mods are removed

cedar patio
#

hmm ok

#

I was looking to start with some simple ones, first one would probably be faster stakes unlocks

#

but maybe it would be better to just do that with a save editor

dapper helm
#

why?

cedar patio
#

I have gold stake on one deck but the rest are around red

#

and it just takes a while to get to the higher stakes across all decks

#

I could just put in the time but I was wondering if I want to just jump forward a little bit and skip some of the easier stakes

dapper helm
#

i like how faster stakes does it so i do recommend that if you're not struggling at all in lower stakes, i didn't use it but they were really as easy as i thought

cedar patio
#

yeah so would you reccomend turning it on, getting to gold on one more stake and then turning it off again?

#

I'd like to try divvy's preview too but not if it will block the last few unlocks and achievements I need

cedar patio
#

oh yeah I forgot about that one

dapper helm
#

having steamodded installed at all disables achievements even without mods on pretty sure

white scarab
#

You can probably do that along with Steamodded to get module loading working

cedar patio
#

right so it might be worth not trying them until I have the next few unlocks

#

I just need canio to appear to get the collection achievement and I don't want it not unlocking if I have mods on when it appears

dapper helm
#

nah unlocks are normal

cedar patio
#

but then I wonder once I get it could I turn on achievements but then uninstall them all and steammodded before doing the last gold stake for example

cedar patio
dapper helm
#

it will if you have achievement enabler

rare shell
#

Aye

#

Can confirm

cedar patio
#

oh I thought you said having steammodded installed overrides it

#

oh well I could try them out sooner then I suppose!

dapper helm
#

nono sorry miscommunication

rare shell
#

I accidentally gave myself the joker unlock for finishing a game in 12 or less rounds

vestal crag
cedar patio
#

verify through steam?

dapper helm
#

i did all my unlocks and stakes legit 👍 except i think some of my stickers are messed up so i ignore them entirely

cedar patio
#

well divvy's preview looks really cool and useful, I'd like to have it on while I try for the stakes

#

and of course the faster unlocks to get there a bit quicker

vestal crag
#

(Great for removing stuff that isn't vanilla)

cedar patio
#

right cool, didn't know that would retrigger achievements

vestal crag
#

I found that out on accident earlier.

#

Got Astronomy and Card Discarder.

dapper helm
cedar patio
#

ah cool, I've seen that, I'll give it a go when I try the others out

#

was looking to try playing through steam link on my odin lite, this could make it better

cobalt wedge
#

Hm... seems Balamod could make decks more easily, but Steamodded is more used as the default...

fickle elbow
#

i find decks easy to make

#

in steamodded

cobalt wedge
#

Well, I thought so too, but I broke SOMETHING

#

I tried making a challenge

#

It crashes

cedar patio
vestal crag
#

It will uninstall the modloader, I think. The mods remain but won't be loaded.

cedar patio
#

cool, that could be useful

vestal crag
#

Well, that's for Steammodded.

#

Balamod is different.

cobalt wedge
#

Catra? Where's Adora?

vestal crag
cobalt wedge
#

Fair. 😛

cobalt wedge
#

I have no idea what I've done wrong. I keep looking over it, and...

#

shrug

dull ice
worldly marsh
#

I got unlucky on my final discard and didn't get a diamond that would've gave me the win and don't want to redo this run. How can I modify the lua file to lower the crimson heart requirement?

#

Modifying the mult for crimson heart doesn't have an effect on how many chips I need

dapper helm
#

thats a pretty funny request

sleek granite
#

i think once you're in a round it doesnt load from the prototype anymore

dapper helm
#

just use that and hit the win button

hollow umbra
#

I don't have a way to mod yet but is it easy or hard to mod balatro? As a beginner.

sleek granite
#

there's not a Lot of documentation yet so it depends on how comfortable you are with reading source code

#

either of the game itself or of other mods

hollow umbra
sleek granite
#

lua formatting isnt too hard to follow as a First Language; at least it's not C lol

hollow umbra
#

I took one coding class in high school but didn't retain much

sleek granite
#

with any luck it'll be like riding a bicycle eh

#

(i cant ride a bicycle)

dapper helm
#

i can ride a bicycle but forgot all of what little knowledge i had of coding

hollow umbra
#

Maybe I'll look into modding when I get a pc down the line

sleek granite
#

maybe by then someone will have made better docs lol

exotic shadow
worldly marsh
#

How do I have to use steammodded

thorny kraken
#

ive never modded anything before but i feel like i'm off to a great start here

cobalt wedge
#

Why not?

cunning silo
worldly marsh
#

Where do I find this file? Wdym by open the zip archive?

rare shell
#

this is dwmapi.dll

solid gyro
#

has anyone come up with a sort of save state mod so you can try different pathways in each seed?

wanton rapids
#

what would a joker that gives +mult for each purchased voucher be called

rare shell
#

coupon junkie

vestal crag
cunning silo
vestal crag
#

Thank you!

#

Was trying to figure out how to link to that.

#

Been messing with Hand of 6 for a bit, actually. Makes the game substantially easier, I'd say.

#

Still very fun, though.

cobalt wedge
#

Didn't someone make a Joker of that?

vestal crag
#

Yup.

sleek granite
#

jellymod iirc.

cunning silo
#

does jellymod add a joker that increaces played card count?

vestal crag
#

I think so, but this looks like Hand of Six.

#

Yeah, I remember seeing that joker in Jellymod.

#

Never got it because legendary, but it was in the collection.

exotic tulip
#

what do you guys think is the best modded joker right now? I'm curious.

slow arrow
#

Does modding the game turn off your ability to get steam achievements?

sleek granite
#

yes but there's a mod to reenable them for steamodded

slow arrow
#

Ah, cool. I will need to look for that then

vestal crag
#

That's the one I'd argue is strongest, though certainly not for endless.

#

Dagonet might also be a contender.

sleek granite
#

the best modded joker is my own[citation needed][reference not found]

wanton rapids
#

hee hee hoo hoo

sleek granite
#

thats a tarot tho balatrojoker

#

hee hee hoo hoo

vestal crag
#

I personally also enjoy special edition joker.

sleek granite
#

i also assume they mean actually released content, of which my mod is not yet
hee hee hoo hoo

wanton rapids
vestal crag
#

Unfortunately it's a Jellymod Joker.

wanton rapids
#

mm

#

with the stuff that it does i can't see it becoming compatible with other mods for a while

vestal crag
#

I think most of what it actually does is possible to do without such severe compatability issues.

#

Not sure on the Tarots, though.

wanton rapids
#

there's a tarot api now i think

#

but it still overwrites the spritesheet

#

there's no enhancement api rn though

fickle elbow
#

@civic grail i got it working and in game

civic grail
#

Sickk

#

Might have to reword

#

Balatro uses “round” instead of “turn”

#

Gains $7 of sell value and 1 in 4 chance this is destroyed at the end of round.

round oar
#

i think they mean 'gains $7 of sell value and 1 in 4 chance to be destroyed after each played hand'

#

that's how i interpereted it

fickle elbow
#

nope, grassy is right

round oar
#

oh ok

fickle elbow
#

i got pretty lucky i played though an ante an a half before it "broke"

sleek granite
#

gros egg

rare shell
#
                    "Gains {C:attention}$3{} of {C:attention}sell value{}",
                    "at end of round. {C:green}#1# in 4{} chance to",
                    "{C:mult}expire{} at end of round"
                }```
#

define the local variable as your probabilities so it updates with oops! all 6s

#

(you can also remove the mult color on "expire", thats just personal preference, albeit not vanilla)

fickle elbow
#

i keep my eggs in all my baskets

hollow umbra
vestal crag
#

Okay, Dagonet is probably the most busted Joker that isn't Perkeo with the ghost deck.

tardy sierra
#

Okay, what if there was a Rare/Legendary Joker that allowed you to put Booster Pack Tarot/Celestial/Spectral cards into your consumable slots?

vestal crag
#

Perkeo + Black Hole + Observatory.

#

Funniest seeded run of all time.

wanton rapids
#

wait

#

does that work?

#

it's not a planet card

vestal crag
#

Dunno.

#

You can't normally get black hole in the consumable area, so I haven't a clue whether it works.

sleek granite
#

it probably doesn't

vestal crag
#

I think it's technically a spectral.

#

Hm.

#

Yeah, nothing really breaks by getting Booster consumables into consumable slots, other than a possible Perkeo + Soul.

wanton rapids
#

you just get jimbos after the 5 legendaries

vestal crag
#

huh.

tardy sierra
vestal crag
#

Fair enough.

#

I'd say rare?

#

Debug because I wanted to mess with a stupid lucky card build, Hand of Six becuase it's funny, and Mika's Jokers because I had it enabled already.

#

Started myself with 5 jokers that were good for building/scaling a deck up to ante 8, traded the worst few out for Dagonet and a few need things from the shop.

#

Final build was Flush Six of Lucky Polychrome Red Seal 5 of Spades...provided I actually could manage to get 6 of them in my hand.

#

Acquired a ton of negatives from a mika joker that gives you a random negative if 4 lucky cards activate. Had enough retriggers to almost guarantee that once I got enough lucky cards. (Dagonet is not synergistic with What are the Odds? Dagonet turns it from 4 to 8 required.)

#

Mika's adds a joker that retriggers lucky cards, by the way.

#

Also had Hack + Blueprint at the very end.

#

Died to only drawing 4 of my 6 necessary 5s.

green spire
#

when i have multiple mods on that add lines on the settings menu (e.g. Color Selector, More Speeds, etc), the game crashes when Settings are selected. I'm assuming because the menu is larger than the window itself. Is there a mod to work around this, like a scrollbar for the menu?

rare shell
#

depending on the things modifying the ui, they might just have conflicting code

#

to my knowledge i dont think we have a uniform way to modify the ui yet

gleaming talon
#

If you don't show the error we won't be able to help you a lot

rare shell
#

what is color selector, by the way? i dont think ive seen that

green spire
#

where can I find crash reports to see the error thrown?

rare shell
#

you'll see it usually directly in balatro itself

#

we dont have crash logs (that print into a .txt), just the error log showed directly in game

green spire
#

that's what I suspected, but since he asked for an error, I questioned it. there is no error log in this particular. it just crashes and hard exits.

#

particular case*

rare shell
#

ah, yeah fair nuff

#

yeah hard crashes with no error log means something is really fundamentally screwed

#

i am probably going to chalk it up to the ui breaking from this + other things that touch the ui code

rare shell
#

you could try removing the mods one by one to see if a particular one is causing the crash

#

thats really cute

#

stop stealing the cute ideas i need to finish rewriting my mod

green spire
#

that's what I've been trying. it seems to be using More Speeds and Colour Selector in conjunction. Which make sense, they both try appending something to the second position in the menu. I might try tweaking them to see if I can get them to get along.

rare shell
#

i wish you best of luck 🫡

gleaming talon
#

🫡

tacit mountain
#

I can probably edit more speed, it was a fast made dirty mod for a request

lean dune
iron onyx
#

man, this bug is so frustrating

#

applying hieroglyph anywhere else in the run

#

updates the hand count properly

#

but not at the start of the run!

iron kraken
#

Hello, and how easy might it be to add a button / key to invert the selection in the hand. Like, I've got my good hand of cards selected and ready to play. But I decide I want to discard the rest instead. Click 'invert', click 'discard' instead of 'click every card' then discard

green spire
iron kraken
#

Grrrreat

iron onyx
#

there we go, i fixed it!

solid sedge
#

is it possible to rollback or edit a save to the previous blind or ante? I absent mindedly softlocked my current run and forgot to reroll the boss blind.

sleek granite
#

balatro with rollback....

lean dune
#

balatrollback

#

uh no

vestal crag
#

Oh hell yeah.

#

Would be so fun for set seed routing.

rare shell
#

well

#

lads

#

my monitor is Fucked

#

i have the aseprite load buttons burned into the monitor

#

i wish i was joking

pale anvil
#

someone should make a black seal spectral card for the mod

rare shell
#

you can always do it yourself by learning how to code 🙂

#

be the change you want to see

wanton rapids
rare shell
#

i do 😭😭😭

sleek granite
#

certified aseprite gamer

chilly wind
#

I'm current running with 8 suits in the game (4 vanilla + moons, stars, ink and color
It makes getting flushes a lot harder, and spectrums a lot easier.
I'm wondering if I should try anything to balance out the multipliers. maybe flushes should be increased?

rare shell
#

is that the gta font 😭

chilly wind
#

haha yes, sorry if you don't like it

rare shell
#

no i just find it very amusing is all

chilly wind
#

If you want it let me know. I made mine custom

rare shell
#

i dont think flushes need to be increased honestly

#

but if you wanted to do it maybe something like making flush match a full house

chilly wind
#

yeah that would be reasonable. I'd have to figure out how to mod it first

tall vessel
#

Is the game over text replaced by "WASTED" ?

chilly wind
#

not a bad idea. made I can change the text somehow

rare shell
#

we're back to a full page

#

lord give me strength to conquer my adhd

fallow bramble
rare shell
#

im just doing a rewrite of my mod ^^

#

all my descriptions are here, if i released them

fallow bramble
#

Oh neat

fallow bramble
rare shell
#

nice catch

#

also

#

it is done

#

all of them reimplemented

#

(except mind mage because im going to rework it)

fallow bramble
#

With all the modded jokers existing Im scared one day I make a 1:1 copy of an existing one

rare shell
#

dont be

fallow bramble
#

Feels bad for the person who did it first

rare shell
#

thats why you write your mods with a config

fallow bramble
#

Yea I should add a config too

rare shell
#

i wish i did

#

and now it has one

fallow bramble
#

👍

rare shell
#

i already got over my grief when i remade a joker from multijokers on accident

fallow bramble
#

Need a database of all the custom jokers

rare shell
#

base game needs to add a joker that is basically already existing joker with very few behavior changes and different art

#

and ta-da

#

all the modded duplicate issues are no longer issues

iron onyx
#

yeah, how do i generate a copy of a custom joker i've made with SMODS.Joker:new()?

rare shell
#

wdym "copy"?

#

like clone in game or to create different one with the same behavior?

iron onyx
#

like, just spawning it in the run

rare shell
#
                    G.E_MANAGER:add_event(Event({
                        func = function() 
                            local chosen_joker = YOURJOKERNAME
                            local card = create_card('Joker', G.jokers, nil, nil, nil, nil, chosen_joker, nil)
                            card:add_to_deck()
                            G.jokers:emplace(card)
                            G.GAME.joker_buffer = 0
                            return true
                        end}))   ```
#

wait

iron onyx
#

yeah, that just seems to be creating an error message when i try looking for it

#

gonna be trying to look through SMODS.Jokers instead of G.jokers

#

probably will get me what i need

sleek granite
rare shell
#

you could also try getting the slug

sleek granite
#

remeber the api adds j_ before the slug

wanton rapids
#

that's also why my jokers have mf_ in the slug

rare shell
#

thank god for quinton uploading a 40 hour video about beverly hillbillies

wanton rapids
#

to avoid clashes

rare shell
#

mf...

sleek granite
#

i should also prefix my crads but lazy.....

rare shell
iron onyx
rare shell
#

its 7 in the morning and i havent slept yet

#

i use dream magic while awake you see

pale anvil
#

made it the void

sleek granite
#

the fooooooont

alpine cosmos
#

Font

#

Colors

sleek granite
alpine cosmos
#

wa

pale anvil
#

i can fix it i tried looking for the right font closest i found

sleek granite
#

i built that "font" i linked to from the Tarots.png atlas. it'll be the most consistent you can be, barring the handful of letters i had to custom make

pale anvil
#

okay thank you how am i suppoosed to apply it tho

sleek granite
#

in an image editor

pale anvil
#

so make a file for each letter?

sleek granite
#

what

pale anvil
#

nvm nvm i see now

tepid sentinel
#

greetings, who of you use VScode to mod in Lua?

stone brook
#

i do

strong falcon
#

I do too

wanton rapids
#

i do as well

cinder sage
#

i do

fallow bramble
#

I do

grand geode
#

i do

sleek granite
#

what if tho

pale anvil
iron onyx
#

all right, anyone have a clue why my joker sprites aren't working properly anymore?

woeful pilot
#

Excuse me, but does anyone know good practice of adding a playing card to the deck?
I'm struggling to update the state of the deck.

tepid sentinel
#

what extensions do you use? LuaHelper? cause it doesnt help me too much tbh

runic kraken
stone brook
#

i only have the "Lua" extension

tepid sentinel
stone brook
#

sumneko

tepid sentinel
#

ok ill try it too then

#

thanks, this seems to work better than the one i was using

wanton rapids
#

ace up the sleeve. idk what it does

iron onyx
runic kraken
#

do you use an atlas or single sprites? I had an typo in my atlas yesterday that caused the same problem

iron onyx
#

i use an atlas, and here is my code (i use notepad++)

winged scroll
#

someone help me install balamodd

#

I installed the windows .exe version, now idk what to do, i tried to run "balamod-v0.1.11-windows.exe -a" in my command prompt but i got no clue what im doing

iron onyx
#

what should happen, is my array of "fusedJokers" variables (which i'm going to fuse with my "jokerLocalization" array at some point) should create the joker, then initialize it

#

and then the atlas should register at the end

winged scroll
#

@stable crag Hi, which step am i missing?

runic kraken
iron onyx
#

there we go

#

this would be so much easier with documentation TvT

runic kraken
#

this is documented on the steamodded wiki

winged scroll
#

can anyone help?

#

"balamod-v0.1.11-windows.exe -a
'balamod-v0.1.11-windows.exe' is not recognized as an internal or external command,
operable program or batch file."

#

ive ran windows balamod .exe

iron onyx
runic kraken
winged scroll
#

Aah move directory's ty

#

done lol

runic kraken
alpine cosmos
#

and theres a wiki

#

ye

runic kraken
alpine cosmos
#

im guessing its just an automatic thing

iron onyx
#

yeah

#

automation

runic kraken
#

makes sense

iron onyx
#

i have the same 10 cards per row format of the default joker sheet

#

ugh, now that i'm done with that, it's time to pass out

real shale
#

Do any of the mod loaders not freak out chrome or windows?

#

Steammodded gets blocked in chrome and then I use edge to download it and then Windows blocks it

runic kraken
stone brook
#

balamod doesnt aggro my firewall

real shale
#

Magic, thanks guys. Is there a recommended one to use at the moment? Not sure if it matters but all I'm interested in currently is the mod that previews the score before you play

lucid sorrel
#

Hi guys. I had an idea I think would be neat but I don't have the know how to do it or if it's even feasible. I just think it'd be cool and figured this may be a good place to spit it out. I think it'd be super fun to have joker stickers for the challenges like beating the omelet challenge adds an egg sticker to the joker and what not. I'm a big fan of the stickers and have just had that in my head for a little bit. Ty thx sorry for bothering u kisskiss

stone brook
real shale
#

So after getting around all the blocks I decided to have a look on virus total

#

I don't think I've ever seen anything innocent flag up this many different things

#

To be fair I haven't looked up much of this stuff

#

Am I being overly cautious? Would it be impossible to load divvy's score preview without Steammodded?

wanton rapids
#

you can use lovely to install steamodded to load up the score preview

tacit mountain
#

If that would have been a virus, it would have been deleted a long time ago

#

You can scroll a little bit in the steamodded channel, this has been discussed a million times

cinder sage
#

but it only edits the game so it's safe

real shale
#

Ah okay, thanks for your help guys!

worthy hollow
#

does anyone here know how to get rid of the fps counter with debug menu enabled?

cunning silo
#

I just realized

#

There is no voice channel on this server

#

I really wanted to do a modding live today

strong falcon
#

Is there any way to access the joker description of a specific joker inside G.jokers.cards?

cunning silo
#

If so, you need to use a UI method (I think it’s something UI_ability) to add a new description

strong falcon
#

No, I want to check if a Joker gives mult or chips, and since the config is inconsistent (sometimes just called extra instead of mult or chips) I want to check the description for those keywords.

cunning silo
#

Or at least a new dynamic element of the description (inside #1#)

tacit crest
cunning silo
strong falcon
#

Ah okay, I'll look into that. Thank you!

cunning silo
tepid sentinel
#

Hey guys, are the blind sizes calculated at the start of the run or calculated "as you go"?

cunning silo
#

There’s a specific formula as to how it’s calculated. Each blind has a mult value which multiplies the calculated number for that round

tepid sentinel
#

each blind has a multiplier and its used to calculate the size depending on the ante right?

cunning silo
#

That’s how the wall works, it has a larger multiplier

tepid sentinel
#

you think i'd be possible to change the blind size during a round? i might have an idea 🫣

atomic eagle
#

does anyone know what version of lua the love engine balatro was made in runs?

cunning silo
fallow bramble
tepid sentinel
atomic eagle
cunning silo
strong falcon
#

I could just hardcode a list of Jokers that give chips and mult, but I'm looking for a more flexible solution

tepid sentinel
fallow bramble
#

oh

tepid sentinel
#

i was going to make some jokers on the same idea

worthy hollow
wanton rapids
#

do blinds automatically generate?

grand geode
#

wdym

wanton rapids
#

nvm

#

like ones added through the api

grand geode
#

yeah they should

wanton rapids
#

another ultrakill joker

lean dune
#

hm I think that's good for a start (started run on absolute deck and removed it)

wanton rapids
#

time to actually implement this lmao

lean dune
north comet
#

Hello, does anyone know if there are some instructions to make mods? I wanted to try making one but wiki on steamodded github page isn't that clear for me.

lean dune
#

I'd prefer "when Boss Blind is defeated"

wanton rapids
#

yeah i changed it to that

lean dune
#

for starters, you'll want to have a look at the game's code by extracting the executable with 7-zip or similar

#

another useful resource would be other mods

lean dune
north comet
wanton rapids
#

which mod?

north comet
#

I looked at JellyMod

lean dune
#

If a mod uses the Steamodded joker API, the Joker effect will be in a function called SMODS.Jokers.j_joker.calculate()

#

where j_joker is whatever the slug (key) of the joker is

lean dune
wanton rapids
#

also the way it does things is incompatible with a bunch of other mods

north comet
lean dune
wanton rapids
#

how would i modify the size of a blind as it's being set?

grand geode
#

check better balatro wink wink

wanton rapids
#

oh of course

north comet
lean dune
#

If you have any specific questions, I'm here to help

north comet
#

I have no specific questions, sorry

pastel jewel
#

Hey. Does anybody here know how i can download mods from my steam deck?

sleek granite
#

is there a known way to add a line to a card's loc_txt if a condition is met?

fallow bramble
#

Doesn't Loyalty Card's text changes to "Active"?

lean dune
#

I think the number of lines is fixed

#

it probably also isn't disregarded if left empty, but that might be the closest you can get without modifications to parsing rules

runic kraken
#

I love the tooltips,
i can put even more text on my cards now

lean dune
#

lol

#

that description is pretty lengthy on its own

grand geode
#

wait how do you add a new info box

lean dune
#

SMODS.Joker.j_slug.tooltip function

grand geode
#

ic

lean dune
#

or for consumables, you can just use the loc def function

#

same with vouchers(?)

grand geode
runic kraken
#

oh I already cut like 50% already

lean dune
grand geode
#

"Cosmic-Tokens improve Cosmic Jokers by the amount listed in parentheses."
and "5% (+1%)"

lean dune
#

+1% chance per Cosmic-Token to change scored card into a random Enhanced card (currently 5%)

grand geode
#

effect can also be shortened to "5% chance to enhance scored cards"

lean dune
#

hm right

grand geode
#

throwing a few ideas to not make this mod turn into yugioh synchro summon shit

runic kraken
#

thats exactly what i want. So much text that you need scroll bars

lean dune
#

oh also

grand geode
#

god

lean dune
#

random Enhanced card makes me think of the effect of spectrals like incantation

#

like, a random card that has a random enhancement

#

another argument for rewording

runic kraken
#

much better, I think

ember gull
#

Gains 1 Cosmic-Token per 6 scored?

runic kraken
#

woops 2 instead of 6 for Capricorn ofc

#

did this not get fixed?

runic kraken
cunning silo
runic kraken
#

nice

woeful finch
#

ooh

rigid jewel
#

Does it last until the end of the end of round or until the next blind?

woeful finch
#

new strategy just came out

#

perkeo antimony generator

#

rack up a few antimony

white scarab
#

Antimony Cryptid strats for e100,000

woeful finch
#

use the negatives in shop and get back that many perkeos for the roundhmm 🤔

tepid sentinel
#

OpenGL is used for the game right?

lean dune
runic kraken
#

is it obvious how the repetition scaling works, or do I need to add an example into the tooltip?

#

dont mind the typo

rigid jewel
#

Is "Repeat" just retriggering?

runic kraken
#

yes

rigid jewel
#

Then just write "retrigger"

#

Should make it pretty clear

runic kraken
#

makes sense

lean dune
#

there's some words there I'd like to not see capitalized

#

otherwise looks good

runic kraken
#

uncapitalized key words look odd tho 😐

lean dune
exotic tulip
#

hey guys is this Legendary Joker too overpowered?

#

I posted it to the Balatro reddit, but everyone seems to think its way too strong, even compared with other Jokers

strong falcon
#

Does anyone know why my legendary joker is not showing up, but only the background 🤔

        -- Create Joker
        local cicero = {
            loc = {
                name = "Cicero",
                text = {
                    "Jokers that do not",
                    "give {C:mult}Mult{}, {C:chips}Chips{} or",
                    "{C:attention}retriggers{} will be",
                    "{C:dark_edition}negative{} in the shop"
                }
            },
            ability_name = "MMC Cicero",
            slug = "mmc_cicero",
            ability = {},
            rarity = 4,
            cost = 20,
            unlocked = true,
            discovered = true,
            blueprint_compat = false,
            eternal_compat = true,
            soul_pos = { x = 1, y = 0 }
        }

        -- Initialize Joker
        init_joker(cicero)
#

My init_joker function as well

local function init_joker(joker, no_sprite)
    no_sprite = no_sprite or false

    local new_joker = SMODS.Joker:new(
        joker.ability_name,
        joker.slug,
        joker.ability,
        { x = 0, y = 0 },
        joker.loc,
        joker.rarity,
        joker.cost,
        joker.unlocked,
        joker.discovered,
        joker.blueprint_compat,
        joker.eternal_compat,
        joker.atlas,
        joker.soul_pos
    )
    new_joker:register()

    if not no_sprite then
        local sprite = SMODS.Sprite:new(
            new_joker.slug,
            SMODS.findModByID("MikasMods").path,
            new_joker.slug .. ".png",
            71,
            95,
            "asset_atli"
        )
        sprite:register()
    end
end
rare shell
#

I remember effect arg before it

#

and something else

#

let me check

magic sandal
#

stonks

hard grove
strong falcon
exotic tulip
rare shell
#

Oh yeah I already told Aure about that

#

it was slight overlook but at least it is mentioned in the code snippet itself

lean dune
#

yeah I really should add that

rare shell
#

so actually two more arguments, not one

strong falcon
#

So like this?

    local new_joker = SMODS.Joker:new(
        joker.ability_name,
        joker.slug,
        joker.ability,
        { x = 0, y = 0 },
        joker.loc,
        joker.rarity,
        joker.cost,
        joker.unlocked,
        joker.discovered,
        joker.blueprint_compat,
        joker.eternal_compat,
        joker.effect,
        joker.atlas,
        joker.soul_pos
    )
    new_joker:register()
exotic tulip
#

I deleted the post so that I could rebalance the cards, could you guys give me some ideas on what the Joker should do? @magic sandal @hard grove?

rare shell
#

should be 14 args iirc

#

yep

strong falcon
#

I'm still missing something, now it's showing up as whatever the joker with the green hair next to jimbo is called

rare shell
#

checks out

exotic tulip
#

Ideally I want this joker to create an exclusive Emperor Joker, but what could a more balanced version of my idea look like?

rare shell
#

hmmm

fallow bramble
exotic shadow
rare shell
hardy brook
strong falcon
exotic tulip
#

ok so it seems like I overestimated the weakness of only having one powerful card in the deck

rare shell
#

this soul_pos code feels like it is passed from generation to generation

fallow bramble
exotic tulip
#

I'm trying to come up with better balanced versions of my idea now

runic kraken
exotic tulip
#

How is this Legendary Joker? Is it more balanced than before?

lean dune
#

probably still busted

woeful finch
#

for Emperor it should be “Retrigger a non-emperor joker for every Emperor Joker”

#

or else it is exponential retriggers the more emperors owned

strong falcon
woeful finch
#

wait hmm

lean dune
#

what do you mean I can't thin out my deck by literally deleting ranks from the game

#

perfectly normal straight btw

rare shell
#

now delete all base ranks 🤪

lean dune
#

*instantly loses

rare shell
#

and then suits

runic kraken
strong falcon
rare shell
#

no way, dialogue emotions in my balatro???

exotic tulip
#

How is this? @woeful finch

woeful finch
#

more clear, but i think the problem of emperor joker’s exponential retrigger scaling might be a problem

#

cuz if i have 3 emperors that’s 3x3 9 triggers i think

#

?

exotic tulip
woeful finch
#

but each emperor has the “retrigger ability”

exotic tulip
#

I forgot about that

woeful finch
#

the retrigger ability would probably have to be on dongfang to solve this

rare shell
strong falcon
#

Yea

rare shell
#

I felt like I remember lyman trying to fix this

strong falcon
#

If I remove the soul_pos = {x=1, y=0} it goes back to the proper background though

rare shell
#

this problem didn't occur to me tho when I was doing this

runic kraken
# strong falcon

Can you try to set atlas = slug manually? I think it is like that by default, and I can't find another thing that could cause this

woeful finch
#

looks better

exotic tulip
woeful finch
#

what if emperor gave 100 chips and 100 mult per legendary joker in play?

runic kraken
#

Joker

woeful finch
#

very niche though that’s a problem

exotic tulip
#

220 is just a reference to something Dongfang himself did, but its not necessary.

exotic shadow
#

I mean DongFang could retrigger all Emporers

strong falcon
# runic kraken Joker

Like this?

        -- Create Joker
        local cicero = {
            loc = {
                name = "Cicero",
                text = {
                    "Jokers that do not",
                    "give {C:mult}Mult{}, {C:chips}Chips{} or",
                    "{C:attention}retriggers{} will be",
                    "{C:dark_edition}negative{} in the shop"
                }
            },
            ability_name = "MMC Cicero",
            slug = "mmc_cicero",
            ability = {},
            rarity = 4,
            cost = 20,
            unlocked = true,
            discovered = true,
            blueprint_compat = false,
            eternal_compat = true,
            soul_pos = { x = 1, y = 0 }
        }

        -- Initialize Joker
        local new_joker = SMODS.Joker:new(
            cicero.ability_name,
            cicero.slug,
            cicero.ability,
            { x = 0, y = 0 },
            cicero.loc,
            cicero.rarity,
            cicero.cost,
            cicero.unlocked,
            cicero.discovered,
            cicero.blueprint_compat,
            cicero.eternal_compat,
            cicero.effect,
            'j_'..cicero.slug, -- Set atlas
            cicero.soul_pos
        )
        new_joker:register()
    
        if not no_sprite then
            local sprite = SMODS.Sprite:new(
                new_joker.slug,
                SMODS.findModByID("MikasMods").path,
                new_joker.slug .. ".png",
                71,
                95,
                "asset_atli"
            )
            sprite:register()
        end
exotic tulip
exotic shadow
#

I mean they are kings

woeful finch
#

baron exists

exotic tulip
# woeful finch baron exists

yeah I don't want to retread on Baron's ground with 1.5x for Kings. I also need to make sure that this is better than Baron, because that just a Rare card apparently.

runic kraken
woeful finch
#

x1 mult for every joker?

#

simple but good abstract

exotic tulip
exotic shadow
woeful finch
#

anti synergy with stencil hmm

strong falcon
#

I think I might just wait for lyman to wake up lol

white scarab
#

You could make Emperor common since they need Dongfang to spawn, similar to why Cavendish is common

exotic tulip
lean dune
#

well look, the deck preview also adapts to ranks being removed now

woeful finch
#

looks very clean

lean dune
#

if you have 0, you lose instantly

#

so i don't have to handle that case

placid folio
#

is there a way to change the Highest Money stat in the profile.jkr? was messing around with a save editor trying to give myself some extra discards to fix a mistake I made, only to forget to change the default money value that it had

rare shell
exotic tulip
placid folio
exotic tulip
#

let me draft something

exotic tulip
#

You reminded me that money exists in this game, so I'm trying to see if I can whip up something about money

placid folio
#

very confused as to what this has to do with my question

#

huh ok

rare shell
#

lmao

exotic tulip
fallow bramble
#

Not sure what I'm doing wrong or if it's another context issue

fallow bramble
lean dune
#

try sendDebugMessage(inspect(context)) to check for context issues

#

in unrelated news, I can't explain to myself why no one has caught this dumb mistake

#

has no one been playing with added ranks?

fallow bramble
#

Not me

lean dune
#

anyway enough of that

fallow bramble
#

Doesn't seem to be a context issue?

sullen sandal
fallow bramble
#

3.11.9

sullen sandal
#

thanks

exotic tulip
sullen sandal
# fallow bramble 3.11.9

idk where there the endoflog strings came from, what version of steamodded do you use ? is the debug console up to date ? I just tested the console with python 3.11.9 and it does not show the "endoflog" strings

exotic tulip
#

Here are the ideas I came up with, so far, for reference/inspiration:

fallow bramble
sullen sandal
#

download the latest debug console. it will be better

ornate gull
#

how would i reference top-up tag to ban it for a custom challenge? i was looking in the tag lua and couldnt find it's name

fallow bramble
sullen sandal
#

there's 2 jokers I don't recognize (that may come from mods, or I don't remember all default jokers), the Lusty Joker and the Seeing Double joker, do you know where those jokers come from ?

ornate gull
#

default jokers

#

dont have seeing unlocked yet personally

fallow bramble
#

And Seeing Double

#

Not sure why they're here, maybe they're next shop outcomes?

sullen sandal
#

yes that might be that, you seems to by at the end of a round, so that seems plausible

exotic tulip
#

anyways, I'm going to do something else than my legendary for a bit

#

How is this Joker?

#

I have a new idea for "Building Jokers" that disable Jokers next to them in exchange for cool buffs and boons.

lean dune
#

interesting concept

exotic tulip
#

thamk you

rare shell
#

Can config.center.soul_pos (.x/.y) be used to change soul_pos at any moment?

#

I found mentions of it yet can't get it to work

#

perharps it's not working the same way as config.center.pos

#

good "morning" chat

#

5:33pm is morning because i just woke up

fallow bramble
#

Ga Lyman

lean dune
rare shell
#

yeah can't get it to work with the same setup

#

will try set_sprites

exotic tulip
# rare shell good "morning" chat

how do you design the ideas for Jokers? I've been having issues with coming up with a legendary one and I wanted to learn some tips for the future.

rare shell
fallow bramble
rare shell
rare shell
#

thank you Aure!

exotic tulip
strong falcon
#

Is there a way to access all shop jokers from a joker.calculate function?

tacit crest
#

Maybe G.shop_jokers.cards?

strong falcon
lean dune
#

try this

rare shell
#

🤯🤯🤯 YAAY

#

emotions!

#

now it is time to update

lean dune
#

xd

woeful finch
#

ooh

exotic tulip
boreal ibex
#

he winks thats awesome.

rare shell
rare shell
rare shell
#

🤯 🫡

boreal ibex
fallow bramble
#

Jimbo has seen some shit

rare shell
#

I have a file that is just LORE.txt

#

I wonder what that's for

fallow bramble
#

Decided to keep the placeholder art in case people wants to play with it for some reason

fallow bramble
rare shell
#

hmmm possible, possible

lean dune
lean dune
#

nothing weird about that

rare shell
#

😈

rare shell
fallow bramble
#

Why not make a dictionnary?

rare shell
#
  1. lazy
  2. not a real programmer (fake)
lean dune
#

you can't call not being lazy lazy

rare shell
#

okay probably

#

but I'm still not a programmer

fallow bramble
#

My soul is at pos.y = 50000 rn

lean dune
#

programming is all about being lazy

rare shell
#

I just write stuff until it works

fallow bramble
#

Me making a function when 2 things repeat (I'll never use it again)

rare shell
#

cassette.exe

#

I was debugging localization colors and forgot to remove 💀

lean dune
#

lmfao

rare shell
#

okay now a question

lean dune
#

okay now an answer

rare shell
#

if something would remove a card from the deck, most of the time it'll be start_dissolve or is there a function for card removal?

#

now that I think about it, probably should've checked if start_dissolve calls something else before asking the question

tacit crest
#

There's Card:remove() and start_dissolve() calls it iirc

lean dune
#

start_dissolve calls remove, yeah

#

base game usually uses shatter for glass cards instead

rare shell
#

oh yeah I see it

#

does shatter also call remove?

lean dune
#

yeah

rare shell
#

very nice

#

ty!

lean dune
#

np

round oar
#

hi, does anyone know whether the bug in steamodded where it bricks your profile if you have a saved run on a modded deck and you turn the mod off has been fixed?

rare shell
#

gotta inject into remove to check if deck has no exotic suits, and remove them if there's none

round oar
#

i'm coming across a similar issue with my stakes mod and want to know how they dealt with it, bc i've run out of ideas

rigid jewel
round oar
#

do you know any details of how they did it?

rigid jewel
#

No, haven't looked at it

#

iirc it sets the deck to Red Deck

lean dune
#

it's a pretty simple fix, the game itself has a fallback and sets that somewhere

#

So I just had to use that property instead of what's passed in

#

as always it's only bug free until someone finds the next bug

#

but this should be the most stable we've had in a while

rigid jewel
#

Surely someone isn't gonna miss a bug like that voucher crash (clueless)

lean dune
#

that one was fairly obvious once I read into the function I was modifying

rare shell
hardy brook
#

Okay Weird question: Is there a way for me to have it so that whenever I would Gain money, I don't and instead have something else happen?

rare shell
#

I think you can inject and simply not call the original function?

hardy brook
#

Would injecting break the function if i uninstall though?

rare shell
#

🤷‍♂️

hardy brook
#

And would this work for a joker effect

rigid jewel
#

If you want it to affect all you can append the ease_dollars function

#

Can't remember if this also works for stopping money from payout

hardy brook
#

I mean I could just have it convoluted as like

"If you gain money, lose that amount and store the amount in a hidden ID"

rare shell
#

bank

#

👀

hardy brook
#

I mean you could make a bank out of it

#

I'm helping with a project

#

Basically my idea for programming it is this (in pseudo code)

if (Moneygain & Joker){
Money = Money - MoneyGain
StoredValue = MoneyGain
Joker xmult = +(0.2x MoneyGain)
StoredValue = 0
}

#

Money = Money - MoneyGain is so that the amount you have before gaining the money and the money after the effect are the same.
That amount is stored temporarily so that it can become the multipler for xMult, and then refreshed so that you don't accidentally add the old stored mult (though it could be useless to put stored value back to 0)

grand geode
#

prefix the ease_money function

#

though ease_money doesn't tell you where the source of money came from methinks

hardy brook
grand geode
#

if you're doing to any money gain then yeah prefix the function

#

though playing without any money sucks major ass

hardy brook
#

Well you are gaining xmult

#

and if you want cash, just sell the joker

#

simple as that

iron onyx
#

oooh, that's nice

#

i just successfully bypassed the normal joker limit when you're specifically buying a joker that will immediately fuse with one you already have.

#

in short, you don't have to sell to fuse if you're full slots

hardy brook
#

Fuse?

iron onyx
#

my joker fusion mod

hardy brook
#

Oh?

#

Gimme polymerization consumable

#

lol

real storm
#

I'm trying to find where all the sfx are located but I literally have no idea where they'd be

#

for base balatro

round oar
#

under resources/sounds

real storm
#

ah

#

thanks

cinder sage
#

where is the initial deck generated?

#

there's these lines in start_run

#

and these lines at the end of Card:init

#

but like where tare the cards initialized

cedar comet
#

Could somebody give me some help with using Steamodded + Lovely Injector? I'm not entirely sure how the combination works. I promise I'm not stupid, I looked everywhere for a detailed guide and didn't find one.

#

Things worked fine before but I updated to the latest version of Steamodded and now the game crashes unless I remove all my mods.

cedar comet
#

Thanks.

#

...and even after I remove all mods, the game still crashes.

fresh delta
#

same error im getting

sullen sandal
#

please ensure that the Balatro.exe is clean. For that, verify the game files in steam. If something's wrong with one of the files, it will patch the game files

fresh delta
#

i had mods installed previously. i just did a clean wipe. and did everything. but im getting that same error. about the nil value

cedar comet
#

Same here. Just did a total wipe and reinstall.

#

Something must have changed in the latest version of Steamodded to cause this.

fresh delta
#

thats what i think

#

fresh install of the game works just fine. as soon as steammodded is installed without any mods. i get that error

sullen sandal
#

I managed to recreate the issue, I'll search a but tonight what's happening

#

I'll explore more tomorrow, it's almost 3am where i live

cedar comet
#

Fair enough. Thanks for offering to help

sullen sandal
#

Did found anything in the immediate, I switched to something else

#

the darkmode debug console will come later, still have to work a lot on it, tkinter sucks for that

sleek granite
#

hm, yes, steamodded isnt a steamodded mod....

round ore
#

so I'm trying to use the deck creator mod (using steammodded), and I've installed all the files for it, but whenever I launch balatro it crashes and this is the error that pops up. if anyone could help me I would appreciate it greatly

sleek granite
#

not at home right now to try it but Thank You Aure 🫡

astral glade
sleek granite
#

yippee

timid nexus
#

yippee

boreal ibex
#

yippee

strong swift
#

yippee

rigid jewel
#

yippee

rare shell
#

yippee

fickle elbow
#

yippee

rapid epoch
grand geode
#

yippee

hardy brook
tropic nimbus
#

RE: global 'hand_chips' (a nil value) error - it appears to be affecting 0.9.6 but not 0.9.5. A clean reinstall and steammodded install w/ 0.9.5 worked for me

alpine cosmos
#

hi uhh can i ask for some help regarding this code?

#

the effect im trying to do here is to make it so that whenever a card is destroyed (like with glass or hanged man, this card gains chips equal to twice that cards rank)

#

but it doesnt seem to be doing anything

fickle elbow
#

elder berry

wanton rapids
wanton rapids
#

caino also hooks into that so that might be the issue

#

also cards_removed doesn't seem to be a thing

alpine cosmos
#

oh huh

cunning silo
alpine cosmos
#

i mustve mixed up context.removed and context.remove_playing_cards

dusky reef
#

A pretty technical question, how do you guys handle function wrapping upon adding to deck?

#

these will be lost when you close and reload the game right

#

is there a way to set those upon loading up a game? is there a stage like that in game?

rare shell
#

hey its like my wanted poster

dusky reef
rare shell
#

oh wait were you talking about your thing

#

i was talking about golden carrot

fickle elbow
#

hmmmm, i get the first error if i play my retrigger card in 0.9.6, and the second if i hover over my tarot card in 0.9.5

grand geode
#

finally got around to doing this

#

and i fucked up the inactive text hooray

lean dune
cunning silo
#

New joker! Catalyst Joker

fickle elbow
#

what do you think balance wise about these jokers?

#

Snow berry: 1 in 3 chance to lose $1, Retriggers all scored Color cards

#

Elder berry: 1 in 2 chance to Retrigger all scored Ink cards

grand geode
#

Snow Berry just has a random chance effect?

lean dune
fickle elbow
grand geode
#

on average you lose 0.3333 per hand

#

which makes a barely noticeable difference

cunning silo
#

got i love the mod badges XD

fickle elbow
grand geode
lean dune
grand geode
#

what the fuck

#

okay

lean dune
#

I couldn't possibly have bothered patching that function multiple times, because it's disgusting

grand geode
#

ah there it is

#

hip hip hoor- nevermind

lean dune
#

huh

grand geode
#

not too clean but works

lean dune
#

+9.9 mult is cursed

fickle elbow
lean dune
#

Also yeah it tooltips your tooltips

grand geode
#

i love tooltipping my tooltipped tooltips

#

anyways i forgot i had wheel always fails enabled lmao

cunning silo
#

@lean dune I just thought about something.
Maybe we should find a way to split mods into separate files?

sleek granite
#

is it possible for a tooltip to be conditional? like if there is a function set does it have to return/set one or can it return nothing (i want to make my planet cards show exactly what Observatory makes them do but maybe set it so its only while you possess Observatory? not sure this is good design but w/e)

#

mods already can be multiple files tho right

dusky reef
#

btw guys how to use the new debug console

lean dune
dusky reef
#

i got nothing out of it currently

quaint aspen
lean dune
dusky reef
#

i did

#

do i have to set it to specific mode?

#

when i run it and then start the game, nothing happens

#

doesn't say it's connected so probably wasn't

lean dune
#

do you have a specific log level set? it might be hiding stuff if so

dusky reef
#

how do i do that?

#

oh yeah i realized python console has been telling me this

#

no it was indeed log_level

#

but how do i set those things and where

lean dune
#

there should be selector at the bottom of the screen where it should say TRACE or DEBUG or INFO or whatever

dusky reef
#

yep it says this when i set it to debug

#

(i set it to debug before launching the game, and this shows up when i launch the game)

#

does this need 0.9.7?

lean dune
#

0.9.7 doesn't change it

#

... weird

dusky reef
#

well it worked when i updated it to 0.9.7

#

is it because of of the debug.lua? hmmmm

#

anyways it works now, thx for the help!

lean dune
#

you might have had an outdated version then, idk

dusky reef
#

i was on 0.9.5 which i think is supposed to support new debug console

lean dune
#

uh yeah 0.9.6 had some changes to it

dusky reef
#

oh i see

#

thx

sullen sandal
#

I'm gonna take a look

sullen sandal
# dusky reef thx

There's a breaking change between 0.9.5 and 0.9.7 (debug console side only). You should use the debug console that is shipped with the Steamodded version that you use

dusky reef
#

oh i usually just download the injector and inject, i grabbed the newest debug console from the current git repo directly

#

probably that's why

dusky reef
#

not that i didn't read the change log, just want some highlights

sullen sandal
#

the way the timestamp of a log is generated, this was delegated to Steamodded instead of letting the debug console generate it. This was needed in case a huge amount of logs comes at the same time

#

therefore parse an incoming log differently, which might have create the exception you had

rare shell
#

any reason this isn't returning a message?

                        return {
                            chip_bonus = {message = localize('k_upgrade_ex'), colour = G.C.CHIPS},
                            colour = G.C.CHIPS,
                            card = self
                        }```
fallow bramble
#

You checked how Hiker works?

strong falcon
dusky reef
#

oh btw, does context have something like drawn_to_hand?

#

i know blind has that state, but not sure if context can trigger at that stage

fallow bramble
#

Oh wait you mean when you receive your hand after discarding/playing?

dusky reef
#

you know cerulean bell would force you a card? i think that uses drawn_to_hand

#

but that was a blind specific thing

#

i wonder if there's anything like that for context

fallow bramble
#

Yea drawn_to_hand is a blind function

dusky reef
#

i won't be surprised if it does not

#

since we don't have end of discard either