#⚙・modding-general

1 messages · Page 79 of 1

astral glade
#

holy shit i just

#

made the best gif ever

stone brook
#

xdd

astral glade
#

the fucking error at the end

#

god damn

stone brook
#

same tho

cursive compass
#

nil value jumpscare

gilded vortex
#

Maybe the Legendary purple? Or the "black"?

astral glade
#

dark_edition

gilded vortex
#

By the way, do you have the effect that increases Blinds? I intend to look into it in the future

gilded vortex
stone brook
#

i stole studied from codex arcanum's blind modifying

robust carbon
#

oh yeah, I wonder btw: Is there gonna be any plans to potentially add auto updating for mods? RIght now I have a scriptfile on my PC that just pulls from repos so it would be nice to get the latest working versions in-game easier

rare shell
#

same energy

#

that'd be a neat concept

#

being able to autopull from repo sounds smart

magic creek
#

Can anyone just give me a push in the right direction? I want to create a mod that either increases the chances of a joker being negative by a lot, or increase the base # of joker slots, (or maybe option 3 a custom challenge that starts you with a voucher that does it). What do I need to go look at/research?

rare shell
#

seed searching devs take note

astral glade
gilded vortex
astral glade
#

alternatively you can use the deck creator mod!

magic creek
#

and I would use Balamod to actually inject my changes to the source?

astral glade
#

it has a ton of stuff

astral glade
rare shell
#

balamod or steamodded, your choice

#

steamodded with lovely is the biggest community but we don't have arachneii, gods greatest balamod soldier

magic creek
stone brook
#

RAHHH

magic creek
#

thank you all<3

gilded vortex
robust carbon
stone brook
#

i will happily impart knowledge i gain from digging through source code to anyone in the community tho :3 (if im available)

robust carbon
#

something something steamodded header shenanigans

astral glade
stone brook
#

balamod has updating in its in-game marketplace, i think? (i dont use it)

astral glade
#

reading balatro source code is so much fun

robust carbon
#

It does

#

but Steamodded has more of a quantity of mods

stone brook
#

yea

gleaming talon
#

For the UI how do you target a specific thing ?
Like how do you know where is the thing you wanna modify

rare shell
#

thunderstore/r2modman has easy updating

#

but theres also like only 3 mods and some change on there

robust carbon
#

I don't think R2ModMan has proper pulled either yet

stone brook
robust carbon
#

the repo is kind of in limbo rn

#

or the pr pull im ean

#

I think once that happens, it's gonna get people to migrate in droves

stone brook
#

it depends on what you wanna target, but most ui objects are tied to a G object, then you just have to traverse through nodes to get to it

robust carbon
#

oh it got passed last week let's go

gleaming talon
#

DiD someone manage to get to the tags UI ?

gilded vortex
astral glade
#

yeah

gilded vortex
stone brook
#

in what context

#

like card descriptions?

gilded vortex
#

Card descriptions and tooltips

stone brook
#

when the game parses descriptions, it cuts everything into single lines, then splits lines based on the text colouring

gilded vortex
#

What I want to do is to have a card show a tooltip that has a small animation like Misprint in the middle of it

stone brook
#

oh boy

gleaming talon
#

So no one messaed with tags UI ?

gilded vortex
#

I have a vague idea of how to do the animation

stone brook
gilded vortex
#

But I'm not sure how to structure the entire tooltip

stone brook
#

for the tooltip, try looking at how i did tooltips in my super auto pets thing

dapper helm
#

maybe

stone brook
#

i hook into generate_uibox_ability_table

gilded vortex
stone brook
#

yea it should be the same process as what i have

gilded vortex
#

Then I can add the existing tooltip to the Joker via CENTERS

stone brook
#

oh wait yall have tooltips api in steamodded i forgot

#

i dunno how that works so you might needa ask someone else

gilded vortex
#

To animate it, I can do a hook copying from Misprint

#

But Idk how to make it multiline

stone brook
#

i made a localization object and used localize to put it in from generate_uibox_ability_table

#

but idk how steamodded handles it

gleaming talon
#

How woudl I at least start to get to the tag UI ?

gilded vortex
#

To animate it I'll need to hook anyways

stone brook
#

if the latter, i think its G.blind_select, then traversing nodes from there

stone brook
gilded vortex
stone brook
#

the end of wat

#

of the tooltip queue?

#

if so, index 1 is the top

gilded vortex
#

Of the nodes

#

Because I had the impression the title was set at the end

stone brook
#

wuh

#

wait i have no clue what youre talking about

cursive compass
#

sheesh i really like how this glass shatter came out

astral glade
#

anyone happen to know how to create some a line of text like how blinds do it?

stone brook
dapper helm
astral glade
stone brook
#

ok imma brb gonna do chores 👍

astral glade
gilded vortex
# astral glade this text

No clue but maybe looking for The Psychic or the specific text and then searching for localization variable names will help

gleaming talon
# stone brook oh try looking for "collection_tags" i think? in ui_definitions.lua

Yeah I searched through that and got a few functions and I still don't understand how to access it XD :

function create_UIBox_your_collection_tags()
  local tag_matrix = {
    {},{},{},{},
  }
  local tag_tab = {}
  for k, v in pairs(G.P_TAGS) do
    tag_tab[#tag_tab+1] = v
  end

  table.sort(tag_tab, function (a, b) return a.order < b.order end)

  local tags_to_be_alerted = {}
  for k, v in ipairs(tag_tab) do
    local discovered = v.discovered
    local temp_tag = Tag(v.key, true)
    if not v.discovered then temp_tag.hide_ability = true end
    local temp_tag_ui, temp_tag_sprite = temp_tag:generate_UI()
    tag_matrix[math.ceil((k-1)/6+0.001)][1+((k-1)%6)] = {n=G.UIT.C, config={align = "cm", padding = 0.1}, nodes={
      temp_tag_ui,
    }}
    if discovered and not v.alerted then 
      tags_to_be_alerted[#tags_to_be_alerted+1] = temp_tag_sprite
    end
  end

  G.E_MANAGER:add_event(Event({
    trigger = 'immediate',
    func = (function()
        for _, v in ipairs(tags_to_be_alerted) do
          v.children.alert = UIBox{
            definition = create_UIBox_card_alert(), 
            config = { align="tri", offset = {x = 0.1, y = 0.1}, parent = v}
          }
          v.children.alert.states.collide.can = false
        end
        return true
    end)
  }))


  local t = create_UIBox_generic_options({ back_func = 'your_collection', contents = {
    {n=G.UIT.C, config={align = "cm", r = 0.1, colour = G.C.BLACK, padding = 0.1, emboss = 0.05}, nodes={
      {n=G.UIT.C, config={align = "cm"}, nodes={
        {n=G.UIT.R, config={align = "cm"}, nodes={
          {n=G.UIT.R, config={align = "cm"}, nodes=tag_matrix[1]},
          {n=G.UIT.R, config={align = "cm"}, nodes=tag_matrix[2]},
          {n=G.UIT.R, config={align = "cm"}, nodes=tag_matrix[3]},
          {n=G.UIT.R, config={align = "cm"}, nodes=tag_matrix[4]},
        }}
      }} 
    }}  
  }})
  return t
end```
#

I want to access right before the tag_matrix

#

To put text

cursive compass
hardy brook
#

Question why is it XERROR with this? X#1#{}

gilded vortex
hardy brook
#

Okay where do I find the variable?

fallow bramble
#

It can't find your first variable in loc_def

cursive compass
#

if your variable isn't set until a certain point you can use or in loc_def to set a fallback

jovial notch
#

by chance

#

have people made portal jokers yet?

hardy brook
jovial notch
#

iys a voucher? hmmm

fallow bramble
hardy brook
#

Yeah, i'm helping in remaking jellymod

#
        name = 'Dumbell',
        text = { 
            "Debuffed cards instead score",
            "at {X:chips,C:white}X#1#{} chips",
        },
    }, 10, true, true, true, {}, 'JellyVouchers')

    local barbell = SMODS.Voucher:new('Barbell', 'barbell', {extra = 75}, { x = 0, y = 1 }, {
        name = 'Barbell',
        text = { 
            "Debuffed cards instead score",
            "at {X:chips,C:white}X#1#{} chips",
        },
    }, 10, true, true, true, {'v_dumbell'}, 'JellyVouchers')
jovial notch
#

well thats why

hardy brook
#

Well where do I put it?

jovial notch
#

theres no variable

#

i know where it is for jokers but vouchers not so much

#

for jokers the first variable is in the ability thing

#

ability = {extra = { variable= number}}

fallow bramble
#

Its the same as Jokers, you make a loc_def function

jovial notch
#

well there is your answer i guess lol

#

i dont make vouchers

#

i make jokers (working ona dnd set of jokers rn)

#

speaking of which i cant test one of em until i get the art which should be done eventually!

hardy brook
#

So this?

        return {center.config.extra}
    end```
jovial notch
#

looks right

carmine mortar
jovial notch
hardy brook
#

what?

jovial notch
#

ykk the thing that sends the text as code

hardy brook
#

``lua
function.vouchers.v_dumbell.loc_def(center, info_queue)
return {center.config.extra}
end

function.vouchers.v_barbell.loc_def(center, info_queue)
    return {center.config.extra}
end

``

jovial notch
#

on the begining part

slim swallow
#

3 backticks

jovial notch
#

here

#
for i in range (this code dont work):
 print("text")
#

example

#

that will not work in lua files btw :>

hardy brook
#
    function.vouchers.v_dumbell.loc_def(center,  info_queue)
        return {center.config.extra}
    end

    function.vouchers.v_barbell.loc_def(center, info_queue)
        return {center.config.extra}
    end
jovial notch
#

ta daaaa!

hardy brook
jovial notch
#

colors :>

jovial notch
#

what the flip

hardy brook
#

is it supposed to be Vouchers specifically?

jovial notch
#

(what does it show around that line)

hardy brook
#
    function.Vouchers.v_dumbell.loc_def(center,  info_queue)
jovial notch
#

oh so that is the line uhhh

hardy brook
#

Maybe I should just make a _ref section instead of putting the local_ref inside it

jovial notch
#

ok holdup

tacit crest
#

It needs to be function SMODS.Vouchers.v_dumbell.loc_def(center, info_queue)

jovial notch
#

slap that code that you copied inside of your voucher definition

#

also make sure it returns the variable name

astral glade
jovial notch
#

side note: why does it have a variable for chips?

hardy brook
astral glade
#

there shouldnt be one there

hardy brook
#

oh i didn't put SMODs

jovial notch
#

also uhhh

#

why do you need a variable?

#

like why is it changing and what is it changing to

hardy brook
#

idk

jovial notch
#

so

#

theres a variable

#

for the sake of having a variable

#

when its easier to just hardcode it

hardy brook
#

yeah, problem is idk what the hardcode is

#

gimme a moment

astral glade
#

for loc_def

jovial notch
#

i mean whatever its supposed to do per thing

hardy brook
#

give me a moment, good grief

#

I decided just to find what the hardcode is in the extras

knotty fable
#

Imagine if someone modded a third set of vouchers for all vanilla vouchers

carmine mortar
#

Hmmm

#

Where was that again

#

Who had them gold vouchers?

lone garden
#

Why is the Jellymod regarded as broken ? I saw from other mods descriptions that it won't work with that modpack

#

Is it not compatible with other mods?

strong swift
hardy brook
hardy brook
shy pivot
lone garden
#

Ohhh ok ok gotcha

#

Game kept crashing when trying to add mods, so I figured it had something to do with the other mods I had installed

sleek granite
#

you better rev up those fryers

stone brook
rare shell
#

autumn did you read more homestuck

glad sedge
#

heeeeelp. how to change the 10$ reroll button from voucher director cut /retcon? seems to be concatenated and cant find where

#

if anyone know ping me

sleek granite
#

i did not

#

i should tho

rare shell
#

also gm

sleek granite
#

if i cant get my brain to start on modding stuff i think i just might

rare shell
#

its been one of those days

#

pass the homestuck!

stone brook
sleek granite
#

lyman

#

do you wanna know a secret

#

a pepperoni secret

gleaming talon
stone brook
#

how dynamically?

gleaming talon
#

like they press a button, it changes something in my code and I want to show it

stone brook
#

oh boy

#

uh i'll try and find the global variable that menu is tied to

gleaming talon
#

ty ❤️ XD

stone brook
#

i THINK its G.OVERLAY_MENU.definition

#

you need to check if its the correct menu though

#

pretty sure G.OVERLAY_MENU.definition is used for all menus that create that grey background over the game

#

like every collection tab, pause menu, etc

gilded vortex
#

New Joker

glad sedge
#

i managed to change the voucher to vouchers
tho is it possible to change the "defaet boss blind to restock"?

#

my game now gives two random per shop

gilded vortex
sleek granite
#

the star is adorable

gilded vortex
#

Thank you :)

glad sedge
#

FOUN DITT

sleek granite
#

notepad++ detected, opinion accepted

jovial notch
#

is now a good time to say i use notepad++ now because of you

#

(also thanks for letting me know it exists it helps so much)

stone brook
#

@gleaming talon ok so this is how you access what uibox_collection_tags returns from global

#

the variable in the pairs bracket

#

(wrong line in screenshot oops)

jovial notch
#

question

#

i may be a fool

#

BUT

#

how do you get a joker to add mult/chips again :>

glad sedge
#

lol i might have to leave it like this if i cant find it

stone brook
#

it will do it automatically if you return the chips and mult thing that base game jokers have, but it'll only display the mult message

#

if you want it to display a chips message, you have to do one yourself with card_eval_status_text

jovial notch
#

oh wait so i have to return chips_mod and mult_mod not just one?

#

damnit

#

how do i return both

gilded vortex
#

Also I think the mult_mod isn't entirely correct

#

The color is wrong

#

At least in my code

stone brook
#

you return them in the table that you return from calculate_joker

sleek granite
#

so

#

technically you can only return one

#

but i have a workaround

gilded vortex
# jovial notch how do i return both
        if context.cardarea == G.jokers and self.ability.name == "Dog" and context.joker_main and (not context.before) and (not context.after) then
            card_eval_status_text(self, 'extra', nil, nil, nil,
                    {message = localize{type='variable', key='a_chips', vars = {self.ability.extra.chips}},
                    colour = G.C.CHIPS
                })
            return {
                    message = localize{type='variable', key='a_mult', vars = {self.ability.extra.mult}},
                    chip_mod = self.ability.extra.chips,
                    mult_mod = self.ability.extra.mult,
                    colour = G.C.MULT
                    }
        end
jovial notch
#

no i dont need da message

#

i need just need it to give chips or mult

#

i have all the if and all that

stone brook
#

oh

jovial notch
#

here

stone brook
#

just make chip_mod return nothing if you dont want it to

sleek granite
#

you need to have a message, i think?

jovial notch
gilded vortex
#

I don't think it needs more

jovial notch
#

wait

#

i just need it to add chips or mult dependsing on the roll

sleek granite
#

so it's chip_mod, not chips_mod

jovial notch
#

ok

stone brook
#

yea just return chip_mod = nil if you roll mult

#

and vice versa

sleek granite
#

and you need to include it in the table you're returning

stone brook
#

i guess that way works too actually

jovial notch
#

ok so

jovial notch
#
extra = {mult_mod = 0, chip_mod = 0, dicenum1 = 1, dicenum2 = 0, trudicenum = 1}
gilded vortex
#

Actually, @stone brook, do you know why the color in the second effect is wrong?

jovial notch
#

is the joker modifications

stone brook
#

no clue

gilded vortex
#

It shows up as blue instead of red. I think maybe because I have chip_mod it's hardcoded to blue

sleek granite
#

oh damn

stone brook
#

colour SHOULD overwrite it, iirc

sleek granite
#

apparently i had previously read 77 pages of homestuck, not 30

gilded vortex
lone garden
#

I just found this modded seed ( pampa + jelly mods) that has black star round 2 that protects you from ante 2 boss blind that turns into invis + brainstorm joker , so this could lead to some crazy high score runs

covert mason
#

Not sure if this is really modding related, but do y'all know if there's a tool that reads your profile and outputs a list of jokers with gold stickers?

gilded vortex
#

No, in fact the colour it received is overwritten

#

to red then blue

stone brook
#

huh. weird. i was getting mult messages for my chips+mult joker

#

you can probably just swap your return message and card_eval_status

gilded vortex
#

I think I'm gonna hook card_eval_status_text then copy-paste some code @_@

stone brook
#

your other option is to write a special case hook for card_eval_status_text

gilded vortex
#

Idk how to inject so hooking I go

sleek granite
#

if you're on steamodded then you have to use lovely to inject

#

(idk how to use it either)

jovial notch
#

would this return chip_mod and mult_mod to my card ability thingy :>

#

return {chip_mod , mult_mod}

gilded vortex
#

No, the dictionary need to have entries with keys chip_mod and mult_mod

glad sedge
#

FOUND THAT SONEOFABITCH

cursive compass
sleek granite
#

that is so adorable

cursive compass
#

i wanted it to have the vibe of some sort of cheesy 3d render from the 2000s

sleek granite
#

the only thing i would say is that it'd be super funny if it was visually in Waterfall?

#

though if thats not really The Theme for the rest i understand

gilded vortex
jovial notch
stone brook
#

card.ability.extra.chip_mod instead of chip_mod

#

and the same for mult_mod

#

i think

jovial notch
#

in the return?

#

in that case do i also change all of this?

                if trudicenum % 2 == 1 then
                    chip_mod = (trudicenum * trudicenum)
                    mult_mod = 0
                    return {
                    message = '('..trudicenum..') '..chip_mod..' Chips added!'}
                else
                    chis_mod = 0
                    mult_mod = trudicenum * 2
                    return {
                    message = '('..trudicenum..') '..mult_mod..' Mult added!'}
                end
glad sedge
#

anyone know how to change LEGENDARIES rate? like make perkeo appear less than other legendaries

jovial notch
#

no idea

sleek granite
#

not really possible

glad sedge
#

ty

#

making them altogether appear less if spectral rate is 2 not possible either? (i dont mean individually but the legendaries jokers themselves as group

round oar
#

guys does anybody know if you can make cards that are bigger than the standard size?

fallow bramble
#

Yes

#

Morefluff has one

gilded vortex
round oar
gilded vortex
# glad sedge anyone know how to change LEGENDARIES rate? like make perkeo appear less than ot...
function create_card(_type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)
    local has_cow = false

    if area == G.shop_jokers and _type == 'Joker' and forced_key == nil and key_append == 'sho' then
        -- has_cow = #find_joker("Cow") >= 1
        for i = 1, #G.jokers.cards do
            if G.jokers.cards[i].ability.name == "Cow" then
                has_cow = true
                break
            end
        end
        if has_cow and pseudorandom(pseudoseed('cow_'..key_append)) < 1/12 then
            return create_card_post(_type, area, legendary, _rarity, skip_materialize, soulable, 'j_cow', key_append)
        end
    end

    return create_card_post(_type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)
end

create_card_post currently just runs create_card

#

The original ref, not this doppelgänger

round oar
#

wait, is huge joker just an upscaled joker? i’d like to make a joker using a larger (284x95) sprite

sleek granite
#

someone did one with a sword stickin out

#

i forgor what the name was tho

round oar
#

that was because the card was smaller

#

it was still 71x95 total

stone brook
#

look at how photograph and half joker change self.T.x and self.T.y

#

you also need to change the sprite px and py

round oar
#

i did that, but the sprite cuts off at 71x95

umbral pilot
#

jimbokin

stone brook
#

uhh one sec i needa dig through some older code to find an example

#

id is the slug of the card

round oar
#

im using smods sprite api

stone brook
#

you can probably modify set_sprite to check if its setting the sprite of your card

#

and also everything in that image you can do in steamodded

fresh matrix
#

Heya, I'm just sticking my head into modding Balatro. Is there a lot of good documentation for steamodded? The example mods on the github help a lot, but if there's a better way to learn than trying to reverse engineer already-made mods I'd love to hear it.

round oar
#

not really, that’s how i learned to do it and it worked pretty well

#

just don’t forget that you can ask for help here if you have any specific things you’re struggling with

stone brook
#

ok i checked, you can hook into set_sprites, and create a new sprite with the correct self.T.x/y/w/h, then just pass an asset_atlas entry with correct px and py values

gleaming kestrel
#

trying to use steammod injector. I have it in the balatro folder and drag the balatro.exe into it. A black window pops up and there is no change to the game

#

does it need to be ran in admin mode?

sleek granite
#

better to just use lovely

gleaming kestrel
#

alright

#

thanks for the link

jovial notch
#

holdup

#

is the thing that affects mult/chips mult_mod or is it smthn else

stone brook
#

mult_mod only affects mult

jovial notch
#

it isnt giving any tho

stone brook
#

chip_mod only affects chips

#

make sure youre passing a number that isnt 0 to mult_mod

#

if its 0 it'll get skipped

#

i think

#

is 0 falsey? im assuming it is

jovial notch
#
ability = {
                extra = {mult_mod = 0, chip_mod = 0, dicenum1 = 1, dicenum2 = 0, trudicenum = 1}  
            },
=============(more lines in between)===================
if trudicenum % 2 == 1 then
                    self.ability.extra.chip_mod = (trudicenum * trudicenum)
                    self.ability.extra.mult_mod = 0
                    return {
                    message = '('..trudicenum..') '..self.ability.extra.chip_mod..' Chips added!'}
                else
                    self.ability.extra.chip_mod = 0
                    self.ability.extra.mult_mod = trudicenum * 2
                    return {
                    message = '('..trudicenum..') '..self.ability.extra.mult_mod..' Mult added!'}
                end
stone brook
#

you arent returning mult_mod

#

you are only returning message

fallow bramble
#

Is it possible to force a card from "create_card" to not spawn with an edition?

gleaming kestrel
sleek granite
#

it is pretty quick and easy, glad to hear you got there tamariPlush

fallow bramble
sleek granite
#

you can remove the edition afterwards, yeah, but it'll still play the animation of "hey look im <edition>"

stone brook
#

^

jovial notch
sleek granite
#

return {message = ...} needs to be return {message = ..., mult_mod = ...}

stone brook
#
return {
  message = whatever,
  mult_mod = self.ability.extra.mult_mod
}```
#

like that

jovial notch
#

got it thx

stone brook
#

same thing for the chip_mod return too

jovial notch
#

so like this?

return {
                    message = '('..trudicenum..') '..self.ability.extra.mult_mod..' Mult added!', self.ability.extra.chip_mod = 0 , self.ability.extra.mult_mod = trudicenum * 2 }
stone brook
#

no self.ability.extra

#

just mult_mod

fresh matrix
#

Are there any mods that modify the HUD I can cheat off of learn from? I see a couple that modify other aspects of the UI, but create_UIBox_HUD just seems especially convoluted to me

sleek granite
#

i keep meaning to get around to it, but i dont think there are any HUD mods yet

jovial notch
#

when using it it has a lil hud element

#

shows next 3 cards

#

might be able to be taken and used as a permanant thig if you are tesparate to test (or cheat i guess)

fresh matrix
#

I'll look into seer deck and see how they do it, then. Thanks for the tip

jovial notch
#

TADAAA

#

d20 is now functional!!!

#

thank you those who helped :D

fallow bramble
sleek granite
#

i... dont know

dapper helm
sleek granite
#

i dont play challenges because im not a nerd CoolCry

wanton rapids
#

coin: all probabilities are 50/50

faint rock
#

Could someone point me towards a simple mod with an atlas so I can learn how to implement one myself?

fallow bramble
stone brook
cursive compass
#

the souls are finally done

faint rock
fickle elbow
sleek granite
#

one day i should learn to do the website thing

fickle elbow
#

i did the website thing :]

faint rock
#

It works with just one, but when I try to register a second one under it the game starts crashing

#

So I think I'm overlooking something

sleek granite
stone brook
#

that may be a steamodded thing, idk how their sprites work

cursive compass
#

i just didnt list any of the "currently _x mult" things on the website since it took up space and felt kinda redundant

#

everything starts at 1

#

except for control and integrity ofc

stone brook
#

card art is pretty

faint rock
dapper helm
stone brook
#

patience is me when im working on ui

sleek granite
#

me when im stunlocked in my room alone

faint rock
#

Is this not the correct usage?

sleek granite
#

that is the wrong way to do it yes

faint rock
#

Gotcha

sleek granite
#

that should be a SMODS.Sprite:new(

#

not SMODS.gross_cavendish:new(

#

SMODS.gross_cavendish doesnt exist

fallow bramble
#

Ok I figured it out, challenges uses "add_joker" instead of "create_card", works fine now 👍

faint rock
sleek granite
#

keep in mind you need to tell the jokers to use the atlas you make

#

if i count my args correcttly, you need to make a dummy entry for effect ('' or "" or nil will do) and then put in the atlas's name after that

#

so in this case, "Alt_Jokers"

vernal fulcrum
#

this happened

#

when i tried to add mult cards to the deck using the custom decks mod

fallow bramble
sleek granite
#

looks right to me

sleek granite
#

keep in mind you'll still need to code the extinction effect

faint rock
#

I have a temporary basic mult effect for it in place atm

#

I'll open that can of forms after I can figure out how to add Jokers properly

sleek granite
#

you can modify a Joker after registering it by referencing SMODS.Jokers.j_gross_cavendish for example

#

most commonly this will be to add a "calculate" and/or "loc_def" hook, though there are a few others you can use

cursive compass
#

amber acorn has NO idea what's about to hit it

sleek granite
#

calculate hooks into the Card:calculate_joker function, and loc_def is used to supply variables to your card's textbox

#

(calculate will be where the brunt of your joker's functionality is)

glad sedge
#

@lavish jackal read, and cry

faint rock
#

I see, that's really helpful

#

I'm still getting a crash, but I'll work on it myself a bit first

sleek granite
#

for example, you'll be setting a function at SMODS.Jokers.j_gross_cavendish.calculate with something like

SMODS.Jokers.j_gross_cavendish.calculate = function(card, context)
end
umbral pilot
#

I love your character arc, autumn. you've basically become the teacher for all the new modders :-)

#

v cute and wholesome

sleek granite
#

what

astral glade
#

maybe autumn is the main character

sleek granite
#

no please i already am delusional enough

dapper helm
#

add more on top

#

its part of your character growth

#

and/or your descent into madness

sleek granite
#

character growth into madness

faint rock
#

Actually, I still seem to be getting an error with the Atlas unless I'm misinterpreting the crash report (which is very likely)

umbral pilot
#

autumn absolutely is the main char

sleek granite
dapper helm
umbral pilot
#

but is there a villain arc? we'll have to see

sleek granite
#

OH

faint rock
#

What's the symbol to format code blocks again

sleek granite
#

i think i know what thats doing actually

astral glade
#

autumn villain arc??

faint rock
#

I'll post the entire thing

fallow bramble
#

Very cool

dapper helm
faint rock
fallow bramble
sleek granite
#

Blank, what's loc_def set to exactly in your code?

cursive compass
#

i'm not sure if i should release balatrotale's first version with just the souls or if i should make more stuff first

faint rock
#

Here's my loc_def

sleek granite
#

it's trying to process the text description of your jokers and failing

#

ah yeah

#

you'll want to say loc_def.gross_cavendish and loc_def.michael respectively

#

(in the SMODS.Joker:new(...) calls)

sleek granite
cursive compass
#

can someone make a mod that renames gros michel to Gross Michael and nothing else

dapper helm
boreal ibex
cursive compass
#

actually i can probably do that

sleek granite
dapper helm
#

so true

sleek granite
faint rock
sleek granite
#

i got in a time machine and went back to 2009 and all i got was Grimoire for Summoning the Zoologically Dubious

faint rock
rare shell
#

I'm dubious

sleek granite
#

considering i have Made A Homestuck Mod for this game it's too late for me already /shrug

faint rock
rare shell
#

I'm at Sonic rn yall want anything

sleek granite
#

dude i wish there was a Sonic near me

faint rock
#

What's the symbol to format code blocks?

rare shell
#

Triple graves

sleek granite
#

you can upload the lua file directly

rare shell
#

Around front and back

sleek granite
#

please upload the lua file directly

#

please do not use a code block for this

rare shell
#

Also that

faint rock
#

dw I heard you

#

I'm uploading it

dapper helm
rare shell
#

Autumn has been flashbanged too many times

#

Bet

sleek granite
#

lyman i got flashbanged by mentions of gamefaqs in homestuck already today so

rare shell
#

Anything else chat?

sleek granite
#

(the real trigger warning it needs)

round ore
#

I'm looking at all the suit adding mod pics

stone brook
#

can you get me some dr pepper

faint rock
#

Wrong one

#

That's just the base test one

sleek granite
#

lmao joker api

faint rock
#

Hey can't blame a beginner right

#

It's my first day around here

sleek granite
#

yes i can

rare shell
#

You really cant

sleek granite
#

ill blame lyman

stone brook
#

true

rare shell
sleek granite
cursive compass
#

fuck the init function is still called balatrotale hold on

kindred swallow
round ore
#

Cavendish joker AI

stone brook
#

cherry coke is better, actually

faint rock
kindred swallow
faint rock
#

There we go

sleek granite
#

also emi if you intend to release your mod we'll need the sprites too lol

cursive compass
sleek granite
#

oh wait nvm this is gross michael

#

mb

cursive compass
round ore
faint rock
sleek granite
#

oh

#

nononono

cursive compass
#

it's already picking up steam

sleek granite
#

@faint rock not this

rare shell
#

It's okay

sleek granite
rare shell
#

I've tactfully distributed two brainrot phrases into the conmunity

sleek granite
#

so true jestie

round ore
#

is that really how you get Cavendish?

rare shell
#

so true jestie

faint rock
#

That would make way more sense yeah

sleek granite
#

you're passing the reference to the table that contains ["name"] and ["text"]

boreal ibex
sleek granite
#

you dont want to give it the table that contains that table

#

since the game wont know what to do with it from there

kindred swallow
#

can someone make a mod that renames diet cola to Joke-a-Cola and nothing else /s

cursive compass
boreal ibex
rare shell
#

jonkler and jollar

sleek granite
#

sometimes i wonder if thunk would hate us if he paid attention here

boreal ibex
#

Uno says you cant place +2's on +4's

umbral pilot
#

maybe he does

dapper helm
#

oh shit you made the jollar?

faint rock
#

My boys, they are so beautiful

boreal ibex
faint rock
#

Thank you so much @sleek granite

umbral pilot
#

maybe he's too intimidated to say anything :3

cursive compass
#

if it's not gross michael then why does my game LITERALLY say gross michael

umbral pilot
#

it's ok thunky, you can say hi we won't hurt you

sleek granite
#

hes not even online rn lol

rare shell
#

I only started saying it because my buddy kept calling everything jonklers and jollars when balatro released

umbral pilot
#

sure

sleek granite
#

lyman was this the same buddy as The Incident

dapper helm
rare shell
#

We are but mere cockroaches living underneath local thunk's boot

sleek granite
#

because if so, that's perfect

rare shell
#

No but he is in the same group

boreal ibex
sleek granite
#

chat im getting taco bell what should i get

boreal ibex
#

not taco bell

kindred swallow
#

Baja blast

astral glade
#

baja blast

rare shell
#

5 layer

dapper helm
#

they change the menu too much for me to know anymore

boreal ibex
#

baja ballast

sleek granite
#

you better believe im gonna blast a baja

rare shell
#

Fuck I want taco bell

dapper helm
#

get the current taco bell thing

rare shell
#

I just got sonic too I'm on the way home

sleek granite
#

lyman shut up you have sonic

#

/lh

dapper helm
#

and nacho fries if they're somehow there

rare shell
#

Chat why did taco bell get rid of the rolled chicken tacos

sleek granite
#

SO TRUE

#

also the nacho fries

#

also the one taco that was just a whole fuckin piece of fried chicken on a breadtilla

dapper helm
#

mini shredded chicken quesadilla....

rare shell
#

Sonic milkshakes r bangin

sleek granite
#

do they perhaps bring some or all the boys to your yard or lawn or housing unit?

rare shell
sleek granite
dapper helm
#

horrible last few messages

fickle elbow
#

they exist

dapper helm
fickle elbow
rare shell
#

how im tryna be rn

rare shell
#

ok im home now

boreal ibex
astral glade
sleek granite
#

wait is that repeat Chance use

astral glade
#

chat somewhere in that gif is the secret to my secret project

sleek granite
#

or at least something similar

astral glade
sleek granite
#

pog

astral glade
#

and then it crashed

sleek granite
#

truly the random event we were all waiting for

rare shell
#

im glad i got to jumpscare everyone in murphs stream

astral glade
#

that was really funny

sleek granite
#

it was pretty based

#

oh god im actually playing a game in homestuck now

sleek granite
#

BRO

dapper helm
rare shell
#

newt is modding in bingle bangle

jovial notch
#

and custom editions???

astral glade
#

thats from autumns mod

#

chance the spectral card

sleek granite
#

the enhancements are from enhanced enhancements

rare shell
#

the what now

jovial notch
#

lol

dapper helm
#

enhancement texture pack

sleek granite
#

i think anyway

rare shell
#

oh

dapper helm
#

super good

sleek granite
#

maybe the enhancements are from other thing

#

Chance was in version 1

dapper helm
#

nah the enhancements are enhanced enhancements, i didn't realize it wasn't normal in that gif cause i always use it

astral glade
jovial notch
#

uh

#

idk what i did

#

i done broke smthn

strong swift
glad sedge
#

anyone else getting a crash while using hanged man with caino in hand?

tacit crest
#

We definitely need another credit card in balatro

cursive compass
#

whens debit card

#

this is why we need usable jokers

#

debit card joker that you can put money into and take money out of on every other use would be crazy

#

i also had an idea for a joker that you can upgrade with money

#

i want that api NOW!

sleek granite
#

😭

#

i dont have time right now sorry

shy pivot
#

hmm

#

that is a thought, a actual bank

#

dunno if it would make that big a difference for balatro

cursive compass
sleek granite
#

oh i pretty much have one ready

#

just wanna implement Isaac-style charges

shy pivot
#

ah self-destructs too much if used, iirc?

sleek granite
#

nah

#

need to clear a certain amount of rooms (blinds) before reusing

fresh matrix
#

It took a lot of trial and error but I've breeched the HUD

sleek granite
#

:3

stone brook
#

:3

strong swift
#

:3

cursive compass
#

question are there any mods that implement perishable eternals properly

#

like you can't sell it until it perishes

dapper helm
#

don't think so

cursive compass
#

sad

#

i think it'd be cool to have a spectral or something that gives you a perishable eternal as a drawback that cuts your xmult or something

#

might be better off just making my own thing atp

#

yknow i'm surprised debuff jokers aren't really a thing that's being done in mods

#

it could open the door for other stuff like jokers that disable the joker to the left

#

i guess the small number of slots is probably a reason but i still think it could be an interesting new layer of depth

#

there could also be jokers (or other items) that have a chance to do something either good or bad

#

i had an idea like that earlier actually based on an item from an isaac mod
an oddity called something like "lucky coin" that, on use, either gives you X0.5 mult, -10 mult, nothing, +10 mult, or X2 mult

#

but i'm not sure if it's possible for consumables to modify hands like that

sleek granite
#

the problem there is having - yeah

cursive compass
#

i could figure as much by how janky the mult and chips buttons in the debug menu are

#

it's a shame because letting consumables give chips or mult to your next hand would open up soooo much

sleek granite
#

you could have it so using the consumable "primes" it for the next hand, and then it is actually consumed when the hand is scored

#

oddities support a calculate hook, as well as nonconsumable oddities

#

check jimbobread man (full)

cursive compass
#

i see

round ore
#

can we have the 6 suits mod on switch? the one with stars and moons

strong swift
#

no switch modding, sadly

jovial notch
#

mods are pc only

round ore
#

it'd probably have to be DLC if that ever changes

sleek granite
#

modding is cringe because the yamaha sg420 cant be modded

round ore
#

i just wanna see what chaos i can whip up with 6 suits personally

#

I'm only on switch tho

sleek granite
round ore
#

worth issue golden joker wearing MLG sunglasses here

sleek granite
#

sell value issue *egg joker wearing a party hat*

round ore
#

lol

jovial notch
#

man i love this game

#

1.5 jokers

sleek granite
#

3/2 jokers

round ore
#

butterfingers joker when?

jovial notch
#

insane high card build

sleek granite
#

high card pivot

round ore
sleek granite
#

actually thats only 0.5 jimbo

jovial notch
sleek granite
#

0.5 + 0.5 - 0.5

round ore
#

and splash maybe

jovial notch
#

banner, green joker, 3 half jokers, polychrome joker

#

is what i have rn lolll

#

and a joker tarot from autumn circus

round ore
#

sweet

sleek granite
#

do you have 0.3.1

#

because you should

#

if you dont

jovial notch
#

i do

sleek granite
#

sick

jovial notch
#

i made sure to get it lol

sleek granite
#

sick

jovial notch
#

i saw that i was a whole 0.1 behind

#

so i updated

#

like a good fella

sleek granite
#

sick

jovial notch
#

me when antimatter: p_LETSGOOO

#

(side note: i have nitro now, was gifted to me)

strong swift
#

i've been considering buying nitro for a little bit now but i dont really need it

jovial notch
#

i wouldnt buy it

#

ive never bought nitro and i never plan to

#

if i ever have it that shi was gifted to me

sleek granite
jovial notch
#

hmmm, which is better, green joker or banner?

#

(green is at 29 so far)

sleek granite
#

greeng

jovial notch
#

ok cool

dapper helm
#

never gonna buy it

rare shell
#

chat how would i check if a specific type/category of card is sold

#

in tandem with context.selling_card

dapper helm
#

@rigid jewel

#

^ this guy knows

#

in the meantime you can check the ortalab code for evil eye

sleek granite
#

doesnt it just give you the card in question

#

in the context

rare shell
#

so i could just do like

#

context.consumeable.ability.set == 'Planet'

#

along side with it

sleek granite
#

man i really should just keep the balatro source on my phone at this point

#

is context.selling_card the card object or is it just true

rare shell
#

im trying to filter out context.selling_card to exclude a certain type from triggering it

astral glade
#

chat guess what

rare shell
#

"whenever you sell a non-X card, do y"

#

type trigger

astral glade
#

file format,,

rare shell
#

i wanted to download that mkv file

#

darn

dapper helm
sleek granite
#

if context.selling_card has the card object, you can check context.selling_card.ability.set

astral glade
sleek granite
#

but again idk if it does

#

Pray.

dapper helm
#

pick a god and pray

sleek granite
#

extra buttons actually sound hype af

astral glade
#

its actually

#

surprisingly simple

sleek granite
#

i bet

#

it's easy to hack your 3ds

astral glade
rare shell
#

balatro story mode framework

sleek granite
#

balatro story mode....

astral glade
#

anyways ill release the silly pray button once i add like

#

more effects

sleek granite
#

chanch

kindred swallow
#

Please. love it

sleek granite
#

should have one that just spawns half a jimbobread man

#

table scraps.....

rare shell
#

please explain pray button

kindred swallow
#

Loose change?

astral glade
#

you can press it once (1) per blind and a random event will play

#

itll cost a hand and a discard

dapper helm
#

lyman can i dm you a thing

rare shell
#

shore

rare shell
#

i was thinkin about "what if events in balatro" and then "event blind" but pray button is infinitely funnier

astral glade
rare shell
#

why have you forsaken me

astral glade
rare shell
#

i have not but i see lumpy worked on it

astral glade
rare shell
dapper helm
#

you based it off that...

rare shell
#

i wish i could find my ut garfield sprite

dapper helm
#

item button when

#

backpack joker allows you to store consumables in your item menu

rare shell
#

backpack hero mod when

astral glade
dapper helm
#

so real

#

wait could you make a shop button that lets you open the shop?

astral glade
#

mm

#

maybe?

dapper helm
#

lets fucking gooooooo osfe shopkeeper real

rare shell
#

you've jinkled your last jonkle

astral glade
dapper helm
#

would shopkeeper even be any different balance wise in balatro? i feel like having all her perks but balatro version would be exactly as overpowered as she is in osfe

astral glade
sleek granite
#

Items....

astral glade
#

detour on the shop button

#

to see if i can

#

issue is idk how to

sleek granite
#

shop button goes hard with perkeo

astral glade
#

make it joker activated...

rare shell
#

we need more difficulty mods for balatro

sleek granite
#

we need balatro hard mode

astral glade
#

use pray every blind

sleek granite
#

i mean houserules is

cunning silo
#

Good morning

sleek granite
#

a thjng

#

gm feder

rare shell
#

feder jumpscare

#

hi feder

astral glade
#

hi feder

kindred swallow
#

good morn

sleek granite
#

feder i made Thac suck less (there is a bug fix update)

dapper helm
# cunning silo Good morning

good morning feder i pinged you in the middle of the night cause someone was trying to do stuff with the tag collection page

sleek granite
#

||there is also a new thing in the update!|| ||hee hee!|| ||hoo hoo!||

astral glade
#

second joker tarot...

sleek granite
cunning silo
sleek granite
#

i really oughta figure out how to make a new UI element

cunning silo
#

That’s so cool

#

Great job

astral glade
#

thanks,, shop may not

#

exist

#

but pray will

sleek granite
#

been procrastinating on my secret third API for a while because of it

dapper helm
cursive compass
# astral glade

add a mechanic where you can increase your affinity with certain gods to get benefits from praying

cunning silo
cunning silo
#

I got to the tag Ui and added some stuff for Tag api

cunning silo
kindred swallow
dapper helm
sleek granite
#

feder i also replied to you
i think you're cool

viscid spear
astral glade
sleek granite
#

meat...

dapper helm
#

it could fit as an oddity maybe

cunning silo
sleek granite
#

Offering!

astral glade
#

alright whats cooler, offerings and multiple deities or a random event

dapper helm
#

"hymns of lord jimbo"
"artifacts of triboulet"
"skull of yorick"

sleek granite
#

spectral cards that semipermanently change how Pray works by switching the table of results

astral glade
#

cuz one will take a decade

sleek granite
#

pray to one of the balatro pantheon

jimbo todd steven chaos andy mrbones

dapper helm
#

the coolest is 2 different versions, the easier one first then the harder one in separate files

astral glade
#

how about this

#

ill do the basic version now

sleek granite
#

balatheon

astral glade
#

and then do the next one when the semester is over and i have more time

cunning silo
#

Sure

#

Sounds good

sleek granite
#

i forget most of this chat is schoolchildren

sleek granite
#

i feel old now

dapper helm
#

not most?

astral glade
dapper helm
#

like half

astral glade
#

also im 18 im in college

sleek granite
#

skill issue

#

i already graduated college with two degrees at 18...

astral glade
#

sounds like youre a nerd

sleek granite
fickle elbow
#

ello

astral glade
sleek granite
#

oh thats cool

#

i should hope it checks can_use (if its random that is)

cursive compass
#

is this something you're actually doing or are you just messing around

astral glade
#

actually doing

sleek granite
#

actually messing around by doing

fickle elbow
#

pray button

viscid spear
astral glade
#

i have a load of events done already

fickle elbow
#

add smiting

astral glade
#

still need to make a lot thoooo

sleek granite
#

smite me

astral glade
fickle elbow
#

your praying was bad you die

sleek granite
#

stones rain from the stones

#

does it cost a hand and discard because hands are the right hand and discards are the left hand...?

dapper helm
#

"lightning strikes you directly" destroys all cards in hand

astral glade
#

yes?

#

LOL

sleek granite
#

thats cute....

fickle elbow
#

pays hand and discard just to get smited

#

god hates you on this day

sleek granite
#

woe be upon ye

#

given that having 0 cards in hand draws a new hand, that actually probably gas

dapper helm
#

true

sleek granite
#

i should try to implement isaac pills....

lavish jackal
sleek granite
#

balatro skill issue edition

iron oyster
#

hello!

lavish jackal
#

balatro underthemayo edition

astral glade
#

chat did you know that 5 stone cards do not win the first blind

shy pivot
#

i don't see how

iron oyster
#

too op

sleek granite
#

its high card

kindred swallow
#

no mult

iron oyster
#

they should make it so stone cards give 11 chips

sleek granite
#

so its like 255x1

lavish jackal
cunning silo
sleek granite
#

ore be upon ye

astral glade
#

GOLD

lavish jackal
#

yooo

cunning silo
iron oyster
#

is that modded?

sleek granite
#

ore of a kind is the best mod

cunning silo
#

Codex Arcanum

sleek granite
#

"is that modded"

#

chat,

kindred swallow
iron oyster
sleek granite
#

modding chat, is this real

stone brook
#

me when im in the soup store

#

wtf there's only soup here!

shy pivot
#

are any of us real

sleek granite
#

wheres the pants

cunning silo
sleek granite
#

im at mods

cunning silo
#

what do you mean youre at mods?

shy pivot
#

why are you buying soup at the mods store?

iron oyster
#

ayo true im in modding chat. just noticed that

#

crazy shit

lavish jackal
#

Gonna have to implement this next into Balatrostuck

#

this is gonna be really funny

cunning silo
lavish jackal
#

Specifically because

#

When you start the train its like

#

You get a free Alchemical

#

you use it

#

you use one other consumable

#

you get a free Alchemical

#

repeat ad infinitum

viscid spear
lavish jackal
#

that is the point

viscid spear
#

feel like every 3 would be better imo

astral glade
#

HOLY SHIT

#

I MADE A DISCOVERY

fickle elbow
#

unusable

cunning silo
#

XD

#

this is funny

astral glade
#

cuz i got no jokers

dapper helm
#

eternal joker tarot...

astral glade
#

theyre usable

#

just not sellable

dapper helm
#

ohhhhh

#

thats pretty cool

viscid spear
#

also think this is finished maybe. might make it shinier

dapper helm
#

new houserule

lavish jackal
#

That'd be an interesting challenge

fickle elbow
#

they are infinite you can use them forever

lavish jackal
#

No?

#

Using consumables is different

fickle elbow
#

ik

lavish jackal
#

You just cant sell them

astral glade
lavish jackal
#

oh thats sick

fickle elbow
#

diabolical

cunning silo
#

thats fun

lavish jackal
#

Newt how the fuck do you cook so hard

astral glade
#

i assume the other stickers work too

astral glade
lavish jackal
#

Could you help me figure something out actually

cunning silo
#

you are indeed cooking

viscid spear
#

peeking

lavish jackal
#

Im thinking of how to do Aspects on Balatrostuck

runic bloom
#

what asset do u download to make mods work in the steamodded thing

lavish jackal
#

Passive effects that don't really fit into any one category

cunning silo
#

and then the aspect is displayed in run stats

rare shell
cunning silo
#

like the planet menu, but for the levels. and the chosen aspect has a different color or something

astral glade
viscid spear
#

im glad you like the meat joker art lol

lavish jackal
#

the more important part is the effect

#

Like, how do you enforce something like