#💻・modding-dev

1 messages · Page 533 of 1

pastel kernel
#

i would ask mr. ❓ for that.

#

or 'N.

#

if desperate, i'd call BepisFever.

red flower
#

whats the question

pastel kernel
#

is there a context for add/remove from deck for stickers

#

i mean there's apply

#

but i don't know how to use that

royal ridge
#

apply will occur whenever it shows up in the shop lol

pastel kernel
#

oh

#

well idk then

red flower
#

is this for the extra joker slot

pastel kernel
#

yes?

red flower
#

thats hard

gaunt thistle
#

yes

distant umbra
red flower
#

theres a context 0for add and some different ones for remove but isk iif theyre called on themselves

gaunt thistle
#

hey you

distant umbra
red flower
#

also they are most likely not called when removing the sticker or applying it

distant umbra
#

do you play balatro metherulo

gaunt thistle
#

I haven't in a while

red flower
distant umbra
#

what about you

#

it is a nice game

royal ridge
gaunt thistle
#

game is good

distant umbra
gaunt thistle
#

agreed

distant umbra
#

i enjoy it

gaunt thistle
#

me too

distant umbra
#

do you like cats

gaunt thistle
#

cats are chill

royal ridge
# gaunt thistle cats are chill

bro when is lovely adding godot support brooooooooooooooooo pls i need godot support😭😭😭😭🥺🥺🥺🥺🥺🥺

red flower
#

from ace attorney?

gaunt thistle
#

you dont need godot

distant umbra
#

godot is bad

gaunt thistle
#

just use love2d

#

no it's not bad

#

you just dont need it when you have love2d

distant umbra
#

no it is bad

#

game maker

royal ridge
#

real

distant umbra
#

love 2d

#

i love 2d

#

i love love 2d

#

i don't how to say it

#

did you guys know

#

if you press right click to open the context menu

#

then hold your mouse button

#

it doesn't do anything

#

until you release the button

pastel kernel
#

when applied, by default it gives +1 joker slot, when removed, it removes the slot, how do i do that with my sticker?

distant umbra
#

(left button btw)

distant umbra
#

if custom.sticker is on joker
add.joker.slot(1)
--EDIT: I'M FAMOUS

#

wait let me see

royal ridge
distant umbra
#

ok i can't find it

royal ridge
#

i don't know the exact logic for that though

distant umbra
#

wow i got so many reactions

#

thank you everyone

pastel kernel
#

i'm using tenebris from exotic.lua as reference

#
    add_to_deck = function(self, card, from_debuff)
        G.jokers.config.card_limit = lenient_bignum(
            G.jokers.config.card_limit + math.min(card.ability.immutable.max_slots, to_big(card.ability.extra.slots))
        )
    end,
    remove_from_deck = function(self, card, from_debuff)
        G.jokers.config.card_limit = lenient_bignum(
            G.jokers.config.card_limit - math.min(card.ability.immutable.max_slots, to_big(card.ability.extra.slots))
        )
    end,
clear ocean
#

too cruel

distant umbra
#

<@&1133519078540185692>

#

this person is sharing free robux scam

#

no it's not

#

i've seen these before

#

scammer

pastel kernel
#

man.

gaunt thistle
#

to be clear that is not my alt

#

do not associate me with that haha

grand violet
#

Which mod

distant umbra
grand violet
#

BANNED

distant umbra
#

methrul is my friend

grand violet
#

the guy posting the actually legit link

#

I want your name STAT

gaunt thistle
#

wait WHAT

#

OH MY GOD

keen atlas
#

oh m

gaunt thistle
#

DUDE

keen atlas
#

lol

gaunt thistle
#

robox dot COM

pastel kernel
#

HOLY

gaunt thistle
#

love you mods but also wtf

grand violet
#

I'm kidding

clear ocean
distant umbra
#

guys i'm pinging localthunk

clear ocean
#

dang it

#

thought it would be funny

distant umbra
#

piracy is not allowed

royal ridge
distant umbra
#

this is a tutorial on how to pirate robux

#

and then get scammed

clear ocean
#

you remind me of someone

grand violet
royal ridge
grand violet
#

that was just a legit joke

#

I have timed you out for a day

clear ocean
#

it's the music video for photograph 😭

gaunt thistle
#

slay, egg

pastel kernel
#

if they can help me with my current problem

placid star
#

whats your issue?

pastel kernel
#

stickers

royal ridge
#

i'm not caught up with the bit was that guy not a metherul alt

placid star
placid star
foggy ginkgo
#

@grand violet Can you unban my friend Kate

gaunt thistle
#

nothing to do with me

placid star
foggy ginkgo
#

YES

grand violet
#

Yes

#

Yes they did

foggy ginkgo
#

IT WAS AN ACTUALLY WEBSITE

placid star
#

EGG THEY WERE JOKING

royal ridge
grand violet
#

and I have no ff idea why

#

It was a legit link

foggy ginkgo
#

It's okay

grand violet
#

It literally wasn't me

foggy ginkgo
#

Oh sorry Egg

placid star
#

wait so if we send certain links we get auto banned?

grand violet
#

No

foggy ginkgo
#

Yeah they dmed about it and I was so confused

grand violet
#

different mod

foggy ginkgo
shy quest
#

ye that was me

placid star
#

ahh

clear ocean
grand violet
#

Thanks Header

#

we practice trigger discipline here

robust tundra
#

shoot first, revive the victim later

placid star
grand violet
#

lmao

#

ok but seriously I'm unbanning them

placid star
#

YAY

#

we want kate we want kate

foggy ginkgo
#

Agreed

#

Tell me when you unban her so I can tell her

clear ocean
#

FREE KATE

pastel kernel
#
SMODS.Sticker {
    key  = "teef",
    loc_txt = {
        name = "Teeth",
        text = {"+#1# Joker Slot, {X:chips,C:white}X#2# Chips{} and {X:mult,C:white}X#3#{} Mult."}
    },
    atlas = 'stickers',
    pos = { x = 1, y = 0 },
    badge_colour = HEX 'C1DAFF',
        default_compat = false,
        compat_exceptions = 
        {
            Joker = true,
        },
        rate = 0.3,
        config = { extra = { slots = 1, chip = 1.5, mult = 1.5}},
        loc_vars = function(self, info_queue, card)
            return {
            vars = {
                self.config.extra.slots,
                self.config.extra.chip,
                self.config.extra.mult
            }
        }
    end,
    calculate = function(self, card, context)
        if context.joker_main and not context.blueprint then
            return {
                xchips = self.config.extra.chip,
                xmult = self.config.extra.mult
            }
        end
        end
}
-- STOLEN FROM TENEBRIS BRAHHHHH
--     add_to_deck = function(self, card, from_debuff)
--        G.jokers.config.card_limit = lenient_bignum(
--            G.jokers.config.card_limit + math.min(card.ability.immutable.max_slots, to_big(card.ability.extra.slots))
--        )
--    end,
--    remove_from_deck = function(self, card, from_debuff)
--        G.jokers.config.card_limit = lenient_bignum(
--            G.jokers.config.card_limit - math.min(card.ability.immutable.max_slots, to_big(card.ability.extra.slots))
--        )
--    end,
#

this is the thing

#

i need help with

#

specifically the joker slots part

placid star
#

what isnt working?

pastel kernel
#

i haven't added in the code yet.

placid star
#

are you just trying to add another joker slot?

pastel kernel
#

when the sticker is applied

#

i haven't drawn the sprites yet

placid star
#

this is for applying stickers

#

so use apply = function, then in that function do G.jokers:change_size(1)

pastel kernel
#

wait

#

is G.jokers.config.card_limit a valid object?

placid star
#

since instead of doing G.jokers.config.card_limit = G.jokers.config.card_limit + 1 you can do G.jokers:change_size(1)

#

it also auto checks for certain unlocks like the handsize voucher criteria

pastel kernel
#

apply = function (self, card, val)
G.jokers:change_size(1)
end,

placid star
#

in honesty i ament too sure on how youd do it in such a way that it removes on strip but i think youd check for the card.ability table to see if it contains the key of your stickers

manic rune
#

i cant tell whats with :change_size() but its genuinely annoying to work with when multiple things are running that at the same time

#

the math becomes wrong

pastel kernel
#

so, these work?


-- stickers.lua
-- Footprint Sticker - retriggers jokers
SMODS.Atlas {
    key = "stickers",
    path = "s_stickers.png",
    px = 71,
    py = 95
}
SMODS.Sticker {
        key = "fprint",
        loc_txt = {
            name = "Footprint",
            text = {"Retriggers the joker whenever it is possible."}

        },
        atlas = 'stickers',
        pos = { x = 0, y = 0 },
        badge_colour = HEX 'ff005d',
        default_compat = false,
        compat_exceptions = 
        {
            Joker = true,
        },
        rate = 0.3,
    calculate = function(self, card, context)
        if context.retrigger.joker_check then
            return { repetitions = 1 }
        end
    end
}
SMODS.Sticker {
    key  = "teef",
    loc_txt = {
        name = "Teeth",
        text = {"+#1# Joker Slot, {X:chips,C:white}X#2# Chips{} and {X:mult,C:white}X#3#{} Mult."}
    },
    atlas = 'stickers',
    pos = { x = 1, y = 0 },
    badge_colour = HEX 'C1DAFF',
        default_compat = false,
        compat_exceptions = 
        {
            Joker = true,
        },
        rate = 0.3,
        config = { extra = { slots = 1, chip = 1.5, mult = 1.5}},
        loc_vars = function(self, info_queue, card)
            return {
            vars = {
                self.config.extra.slots,
                self.config.extra.chip,
                self.config.extra.mult
            }
        }
    end,
    apply = function (self, card, val)
    G.jokers:change_size(1)        
    end,
    calculate = function(self, card, context)
        if context.joker_main and not context.blueprint then
            return {
                xchips = self.config.extra.chip,
                xmult = self.config.extra.mult
            }
        end
        end
}
manic rune
#

thats why i resorted to just, changing .card_limit directly

placid star
manic rune
#

nope

#

i tried both with and without events

#

it was back when i was still coding yggdrasil

placid star
#

did you finish yggrdrasil or just got bored of it?

manic rune
#

im burnt out from coding ui 24/7

#

so im working on something new now

placid star
#

lmao, well somthings never change

manic rune
#

stacked doesnt really count, since it feels much more fresh than yggdrasil

#

3:

placid star
#

well you did rework a lot of the info queue system all for me :3

manic rune
#

:3

placid star
manic rune
#

hey thats me!

#

wave wave

#

anyways im making a new smods pr now (which shouldnt make eremel want to kill me 3:)

placid star
#

WHY DO YOU KEEP MAKING PR's

manic rune
#

it should allow you to modify the interest shit much more easily

placid star
#

that is a sytem that needs changed tho i agree

manic rune
#

:3

placid star
manic rune
#

nah thats N'

wispy falcon
#

How do I make it trigger only once per Boosterpack? I was thinking about using a bool for that but then I wouldn't know when to set it back to false

            card.ability.extra.chips = card.ability.extra.chips + card.ability.extra.chipsMod
            return {
                extra = {focus = context.card, message = localize('k_upgrade_ex')}
            }
        end```
frigid cargo
#

Bepis you should def replicate hsr battle on balatro. That would be fun trust

manic rune
#

.

#

i think i should do that :3

#

bsr overhaul!

candid elbow
#

Bread taste better than ui

manic rune
#

true

placid star
#

KATEEEE

#

u backk :3

manic rune
#

welcome back kate

keen atlas
manic rune
#

relatable

frigid cargo
placid star
candid elbow
#

Hey psps

#

Can i call you psps

#

Please

#

I’ll do anything

keen atlas
#

man i just wanna see the day where i dont have to touch code for atleast a day but my mind doesn't let it happen

placid star
candid elbow
#

What you say when you call a cat

#

Pspspspspspspsps

placid star
#

OHHHH

#

well im in a benevolent mood so yes!!

foggy ginkgo
#

Cat calling

candid elbow
#

Meow

wispy falcon
placid star
manic rune
placid star
#

bepis can we call you woof

wispy falcon
#

The message doesn't get shown under the Joker though... It's in the middle of the screen

placid star
#

ahh

#

i think i understand

#
  message = "your message here", message_card = card
}```
wispy falcon
#

Nevermind, I fixed it

wispy falcon
placid star
candid elbow
foggy ginkgo
#

Only I can call them psps

jolly shadow
wispy falcon
candid elbow
jolly shadow
#

my bad jus thought it was silly

foggy ginkgo
frigid cargo
placid star
#

pweetyyy pwease :3

jolly shadow
foggy ginkgo
#

L

placid star
#

what is with the passive aggression 😭

frigid cargo
jolly shadow
tropic carbon
#

anyone got any idea what's happening here? game crashes when opening a buffoon pack but the second time it happened was somewhat delayed so i have my doubts on what it could be

ocean sinew
#

I don't even know what pwease means

placid star
placid star
rotund sable
#

I'm assuming

tropic carbon
placid star
rotund sable
tropic carbon
#

so it could be AIJ, ArtBox or AMM

tropic carbon
slim ferry
rotund sable
tropic carbon
#

I FOUND THE ISSUE. Game crashes when I mouse over a joker that looks like a basket of fruit

rotund sable
#

We found gappie !

rocky plaza
#

question: if my mod doesnt have quantum enhancements enabled and i play with another mod that has quantum enhancements enabled, will the effects of quantum enhancements still apply to my mod?
I do plenty of enhancement checks outside of a context check so just wondering

slim ferry
#

yeah

wispy falcon
#

I feel like I'm getting better and better to understanding and programming stuff in lua/Balatro

wintry solar
tropic carbon
rocky plaza
#

i mean if theres a better way then please tell me

tropic carbon
#

listed as an Ortalab artist

candid elbow
frigid birch
#
            G.E_MANAGER:add_event(Event({
                func = function()
                    G.hand_text_area.blind_chips:juice_up()
                    G.hand_text_area.game_chips:juice_up()
                    play_sound('tarot1')
                    card:start_dissolve()
                    return true
                end
            }))
            return {
                message = "MEOW!",
                colour = G.ARGS.LOC_COLOURS.CC_evil,
                sound = 'CC_meow2',
            }
        end
    end,
    locked_loc_vars = function(self, info_queue, card)
        return { vars = { 5, G.PROFILES[G.SETTINGS.profile].career_stats.c_losses } }
    end,
    check_for_unlock = function(self, args)
        if args.type == 'career_stat' and args.statname == 'c_losses' then
            return G.PROFILES[G.SETTINGS.profile].career_stats[args.statname] >= 5
        end
        return false
    end```
what's wrong? trying to make it so it keeps going if you lose a blind, but it just doesn't, it just shows game over
tropic carbon
#

i'm gonna do some digging and see if this happens with other Ortalab cards

tropic carbon
frigid birch
#

I literally just copied that code and like edited a few things

tropic carbon
#

i think i've found the problem and it is a Single Comma

placid star
frigid birch
#

sometimes commas crash it

tropic carbon
#

i'm not here to debug someone else's mod in great detail, nor do i have the knowledge to, so i'll concede and just disable artist credits

fossil nebula
#

How would i make a boss blind with a time limit?

manic rune
#

🤔 is there a reason why firstToUpper works but firstToLower doesnt (it doesnt crash, it just, doesnt change the first letter to lowercase)

wispy falcon
#

What does ease_background_colour do? It does nothing when I set it to a color (Or I'm not noticing it)

candid elbow
#

At least in python

manic rune
#

no clue, the first function works though

#

i thought it would be the same for the lower one, but guess not?

candid elbow
#

Yeah idk lua dude

tropic carbon
#

for Cardsauce players, how do i go about removing this from my collection

candid elbow
#

Disable the mod

tropic carbon
#

...alright bro T_T

#

is there any way to remove it without disabling the mod?

#

hell, i could probably fix this one myself, come to think of it. the other "non cardsauce modded x" things don't crash on hover and i have a hunch this is another loc_txt issue

foggy ginkgo
#

What's wrong with it

tropic carbon
#

this'll be it - and this time it's the omission of a comma that causes the issue

manic rune
#

a

#

icic, thanks!

#

im guessing this is lua regex, which i dont understand :p

keen atlas
#

its actually %u

manic rune
#

oh

#

yeah that, makes sense

tropic carbon
#

i see "loc_vars" so my suspicions are all but confirmed

wintry solar
#

Do you make your own mods

tropic carbon
#

no, not yet

wintry solar
#

Use the smods release then

tropic carbon
#

the smods release crashes on startup

wintry solar
#

Show the crash

#

If you’re not a dev you 100% should not be using the dev branch

wintry swallow
#

how do i get the mods TT

wintry solar
#

You should be using the release

slim ferry
#

does steamodded make any changes to vanilla cards? currently one of my functions is doing absolutely nothing and my only idea for why would be that smods could be changing vanilla consumables to use card.ability.extra instead of card.ability.consumeable

tropic carbon
#

i will be making my own mods eventually so this is the point where i find the fix too complicated to bother with

wintry solar
#

Just use the release

#

That’s why it’s a release

#

For people who aren’t experienced in balatro modding to use

tropic carbon
#

i don't see why i should when it functions the exact same

#

well perhaps not exact, but the two things that crash can be walked around or disabled via the mods that add them

wintry solar
#

Well considering I have never seen those crashes before it suggests something isn’t right

tropic carbon
#

i don't think i am going to see Non-Cardsauce Modded Boosters in gameplay for a long time, if at all (unlocking challenges in the first place takes 5 wins with different decks and all my progress with balatro has been on mobile before i started dabbling with mods)

#

given there's an "unlock all" function there's also likely a "mark all unlocked jokers as read" function somewhere which is the only reason why i'm complaining about this in the first place

fossil nebula
#

how can i make music play only in one specific boss blind

buoyant thorn
#

sooo my last two questions got ignored but
im gonna try again

apply = function(self, back) G.E_MANAGER:add_event(Event({ func = function() for a, playing_card in pairs(G.playing_cards) do playing_card.ability.enhancement = "glass" end end return true end })) end

#

how do i enhance cards in apply

#

this is for a modded deck

tropic carbon
#

anyone recognise this card? another hover crash

#

asking in case it's crossmod

#

oh it's another ortalab L

#

i really hope i don't have to disable ortalab

#

because besides the mishap with Cardsauce this is the only one that has been crashing at all

modern kindle
#

Good schmorning chat

modern kindle
tropic carbon
buoyant thorn
#

let me try this

faint yacht
#
G.E_MANAGER:add_event(Event({
    func = function()
        if G.playing_cards then
            for i = 1, #G.playing_cards do
                G.playing_cards[i]:set_ability('m_mod_key')
return true
            end
        end
    end,
}))
modern kindle
#

Hi ali

old epoch
#

How would i make a joker always eternal, and how can i also remove eternal?

candid elbow
old epoch
frigid cargo
#

Prob function

#

Thats what i was gonna do anyways

old epoch
#

then i'll just send you my current code

frigid cargo
#

Ok

modern kindle
rotund sable
buoyant thorn
frigid cargo
rotund sable
#

Mobile sucks

modern kindle
#

300 dollars

#

i expect it in 12 minutes

frigid cargo
#

Hes gonna spend that 300 dollars on N’

old epoch
modern kindle
#

its with set_ability iirc

tropic carbon
#

random question. does the TUTORIAL seed fuck up anything with modding

rotund sable
#

Could be in add_to_deck

tropic carbon
#

i'll try another run and if ortalab continues to be dickish i'll see if it's actually somehow Cardsauce's problem

frigid cargo
#

@old epoch you coulda prob checked yahimod horse

wispy falcon
#

What does ease_background_colour do? It does nothing when I set it to a color (Or I'm not noticing it)

fossil nebula
#

Im trying to make a boss blind that destories random card from hand after playing, but it's not working

modern kindle
modern kindle
# fossil nebula Im trying to make a boss blind that destories random card from hand after playin...

https://github.com/nh6574/VanillaRemade/wiki#how-do-i-get-the-type-of-the-current-blind

--- Method 1
--- For playing cards while scoring/discarding
if context.destroy_card then
    if context.cardarea == G.hand and context.destroy_card:is_suit("Diamonds") then -- If it's a Diamond held in hand
        return { remove = true }
    end
end
--- Method 2
--- For anything else
SMODS.destroy_cards(card) -- Singular card

SMODS.destroy_cards(G.jokers.cards) -- Can take multiple cards
frigid cargo
#

Thats what vremade hangman has iirc

fossil nebula
modern kindle
fossil nebula
#

yeah

modern kindle
tropic carbon
fossil nebula
modern kindle
#

if it works ill send it

final jewel
#

help guys

bitter sparrow
#

ok uh

#

finally got the time to look into ts and

#

i dont get it

#

how does ts work

final jewel
bitter sparrow
#

quick question

#

what do you guys use to mod

#

coding

#

i mean

#

cuz rn i'm just editing ts in a damn notepad

frigid cargo
#

Vs code good trust

modern kindle
#

use vscode and the lua extension

modern kindle
# fossil nebula yeah
    press_play = function(self)
        if G.hand and G.hand.cards and #G.hand.cards > 0 then
            -- Get a random card from hand using pseudorandom_element
            local target_card, index = pseudorandom_element(G.hand.cards, pseudoseed('hand_destroyer'))
            
            if target_card then
                -- Add visual effect
                G.E_MANAGER:add_event(Event({
                    trigger = 'after',
                    delay = 0.1,
                    func = function()
                        target_card:juice_up(0.3, 0.4)
                        
                        -- Show destruction message
                        card_eval_status_text(target_card, 'extra', nil, nil, nil, {
                            message = "Destroyed!",
                            colour = G.C.RED
                        })
                        return true
                    end
                }))
                
                -- Destroy the card using SMODS function
                G.E_MANAGER:add_event(Event({
                    trigger = 'after',
                    delay = 0.4,
                    func = function()
                        play_sound('tarot1')
                        SMODS.destroy_cards({target_card})
                        return true
                    end
                }))
                
            end
        end
        
    end
}
#

hopefully the comments are simple enough for you i didnt put much effort into it

tropic carbon
#

if i have to choose between going through the rigmarole of manually reinstalling release smods and disabling ortalab, i'd rather disable ortalab

wispy falcon
fossil nebula
#

it can also destroy the card that you just played

modern kindle
#

prob just need a cardarea check, one sec

modern kindle
modern kindle
# fossil nebula It works but there is a little problem
press_play = function(self)
        if G.hand and G.hand.cards and #G.hand.cards > 0 then
            local remaining_cards = {}
            for _, card in ipairs(G.hand.cards) do
                if not card.area or card.area == G.hand then
                    table.insert(remaining_cards, card)
                end
            end
            
            if #remaining_cards > 0 then
                local target_card = pseudorandom_element(remaining_cards, pseudoseed('hand_destroyer'))
                
                if target_card then
                    G.E_MANAGER:add_event(Event({
                        trigger = 'after',
                        delay = 0.1,
                        func = function()
                            target_card:juice_up(0.3, 0.4)
                            
                            card_eval_status_text(target_card, 'extra', nil, nil, nil, {
                                message = "Destroyed!",
                                colour = G.C.RED
                            })
                            return true
                        end
                    }))
                    

                    G.E_MANAGER:add_event(Event({
                        trigger = 'after',
                        delay = 0.4,
                        func = function()
                            play_sound('tarot1')
                            SMODS.destroy_cards({target_card})
                            return true
                        end
                    }))
                end
            end
        end
    end
bitter sparrow
#

ok

#

chat

#

how do i install

#

lua

#

to visual studio :3

modern kindle
#

in vsc click this then search lua

rotund sable
#

Visual studio code

#

Fuck you forest

bitter sparrow
#

alr

#

wait

#

vsc as in

#

vs code or vs community?

modern kindle
wispy falcon
fossil nebula
modern kindle
fossil nebula
#

maybe you were just lucky

modern kindle
#

you started a new run?

fossil nebula
#

yup

clear ocean
#

worked on an icon for the acorns and shields but couldn't get down the bell

modern kindle
#

ill try again

clear ocean
#

not sure how to get this down under a 18 by 18 pixel

#

maybe this... lua looking ahh one?

modern kindle
#

hm yea it did still destroy in my hand hmm

wispy falcon
#

What does this do? I'm trying to understand it but I don't know what G:ARGS.LOC_COLOURS is...

function loc_colour(_c, _default)
    if not G.ARGS.LOC_COLOURS then
        lc()
    end
    G.ARGS.LOC_COLOURS.cry_code = G.C.SET.Code
    G.ARGS.LOC_COLOURS.heart = G.C.SUITS.Hearts
    G.ARGS.LOC_COLOURS.diamond = G.C.SUITS.Diamonds
    G.ARGS.LOC_COLOURS.spade = G.C.SUITS.Spades
    G.ARGS.LOC_COLOURS.club = G.C.SUITS.Clubs
    for k, v in pairs(G.C) do
        if string.len(k) > 4 and string.sub(k, 1, 4) == "CRY_" then
            G.ARGS.LOC_COLOURS[string.lower(k)] = v
        end
    end
    return lc(_c, _default)
end```
floral narwhal
#

how can i add a new set?

pure salmon
#

how do i make a deck that starts on a different ante? an ease_ante() call happens too late to change the blind scaling

modern kindle
tired fossil
#

I have a question, what are the modifiers/custom attributes for a challenge deck using SMODS.Challenge?

pure salmon
#

maybe apply() is too late somehow?

wispy falcon
#

I was trying around with the constrast of the background, why does this kinda look not bad? (contrast = 30)

wispy falcon
tired fossil
#

yep, I found a similar one, this one

#

though still good to check another one

#

okay this is a lot better

manic rune
#

how do i refer to this in G.C?

fossil nebula
#

is there any easy way to add a button to a joker or is this a black magic

rapid stag
#

do gold seals have a stored dollar value or is that held elsewhere?

manic rune
fossil nebula
#

well i checked and i don't undestand anything there

clear ocean
#

decided to go ahead and make my own suits but kept the first one i made

rocky plaza
#

is there a way to program an enhancement such that the enhanced card is treated as a face card while still being compatible with quantum enhancements? I know i could hook is_face but unless im missing something id have to check if the card is of that enhancement outside a context check

split saddle
#

how can I refer to ecto_minus in code?

found it: G.GAME.ecto_minus

split saddle
vast bough
#

whats the held in hand context for enhancements/seals/editions, is it not just context.cardarea == G.hand and context.other_card == card or am i tripping

frigid cargo
#

Why does my game crash whenever i select a flipped card, like idek whats the reason it just crashes

vast bough
#

too advanced for me to help then lol

frigid cargo
#

<@&1133519078540185692>

vast bough
#

i am NOT joining that server

clear ocean
frigid cargo
vast bough
frigid cargo
frigid cargo
vast bough
#

yeah talisman is nothing but a pain sometiemes lol

frigid cargo
#

My mod uses to_big

vast bough
#

oh this is someone elses?

#

i cant even blame them for not making it talisman compat

split saddle
#

how would you patch the seals spectral cards localization to include loc_vars for how many cards can be selected? right now, it's hardcoded to 1 and it doesn't have any loc_vars

frigid cargo
manic rune
#

why is this crashing.......

frigid cargo
#

When does it crash?

manic rune
#

neverfuckingmind i got the order of SMODS.debuff_card wrong lmao

#

sorry

frigid cargo
#

Lmao

#

I prob wouldnt have figured it out anyways

modern kindle
#

oh yea i wanted to ask again does anyone know if i can specify the collection pos of cards

#

cause id like to put specific cards in specific places in the collection

rocky plaza
modern kindle
#

yea but i want to be able to move em elsewhere post load

rocky plaza
#

oh

turbid maple
#

that's not really a thing unless you wish to extensively patch the collections menu i assume

modern kindle
#

bit cringe innit

turbid maple
#

do you want like, specific pages for your jokers

modern kindle
#

how am i suppose to make thematic cards now slot in with their counterparts of vanilla

#

i have a card that fits witht he trio and tribe and etc

#

so i want to slot it with them

wintry solar
modern kindle
#

as well as others elsewhere

vast bough
modern kindle
#

hi eremel

modern kindle
#

did you look at the face seals that they suggested

rocky plaza
#

yeah

#

its a seal not an enhancement

modern kindle
#

so...change it to work for the enhancement id wager

rocky plaza
#

hmm but id need to do an enhancement check outside of a context check which i wager wouldnt be very good with quantum enhancements
i later do want to work with that feature

wintry solar
#

Hello dilly how are you today

modern kindle
#

im doing well, just bought more games for the wii and took my gamecube in for repairs

modern kindle
frigid birch
modern kindle
manic rune
modern kindle
#

hi bepis how are you

frigid birch
#

since the mr bones one is saved = ph_mr_bones

manic rune
#

im doin good

#

i added cursed effects which look cool i think

manic rune
#

i dont think so

#

idk

frigid birch
#

now how do I make it so it says "Saved by Winston", because rn it says error

red flower
#

whatever key you returned

frigid birch
#

alright

red flower
manic rune
red flower
#

or take_ownership

manic rune
#

ye

split saddle
#

ok which one is easier

red flower
#

i find them both equally as annoying

#

i hate take_ownership

manic rune
#

same

split saddle
red flower
#

loc_vars is a function

#

and loc_txt won't work, you need to do the localization file thing

pure salmon
split saddle
red flower
#

yes

manic rune
frigid cargo
#

How do i info queue eternal?

red flower
frigid birch
#
        if context.type == 'eval' then
            if G.GAME.last_blind and G.GAME.last_blind.boss then
                tag:yep('+', G.C.GOLD, function()
                    return true
                end)
                tag.triggered = true
                return {
                    dollars = tag.config.dollars,
                    condition = localize('ph_defeat_the_boss'),
                    pos = tag.pos,
                    tag = tag
                }
            end
        end
    end```
Is it possible to do this but replace tag with card?
red flower
#

no, the syntax for tags is very different

frigid birch
#

oh

red flower
#

that's just calc_dollar_bonus tho

split saddle
#

unless i'm stupid this should do it, right? spoiler alert: it's not

#

right screenshot from lovely dump

#

also i tried patching stuff that crashes the game and it didn't, which means it's probably not even loading it in

rotund sable
#

I think patches.pattern needs to include the whole line

split saddle
#

that's for when you're replacing, no?

#

i'll try either way

red flower
#

no thats always

split saddle
#

well, it didn't work again

brave blade
#

What language are shaders written in? I'm considering learning how to do shaders

toxic hound
split saddle
#

wait i hit right in the money

toxic hound
#

@split saddle maybe check that line wrapping, looks kinda sus

split saddle
#

it's all the same line

split saddle
#

position is wrong

brave blade
sinful crown
#

anyone know why I have this error? am I missing something?

red flower
#

a comma before loc_vars

split saddle
sinful crown
toxic hound
# brave blade Are there any good shader tutorials you can recommend?

this is decent https://blogs.love2d.org/content/beginners-guide-shaders. for the specifics of balatro modding shaders, it might be best to look at examples like https://github.com/stupxd/Blueprint or https://github.com/jonathandw743/Illusion for how to add/replace shaders. there might be a smods way to do it, depends what kind of changes you want to make

GitHub

Balatro mod that makes Blueprint joker dynamically change texture to the card it's copying - stupxd/Blueprint

GitHub

Pedantic graphical enhancements for Balatro. Contribute to jonathandw743/Illusion development by creating an account on GitHub.

red flower
#

in apply of course

pure salmon
#

thank you n

#

i saw blind_ante while looking through dumps but didn't know what it did

red flower
#

me neither but the blind calculates from that

frigid birch
#

rn i got it like calc_dollar_bonus = function(self, card, context) if context.end_of_round and context.game_over then return card.ability.extra.dollars end end

red flower
#

calc dollar bonus doesnt have a context

clear ocean
#

need to come up with colours now. thinking on having leaves or flowers green and shield purple

red flower
frigid birch
#

damn so no way to make money?

red flower
#

i wouldnt say no way but i dont know what it is :3

clear ocean
#

for the face cards i got an idea. use the tarot cards as a basis and give it COLOUR™

frigid birch
frigid cargo
rocky plaza
#

ok im trying to have all bonus cards treated as a modded enhancement to figure out how quantum enhancements work
I understand that this is a problem but how would i go about this without a enhancement check

#

also when i did spawn in the joker the game just quit itself

#

not even a crash

red flower
#

context.other_card.config.center.key == "m_bonus"

red flower
rocky plaza
#

huh so SMODS.has_enhancement causes issues with this check specifically

red flower
#

that calls check_enhancement

median veldt
#

guys i need to justify making a consumable that adds eternal to a selected joker
would there be any strategy with this

clear ocean
#

what do you think for low contrast?

frigid cargo
clear ocean
#

i mean it could be benefitial for hex and ankh

#

and if you have a joker like madness

median veldt
frigid birch
willow scroll
#

can someone explain to me how context.blueprint (and ig by extension blueprint) works? i thought i understood but my code aint working

ocean sinew
#

cuz ANKH exists

median veldt
#

solid point

ocean sinew
#

I love ANKH

#

but it destroying my others jokers is not very good sometimes

willow scroll
#
        if context.joker_main and not context.blueprint then
            card.ability.extra.playedHand = SMODS.shallow_copy(context.full_hand)
        end
        if context.joker_main then
            local index = math.random(1, #card.ability.extra.playedHand)
            if index > 0 and #card.ability.extra.playedHand > 0 then
                local parkedCard = card.ability.extra.playedHand[index]
                parkedCard.config.parked = true
                table.remove(card.ability.extra.playedHand, index)
                return {
                    message = 'Parked!',
                    message_card = parkedCard,
                }
            end
        end

i thought this would allow blueprint compat with my jonkler but it dont work

ocean sinew
#

for blueprint compat

#

💀

red flower
#

yeah, not context.blueprint means it wont be compatible

#

unless you mean the joker_main

ocean sinew
#

yeah

willow scroll
clear ocean
red flower
willow scroll
#

or does blueprint not have access to a differnt jokers extra table?

clear ocean
#

what do you think of the colours low and high?

ocean sinew
#

I think

red flower
ocean sinew
#
if context.joker_main then
            local index = math.random(1, #card.ability.extra.playedHand)
            if index > 0 and #card.ability.extra.playedHand > 0 then
                local parkedCard = card.ability.extra.playedHand[index]
                parkedCard.config.parked = true
                table.remove(card.ability.extra.playedHand, index)
                return {
                    message = 'Parked!',
                    message_card = parkedCard,
                }
            end
        end

seems alright

#

oh yeah

#

use pseudorandom()

willow scroll
#

i want it to have blueprint compat so 2 or more cards can stay in hand and not get discarded

#

the config.parked is used by the lovely patch to handle return and is also reset there

willow scroll
frigid birch
#

that works

red flower
willow scroll
red flower
#

oh i just saw, i deleted that part when copying it

#

im tired today..

rotund sable
#

Go to sleep 💤

#

Wiat you can't

willow scroll
#

also, this setup works on 1 card, so its probably me misunderstanding how blueprint works

frigid birch
#

answered like it was a jeopardy question lol

red flower
#

its 5pm

rotund sable
#

I sometimes forget time zones exist

red flower
willow scroll
#

because of the table.remove(card.ability.extra.playedHand, index)

#

or am i just able to do this on context.full_hand with no consequences

red flower
#

idk how the rest of the effect works

rocky plaza
#

aaa
would i have to deal with the draw function if i want an enhancement to not draw the base sprite but still give base chips

willow scroll
red flower
#

you could just make the list without the card based on .config.parked

broken rivet
#

when a baseball card is triggered would either of these have any reference to the baseball card

willow scroll
red flower
# willow scroll fair enough, let me try that then

like this
idk if it will solve the issue

if context.joker_main then
    local hand = {}
    for _, pcard in ipairs(context.full_hand) do
        if not pcard.config.parked then
            table.insert(hand, pcard)
        end
    end
    if #hand > 0 then
        local parkedCard = pseudorandom_element(hand, "seed")
        parkedCard.config.parked = true
        return {
            message = 'Parked!',
            message_card = parkedCard,
        }
    end
end
willow scroll
#

noted, let me try

distant junco
#

is it possible to play a sound when a joker is added to the deck? i tried returning the sound but it didnt play

red flower
#

yes, with play_sound(key)

distant junco
#

ah! thanks

willow scroll
#

my coding so ass i need to get better

candid elbow
#

They went back to deck

#

That’s crazy

#

What kind of black magic is that

willow scroll
#

its possible because of this patch

modern kindle
#

<@&1133519078540185692> kill him

#

murder him dead

#

obliterate his entire continent

frigid cargo
frigid birch
#

oh nevermind i saw

#

thats cool

pure salmon
#

trying to make a deck that starts all hands off at lv. 2, how do i set the level of a poker hand?

clear ocean
#

i just look at the source and look at that its green and flowery too

tropic carbon
#

Do you have to use debug commands to discover every card in order for Ortalab to not crash upon hovering certain (undiscovered) cards?

#

i'm being told to just debug unlock all to fix the problems i'm having but assuming that's irreversible i'd prefer to find things naturally

frigid birch
#

this probably is impossible, but is there a way for the joker to check if Hearts are among us themed? calculate = function(self, card, context) if context.joker_main and context.self.COLLABS then if Hearts == {'collab_AU'} then return { x_mult = card.ability.extra.x_mult, message = 'amogus', colour = G.ARGS.LOC_COLOURS.CC_among, sound = 'CC_amogus' } end end end

#

because self is a nil value

clear ocean
#

what do you think

red flower
#

i can code it rq

frigid birch
#

if your hearts are themed to the among us collab cards, it gives x mult

clear ocean
#

i gotta be bugsnax!

placid star
#

im assuming youd check for the atlas sprite position of the card

red flower
frigid birch
#

if a heart card is scored ye

frigid birch
clear ocean
red flower
# frigid birch if a heart card is scored ye

this then

if context.joker_main and G.SETTINGS.CUSTOM_DECK.Collabs["Hearts"] == "collab_AU" then
    for _, pcard in ipairs(context.scoring_hand) do
        if pcard.base.suit == "Hearts" then -- i dont check is_suit because a wild suit might not have the skin
            return {
                x_mult = card.ability.extra.x_mult,
                message = 'amogus',
                colour = G.ARGS.LOC_COLOURS.CC_among,
                sound = 'CC_amogus'
            }
        end
    end
end
clear ocean
#

i think this looks good what yall think

frigid birch
#

that's hilarious

#

should i make it so you have to play a face card or is that too much?

frigid birch
red flower
frigid birch
#

k on it

clear ocean
sly helm
clear ocean
#

i made four suits and making their face cards coloured tarot cards

frigid birch
jolly shadow
#

that's not what that means

#

pcard is the current iteration over the whole hand
just 1 card

#

if you want to only count the first amogus face card just break out of the loop when u find one

wintry solar
frigid birch
distant junco
#

is it possible to check the required blind score

distant junco
#

thanks

frigid cargo
#

What does patching do and where would i start learning about patching?

main pilot
#

can someone make a balatro calculator where you can put custom jokers

red flower
#

no

frigid cargo
gaunt thistle
red flower
#

thank you

split saddle
#

this here deducts chips but doesn't return a message. why?

main pilot
split saddle
#

another similar piece of code is before (with another context, but the same result) and that one works so i'm really puzzled

distant junco
main pilot
red flower
split saddle
#

no idea really

#

the one on top removes chips and gives message
they're the same but one of them doesn't work

distant junco
split saddle
#

inb4 i discovered an obscure bug with context.skip_blind (probably not the case)

red flower
#

try adding message_card = card

frigid cargo
# red flower thank you

N, what does it mean “Let's say you want to make an effect that prevents the deck from being shuffle before a Blind while a specific Joker is held.”?
-# im not that good at balatro i only know basic stuff

split saddle
slim ferry
red flower
#

yeah i couldnt find a better example of code that would be easy to understand for a patch haha

frigid cargo
#

So you just gon get the same cards as the previous blind if you have a joker?

slim ferry
#

yeah basically

distant junco
#

yeah

frigid cargo
#

Ok thanks

red flower
#

no because they also get shuffled at the end

clear ocean
split saddle
frigid cargo
red flower
#

no

#

you would need to prevent both shuffles

#

i have a specific use for this but i dont think its relevant to the guide to say it

frigid cargo
#

Ah

frigid cargo
red flower
#

i dont know the order the cards discarded get returned to the deck but probably

wispy falcon
#

What do you write into the localization file for Blinds?

frosty rampart
clear ocean
wispy falcon
sturdy compass
#

Is this the correct syntax for overriding a mod prefix?

wispy falcon
#

How do I make it, so the button isn't this big for this consumable?

delicate sinew
knotty orchid
#

how do I get actual blind key?

#

G.GAME.blind.config.center_key works?

unkempt rover
#

Can someone help me? I want to create a joker that the most used tarot always appears in the boosters.

sturdy compass
knotty orchid
wild escarp
#

bump

sturdy compass
#

Is it possible to change a mod prefix to something different with prefix config? I'm trying to make an API mod for Maximus' Poker Hands and I want the objects to have the same prefix as Maximus ('mxms'), but keep the mod's actual prefix the same (if even possible)

slim ferry
#

do hands even use a mod prefix?

red flower
#

yes

sturdy compass
#

they def do

#

and even if they didn't, I'd have consumables to worry about too

#

In a similar vein, I'm a little confused on how the Provides metadata field works. Do I use the provided mod's ID or name, and does it disable the provided mod or allow it to load?

solid mesa
#

how can i check if a joker have the eternal sticker?

short girder
#

^^

spring gyro
short girder
#

you don't have to include the soul_pos if it ain't real i feel

spring gyro
#

This dont help...

cursive gazelle
spring gyro
#

Beacause i copy from unholy

#

This is my first time writing joker

cursive gazelle
#

no it should beinside

#

look

#

it's literally outside your joker code

#

definition . i mean

#

you have a syntax problem

spring gyro
#

I didn't understand...

final jewel
#

Guys I might be annoying but having a Joker in this deck make the game crash idk why but the log is talking about the config having a nil value

cursive gazelle
#

your code is outside

#

the joker

cursive gazelle
#

i think it's a context issue

final jewel
clear ocean
final jewel
spring gyro
final jewel
cursive gazelle
#

for decks

spring gyro
cursive gazelle
final jewel
cursive gazelle
cursive gazelle
final jewel
#

like I just make an empty config

cursive gazelle
#

extras

#

let me check the wiki*

#

i hate those docs

#

the wiki doesn't mention anything

final jewel
cursive gazelle
#

<@&1133519078540185692>

#

too late

final jewel
#

I was about to report lol

cursive gazelle
final jewel
cursive gazelle
#

i haven't coded decks so i didn't look into them much try looking at other people's code

final jewel
#

Is it possible that its a smods feature that has change

slim ferry
#

and also use vanillaremade as a reference instead of other mods

modern kindle
#

Vanilla remade make me a car

solemn shuttle
#

is there a way to disable standard packs from showing up in the shop pool
-# i have my reasons lol
i THINK i know how but my memory is failing me

versed swan
solemn shuttle
heavy frigate
#

What is the best approach to make sure only 1 instance of a joker can exist at all times?
As in if i get that joker i can never get another copy of that joker (either buy another, copy, etc..) until i sell it and then i can normally get it again.

wind steppe
#

depending on how they're implemented in vanilla you could hook copy_card

heavy frigate
#

I just have a joker that manipulates the score in weird ways, and and while a copy likely wouldn't break it would first be useless secondly could have weird bugs i don't know about.

wind steppe
#

What does it actually do?

#

Four Fingers is useless with duplicates that doesn't mean vanilla doesn't prevent you from duping it

ocean sinew
#

and hook create_card

heavy frigate
# wind steppe What does it actually do?

Any score above blind is saved in the joker (if you score 350 on a 300 blind the joker sets score to 300 and takes the excess 50 for itself), the saved score is later used if in a game over state to try and save the run (spending all the stored points in the process)

wind steppe
unkempt rover
#

Can someone help me? I wanted to know if smods has something that sees which tarot is most used, for example, to make it always appear in the shop or in boosters.

wind steppe
#

you'd have to track that yourself

#

most used this run right?

heavy frigate
clear ocean
#

first suit completed!

wind steppe
clear ocean
wind steppe
#

this should be in modding-chat

modern kindle
#

maybe you should be in modding chat, how bout that

unkempt rover
heavy frigate
modern kindle
#

you were told youd have to probably track it yourself, alternatively you can probably track tarots fom here

then idk what you have to do to make sure it shows up

clear ocean
modern kindle
#

me when nope

wind steppe
#

does anyone know how the UIBox_button function works

spring gyro
#

How make joker desc?

wind steppe
rapid stag
#

ok, question.
if you had to format xdollars, how would you write it? X$ or $X?

subtle merlin
#

"x$"

#

"$x" sounds like it'd give "x" amount of dollars

rapid stag
#

makes sense

#

uh sanity check, it's G.GAME.round_resets.ante to get current ante, right?

subtle merlin
#

2 questions:
How difficult would it be to implement a new menu after selecting the deck and stake where you can select new modifiers?
Is there a mod that has done something similar (at least the new menu part) that i could look at for reference?

rapid stag
#

galdur? cirThink

rapid stag
#

galdur does a bunch of deck & stake selection stuff but it's old by current modding standards and does a lot of outdated stuff iirc

#

should still be good to use for reference for what you're looking for...?

wind steppe
#

If you have Galdur cardsleeves adds a second menu

subtle merlin
rapid stag
#

yeah just look at what cardsleeves does

wintry solar
rapid stag
#

huh? cirDerp i thought you said something along those lines before, my bad

wintry solar
#

No it just has everything in one file

rapid stag
#

ahhhhhh

#

that's what i was misremembering

heavy frigate
#

Guess this is one way to deal with making a joker do something when entering the store cutelaugh

-- Update texture when entering store in case we anter a new ante and saved score falls in range of change
if G.STATE == G.STATES.SHOP and not card.ability.extra.in_store and not context.blueprint then
  card.ability.extra.in_store = true
  card.children.center:set_sprite_pos({ x = self._new_pos_x(card.ability.extra.score_saved), y = 1})
  --TODO: Card jiggle on texture change
  --card:children.center:juice_up()
end

-- Reset when leaving store
if context.ending_shop then card.ability.extra.in_store = false end
subtle merlin
#

that definitely is a way (<- has no idea what she's looking at)

spring gyro
#

its doesnt work....(

subtle merlin
spring gyro
subtle merlin
spring gyro
#

I alrrady read this, i copy code fragment

drowsy heath
#

i cant find vannila remade on google does anyone got a link

ocean sinew
drowsy heath
#

thanks a ton

ocean sinew
#

what If I use vanilla remade as ai data for balatro 🤔

#

🤔 🤔

#

🤔 🤔 🤔

sleek cliff
#

I'm still not able to get this to work, Idk where to move

ocean sinew
#

doesn't look like a bad idea

#

I can just use langchain to vectorize all of the data

#

and then use embedding

ocean sinew
#

🤔

#

oh I can't

#

😔

sleek cliff
#

good

ocean sinew
#

vanilla remade doesn't have a license

#

add vanilla remade license that allows people to steal the code

sleek cliff
#

I think you should explode instead of using it for ai slop

ocean sinew
#

🙏

sleek cliff
#

no

subtle merlin
# spring gyro

you clearly didn't, the code fragment shown here would be G.localization.descriptions.Joker.j_[mod prefix]_[key], and it's what your code should be, yours is not that and instead uses misc.dictionary.j_[mod prefix]_[key]

red flower
#

also it doesnt have a license because its partly code for the game

ocean sinew
#

I need to feed it to AI models and start balatro AI cult

sleek cliff
frigid cargo
modern kindle
#

i dont think they be pinning things in here

ocean sinew
#

I'll blow up to you

#

😈

sleek cliff
#

what.

wet crag
#

I'm trying to make a Joker that works similarly to Duplicare from Cryptid in that it gains a very small amount of Mult every time nearly anything triggers. However, there's one Joker I have specifically that is problematic with it and causes it to trigger infinitely. How could I go about checkng to ensure that it doesn't trigger specifically for post_triggers that come from a Joker with a certain ID? Right now I have:

    calculate = function(self, card, context)
        if
            not context.blueprint
            and (
                (context.post_trigger and context.other_joker ~= card)
                or (context.individual and context.cardarea == G.play)
            )
        then

I tried to add and context.other_joker ~= "j_themod_gazinga" to the context.post_trigger section but that didn't do anything. I could have it use next(SMODS.find_card("j_themod_gazinga") but then it wouldn't work at all if you owned the other Joker and not just for its own triggers.

real night
ocean sinew
#

Idk...

sleek cliff
#

I think <@&1133519078540185692> should get this seird seu pai outta here

red flower
subtle merlin
ocean sinew
#

Fr

#

It's just friendly joke

#

😔

#

sorry Steamy

karmic creek
#

don’t do AI slop shit

subtle merlin
ocean sinew
drowsy heath
#

ok so i tried making a joker that retriggers all other jokers but that failed then i decided to just code it as a blueprint that copys the effect of all jokers at once so all jokers to the left if it but i dont understand the blueprint code which states which cards are blueprinted

red flower
#

retriggering all jokers is much easier lol

ocean sinew
#

did you remember to enable it?

drowsy heath
#

nope....

ocean sinew
#

thats why

drowsy heath
#

i took a month or two away from coding

modern kindle
#

N i came across a fantastic surprise earlier

ocean sinew
#

SMODS.optional_features.retrigger_joker = true

drowsy heath
#

omg its N i remember you

red flower
#

u literally have me in your name

drowsy heath
#

oh yeah i do...

#

forgot abt that

#

its been a while ok

modern kindle
# red flower 👀

i was testing the wii games i got and thusly digging through my game cases to put game where they belong and in my wii fit case underneath the disc was a loose copy of mario kart double dash for the gamecube
so i discovered i had an extra copy and i bought it for the price of wii fit which was like 5.99 (double dash is worth 55)

wet crag
# red flower `context.other_joker.config.center.key ~= "j_themod_gazinga"`

I have it as:

    calculate = function(self, card, context)
        if
            not context.blueprint
            and (
                (context.post_trigger and context.other_joker ~= card and context.other_joker.config.center.key ~= "j_themod_gazinga" )
                or (context.individual and context.cardarea == G.play)
            )
        then

But after adding this line I get the error:
'attempt to index field 'other_joker' (a nil value)'

ocean sinew
red flower
frigid cargo
#

How would i find the total money ive gotten in a run?

solar eagle
#

how exactly does smeared joker work

#

do i have to add checks for that too in my suit based things

ocean sinew
red flower
ocean sinew
#

I think

frigid cargo
ocean sinew
#
function send_score(_score)
  if G.F_HTTP_SCORES and G.SETTINGS.COMP and G.F_STREAMER_EVENT then
    G.HTTP_MANAGER.out_channel:push({
        set_score = true,
        score = _score,
        username = G.SETTINGS.COMP.name,
        uid = tostring(G.STEAM.user.getSteamID()),
        version = G.VERSION
    })
  end
end

can I change the uid so it sends the http request to another steam account instead?

#

or change my username

ocean sinew
# frigid cargo “I think”

a bad solution here you could do a while loop and whenever G.GAME.dollars value is different it increments total money by the difference

frigid cargo
ocean sinew
#

how do I setup lua ast parser

#

I need lua ast parser for my lib

daring fern
frigid cargo
ocean sinew
ocean sinew
ocean sinew
#

It all depends on the context

manic rune
#

if you are really worried about people changing G.GAME.dollars directly then you can hook to Game:update and check for changes in G.GAME.dollars

red flower
#

what if someone uses G.GAME.probabilities.normal

ocean sinew
#

fr

red flower
#

who cares is the answer

ocean sinew
#

the guy who uses G.GAME.probabilities.normal

red flower
#

well, he should update his mod

manic rune
#

but seriously, you shouldnt care about someone doing it wrong since its on them

ocean sinew
#

it depends on the context

frigid cargo
ocean sinew
ocean sinew
manic rune
#

and it also lets you "reroll" chances :p

frigid cargo
manic rune
#

mhm