#💻・modding-dev

1 messages · Page 290 of 1

tepid crow
#

I certainly wouldn't bet on the first

#

you gotta perkelele all over them (idk what you mean by "dynamic descriptions")

graceful magnet
#

if I was editing the wrong file none of these would appear in the Collection

#

all of my Jokers are on the same file

tepid crow
#

change the name (not key) to catboy and see if it changes in game

graceful magnet
minor furnace
#

chat I think that's a little strong for Uncommon

graceful magnet
#

now I made 5 Jokers at once, and 2 of them worked

modern kindle
tepid crow
#

idk, reinstall steamodded?

graceful magnet
#

and the three that didn't work all have a calculate

I wasn't surprised this didn't work but I'm kinda baffled it doesn't

graceful magnet
#

like

#

half an hour ago

tepid crow
#

did you fully reinstall by deleting the old one?

graceful magnet
#

fully gone right now, and all except for my mod on top are currently disabled

#

I will reinstall

paper zealot
#

This is always returning 30/30 and ignoring the result of the RNG check, so I guess the problem lies with those

graceful magnet
#

I have somehow gone down a version?

tepid crow
graceful magnet
#

Still nothing!!!!!!!!!!!!!!!!!!!!!!

worthy stirrup
paper zealot
#

Is there another mod present changing the id of playing cards? (?!)

graceful magnet
#

there are no other mods

minor furnace
graceful magnet
#

urgh I turned off DebugPlus so that's a no right now

stark geode
#

game balence? whats that

tepid crow
#

you can try re-enabling db+ and starting a new run though

minor furnace
#

I would recommend doing that

graceful magnet
#

currently the code is still ignoring the probability checks

#

NOTHING!!!

worthy stirrup
minor furnace
#

I've found often times when I change a joker's code I need to start a new run or else I get unintended results

tepid crow
stark geode
worthy stirrup
#

i have no idea

minor furnace
tepid crow
#

yeah true

worthy stirrup
#

theres a mod that fucking adds skill trees

stark geode
#

aw hell naw

graceful magnet
#

what fucking cosmic ray shit happened that my game instance specifically cannot make this card work

worthy stirrup
#

im not going through 55 pages of mods to see what mod does that

tepid crow
#

Grim

worthy stirrup
#

thank you

stark geode
#

works for me

tepid crow
stark geode
#

idk what you did

minor furnace
#

ah print(), my best friend

tepid crow
#

I'm getting reaction bombed

worthy stirrup
#

theres 55 mod pages in this modpack

graceful magnet
#

time to see what doesn't show up

#

HAHA

NONE OF IT

#

not even the context.individual check

worthy stirrup
#

why did my dumbass try to render 900 cards at once

stark geode
tepid crow
graceful magnet
minor furnace
#

wait shouldn't it be pseudorandom() not psuedoseed()?

graceful magnet
#

I have used both

#

if it seems like a logical debug, I have tried it

tepid crow
graceful magnet
#

can you guess what doesn't show up

tepid crow
#

do prints show up when you put them in other places?

minor furnace
#

so uh I also copy/pasted it and it works just fine for me...

graceful magnet
#

yeah

tepid crow
sturdy compass
#

ouch

tepid crow
# graceful magnet yeah

Welp. If the prints are showing up in other places, but not in calculate, that presumably means calculate isn't getting called; time to figure out why 🙃

graceful magnet
#

ah-

so one of the jokers I've already made, that I know works, and uses a calculate

#

just

#

doesn't

sturdy compass
#

smods moment?

graceful magnet
#

updated twice in the past hour

sturdy compass
#

bruh

graceful magnet
#

okay so if it uses a calculate, it doesn't work for me

minor furnace
#

that's wild

sturdy compass
#

insanely weird

minor furnace
#

and you have smods and lovely up to date

stark geode
#

i got it working

#
SMODS.Joker{
    key = 'catgirl',
    loc_txt = {
        name = "Catgirl",
        text = {
            "Scored {C:attention}3s{} have a {C:green}#3# in #1#{}",
            "chance to score {C:mult}+30{} Mult, and a",
            "{C:green}#3# in #2#{} chance to earn {C:money}$30{}"
        }
    },
    rarity = 2,
    discovered = true,
    cost = 8,
    blueprint_compat = true,
    eternal_compat = true,
    perishable_compat = true,
    pos = { x = 4, y = 1 },
    config = { extra = { multOdds = 3, munOdds = 9 } },
    loc_vars = function(self, info_queue, card)
        return { vars = { card.ability.extra.multOdds, card.ability.extra.munOdds, (G.GAME.probabilities.normal or 1) } }
    end,
    
    calculate = function(self, card, context)
        if context.individual and context.cardarea == G.play then
            local multHit = 0
            local moneyHit = 0
            if context.other_card:get_id() == 3 then
                if (pseudoseed("catgirl") < G.GAME.probabilities.normal / card.ability.extra.multOdds) then
                    multHit = 1
                end
                if (pseudoseed("catgirl") < G.GAME.probabilities.normal / card.ability.extra.munOdds) then
                    moneyHit = 1
                end
                if moneyHit == 1 and multHit == 1 then
                    return {
                        mult = 30,
                        dollars = 30
                    }
                elseif moneyHit == 1 then
                    return {
                        dollars = 30
                    }
                elseif multHit == 1 then
                    return {
                        mult = 30,
                    }
                end
            end
        end
    end
}
#

you werent actually cheb=cking if your money or mult was hitting

#

you were just returning mult and money

minor furnace
tepid crow
#

yes, there are issues in the code

#

but it's also just not executing

minor furnace
#

they intentionally took the check out

digital niche
#

im trying to do the animation of the card flipping and turning into another enhancement, am i missing something?

stark geode
#

ah

tepid crow
stark geode
#

wait so it just

#

doesnt

graceful magnet
#

yeah all of my cards that use calculate are in fact, not calculating

stark geode
#

what did you do????

sturdy compass
#

Wtfff 😭

tepid crow
graceful magnet
#

this is a unique to today problem as yesterday I made two jokers that use calculate

#

how do I go about updating lovely

sturdy compass
#

@last sentinel Hey looks like your problem might not be super unique Sob_praying

tepid crow
digital niche
tepid crow
#

with what crash?

stark geode
digital niche
minor furnace
digital niche
minor furnace
#

actually wait

minor furnace
tepid crow
graceful magnet
graceful magnet
digital niche
graceful magnet
minor furnace
#

it doesn't matter, but it hurts my eyes

digital niche
#

what is indentation?

tepid crow
# graceful magnet

Wtf, this all seems fine. You might have to jump into the lovely dumps

stark geode
#

please tell me youre joking

minor furnace
#

it's good practice at least

graceful magnet
stark geode
#

required in python

minor furnace
stark geode
#

i cant read code without it

#

well i can

minor furnace
#

yeah it literally makes code readable

stark geode
#

but it hurts me

#

same with how my gf does variables

digital niche
tepid crow
minor furnace
digital niche
minor furnace
#

you should be flipping othercard

stark geode
#

its so cursed

minor furnace
#

I was choosing to ignore the indentation

digital niche
peak obsidian
#

Currently working on the Infinite Rank for my mod, how would you make it so the rank balances chips and mult after scoring?

graceful magnet
#

nope okay

digital niche
#

got a crash when trying to use the joker, it should make steel cards into "claws" card (a custom enhancement i made)

normal crest
#

instead of "claws" use "m_modprefix_claws"

graceful magnet
#

wow the funniest part of this whole thing is that calculate doesn't work for vanillas either

minor furnace
graceful magnet
#

wait

stark geode
#

uninstall and renistall

graceful magnet
#

wait

#

wait

#

wait

graceful magnet
#

Yeah okay I know what's up now

#

To make one of the other jokers work, I may have also patched out the entirety of Card:calculate_joker

minor furnace
#

erm

tepid crow
#

mf I asked you what was in your lovely patches

minor furnace
#

what the scallop

minor furnace
graceful magnet
graceful magnet
#

the commented lines are what I'm imagining will fix it, I basically overwrote the whole thing accidentally

stark geode
#

-# def not because idk how patching works

tepid crow
#

oh you overwrote, not patched

graceful magnet
#

yeah

tepid crow
#

💀

normal crest
#

the original has 2 return values

#

so make sure to keep those in

stark geode
#

so what im seeing is you did hooking without hoooking the og function back in

graceful magnet
normal crest
#

local ret1, ret2 = caljoker(self, context)

#

return ret1, ret2

minor furnace
#

patching felt way more intuititve

#

but now I do both

stark geode
#

when i was first told about it it made no sense

#

but eventuall i realized how it works

red flower
minor furnace
#

patching is you literally just injecting whatever line of code you want

graceful magnet
stark geode
red flower
minor furnace
stark geode
#

Wait were you trying to do an observatory

graceful magnet
#

yeah

stark geode
#

Lmao

#

Rip

#

First thing you check is if there's a context for what you are doing

#

At least that's what I do

red flower
#

this one is easy to miss at least

stark geode
#

Fair enough

#

Modders on their way to break a whole core game mechanic

graceful magnet
# red flower

so you're telling me the past 2 hours could've been avoided if I had just done this

red flower
#

yes

stark geode
#

Yes

minor furnace
graceful magnet
#

I'm gonna jump out of a 7th story window

tepid crow
#

modding be like

minor furnace
#

programming be like

#

in any capacity

stark geode
tepid crow
stark geode
#

Stack overflow?

tepid crow
stark geode
#

I go to gpt with my problems/j

#

Jk jk

tepid crow
#

bout to vibe all over my codebase

stark geode
#

She vibin on my codebase til I debug

#

I'm so glad I got into programming

graceful magnet
#

EVERYTHING WORKS NOW

stark geode
#

It's so much fun

#

-# I wish I was dead

stark geode
#

Do you have art for catgirl yet?

stark geode
stark geode
minor furnace
#

Ctrl+F is your best friend

stark geode
#

The more I read the better I understand the game

stark geode
minor furnace
#

being able to search through all the files

tepid crow
#

I just github / the smods stuff lol

stark geode
#

I just leave the card file open in my workspace at all times

minor furnace
#

so do I

stark geode
red flower
#

i have a picture of jimbo with me at all times

stark geode
minor furnace
#

misc_functions and common_events also stay open for me

red flower
#

UI_definitions is better

stark geode
#

I should just have all of them open

tepid crow
#

I just have all of them open lol

#

bit annoying when it starts finding results in the image files though 🤣

graceful magnet
stark geode
#

Me after I steal the code for DNA and make some small changes to it

stark geode
graceful magnet
minor furnace
#

for sure

stark geode
stark geode
graceful magnet
#

that's the first page of my second wave of modded Jokers done

graceful magnet
minor furnace
#

regigigas 👀

#

my man

graceful magnet
stark geode
#

I try to make my own joker art but most of it is modified vanilla

gilded narwhal
#

guys why is it slightly wider

#

how do i fix this

minor furnace
gilded narwhal
#

It's like 10 pixels

stark geode
minor furnace
#

X5 is strong for uncommon

stark geode
#

It takes 2 antes to get online tho

gilded narwhal
stark geode
graceful magnet
minor furnace
tepid crow
stark geode
#

(my mod is incredibly unbalanced)

#

(perkeo galore)

tepid crow
#

(it becomes useless)

thin anchor
#

eat bricks

minor furnace
stark geode
graceful magnet
stark geode
#

Mine are just whatever I feel like adding

#

That relates to perkeo

#

Like the perkolator

#

It makes perkeos

slender mango
#

hi i appear for 3 seconds just to disappear again

stark geode
minor furnace
#

screenshot is old, but the sprite and name change as it levels up

manic rune
tepid crow
#

I think he means "when score gets set on fire"

manic rune
#

ohh

minor furnace
#

yeah it's when the score is set on fire

graceful magnet
#

Siffrin/Triboulet is currently the leading naneinf strat in my mod and this is a fairly consistent strat because I have a deck that starts you with 2 Soul cards

tepid crow
#

which you should probably rephrase the card to if you haven't already tbh

graceful magnet
tepid crow
#

lol

#

just keep selecting/unselecting straight flush during ante 1

graceful magnet
#

my other two Legendaries, which are not quite as silly billy as Mimetta and Siffrin

minor furnace
manic rune
stark geode
#

I don't really have legendaries in my mod

#

It's all perkeo rarity

graceful magnet
stark geode
#

I have a "legendary" but half the meme is that it's common

#

So it has the weight of one

graceful magnet
#

was astonished when I got things working again that I'd actually coded this one correctly first try

stark geode
#

These are all pretty cool

graceful magnet
#

these are the other two I'd made today

rapid stag
#

is there a context that is called on save load and the state is during a blind?

#

it seems like something here is causing this error

gilded narwhal
tired skiff
#

anyone know the hex color code of the money

#

nvm found it

manic rune
dense adder
#

i have no clue why this is scoring at odd times, it scores before, after and during

   key = 'm_stain',
    loc_txt = {
      name = 'Stained Glass',
        text = {'{C:green}#1# in #2#{} chance for',
        '{X:chips,C:white}X#3#{} Chips',
        },
      },
    --img
    atlas = 'Silver_Atlas_SEP',
    pos = {x = 2, y = 0},
    --vars
    config = {extra = {odds = 4, xChips = 2}},
    loc_vars = function(self, info_queue, card)
      return { vars = {(G.GAME.probabilities.normal or 1), card.ability.extra.odds, card.ability.extra.xChips} }
    end,
    
    calculate = function(self, card, context)
        if context.cardarea == G.play and context.scoring_hand then
            if pseudorandom('StainedGlass') < G.GAME.probabilities.normal / card.ability.extra.odds then
                return{
                  xchips = card.ability.extra.xChips
                }
            end
        end
    end
graceful magnet
#

when exactly do you want it to score

dense adder
#

only during scoring

graceful magnet
#

of?

manic rune
dense adder
#

the playing cards that have this enchant

graceful magnet
#

yeah then context.cardarea == G.play and context.individual

manic rune
#

i think it should just be a string

#

no need for pseudoseed inside it

graceful magnet
dense adder
#

i know, it was being odd, make since it was a while since i made something with scoring cards

red flower
rapid stag
#

i guess psuedoseed is specifically for random from element then

rapid stag
stark geode
#

toughts on the art for perkeo template

tired skiff
#

is it possible to give create a random joker with rental when not on gold stake

red flower
#

afaik

graceful magnet
tired skiff
#

may i please take a peek at the code

graceful magnet
tired skiff
#

im trying to make a rental joker

#

i have the code to make a random rare joker

#

i want to add rental to it

graceful magnet
#

read the code and comments

peak obsidian
#

yayyyyyyyyyy i finally did something

graceful magnet
tired skiff
#

but isnt that to a alreddy existing joker

#

not one that is being created

#

or am i stupid

graceful magnet
#

the very first thing this does is create a new Joker

#

it spawns one to add these modifiers to

tired skiff
#

oh im blind

#

my bad

peak obsidian
rapid stag
tired skiff
#

am i missing somthing

dreamy thunder
#

Rarity shlould be a number iirc

#

Numbers are on thr wiki

graceful magnet
#

1, 2, 3, and 4

#

C, U, R, L

dreamy thunder
#

No they dont work

#

With add_card

#

They're like 0.98 or sum

stark geode
#

or k_[mod prefix]_[rairity name]

#

for a modded rairty

dreamy thunder
#

Why do it seperately

tired skiff
dreamy thunder
#

stickers = {}

#

And fill the table with the stickers you wamt to apply

stark geode
tired skiff
dreamy thunder
#

Code?

tired skiff
dreamy thunder
#

my last remaining braincell couldnt understand anything

#

Sorre

#

Itd 5 am

rapid stag
# red flower what's it doing

when i start a blind, i have it set a value and change its appearance. if i then quit to the main menu and then load the run, it reverts appearance. i don't know if the value is bad, though

iron mantle
#

I just tested it myself and it doesn't work 💀

red flower
chrome widget
#

You seem to have some other context in your full mod that's causing the failure

#

I genuinely can't replicate the isolated issue

rapid stag
red flower
rapid stag
iron mantle
#

The only other contexts I have is one that occurs when glass cards are scored so they don't get shattered when a specific joker is present

#

I guess I can disable that lovely patch for a bit and see if that fixes it

chrome widget
#

I mean "context" in general

#

Not specifically the SMODS calculation contexts

#

Context as in, the context of your full mod

rapid stag
chrome widget
#

I can attempt to test your full mod if you'd like

iron mantle
#

Wait so just to clarify, you ran my lua file as is with your patch and it worked fine right?

red flower
chrome widget
#

I grabbed specifically the Thing joker from out of it, set it up within my mod, and then loaded it

rapid stag
chrome widget
#

Changed no code from within it, and the patch file I was using earlier was also active

red flower
rapid stag
slender mango
red flower
stark geode
stark geode
#

Can't play photochad

rapid stag
red flower
#

idk i just did that by trial and error

manic rune
#

what am i doing wrong 💔

chrome widget
#

You need to put your mod prefix in front of the atlas

#

On the blind itself, it should access [prefix]_HSRBlinds since you didn't set the prefix settings on the Atlas load

sonic cedar
#

hi modding dev how do you affect a joker’s weight(for testing purposes so i can see if shop conditions work properly)

manic rune
#

my jokers used "Jokers" as atlas so i didn't think u needed a prefix

red flower
red flower
sonic cedar
#

does debugplus have a spawn command maybe

red flower
#

if it does i havent found it

#

you can probably do it with commands

#

i have a lovely patch to do it but it's not very clean

sonic cedar
#

will it work (i have never patched)

rapid stag
red flower
sonic cedar
#

wait you’re cooki—now i have to learn tags oh god

tepid crow
sonic cedar
#

ok but this guy is uhhhh not collection friendly

weak gate
#

there isn't a context for when a joker is destroyed, is there...? start_dissolve just seems to be used both in Ankh, Hex but also when a card is sold...

tepid crow
sonic cedar
#

guess we learning tags

tepid crow
red flower
red flower
sonic cedar
rapid stag
red flower
tepid crow
#

something something minimum reproducible example

sonic cedar
red flower
sonic cedar
#

KNEW it

tepid crow
# rapid stag

that seems like the opposite of a minimum reproducible example

graceful magnet
# normal crest return ret1, ret2

oh uh, you helped me with making this patch, so I should report that this isn't working anymore, so the Joker that uses it is out of commission at the moment

rapid stag
#

hhhh it's 4 am i'm just gonna go to sleep and ram my head against this some more tomorrow

sleek siren
#

How can I render a UI box above everything?

peak obsidian
#

finally learned how to implement blinds
wondering if i should change the base mult

paper zealot
# sleek siren How can I render a UI box above everything?

There's a couple tricks. If you just want it to display above cards and other in-game HUD elements, you can set self.attention_text of the root UIBox to some string (doesn't matter what)

If you want it to show up above everything, including all GUI elements in pause menu and main menu, you want to set config.instance_type = 'POPUP' on creation of your UIBox

sleek siren
#

ahhh!!! Ok! Thanks! ^^

paper zealot
#

If you want a specific layer, the instance_type options (in order) are:
"NODE"|"MOVEABLE"|"UIBOX"|"CARDAREA"|"CARD"|"UI_BOX"|"ALERT"|"POPUP"

sleek siren
#

Cool! ^^ Thanks so much!

iron mantle
chrome widget
#

That is correct

paper zealot
chrome widget
#

The instances that Jokers are actively created are being spawned in the shop UI, in a booster pack, or from something that creates jokers such as Rif-Raff or Judgement

tepid crow
chrome widget
#

Is that not what you need?

iron mantle
#

Oh wait I see I must've misunderstood the wording of what unified context means then

chrome widget
#

What specifically do you need the context for?

#

Typically, when I use it to encapsulate that a joker is added to the player's joker slots, I use this full context check:
if (context.buying_card and context.card.ability.set == 'Joker') or (context.joker_created and context.card.area == G.jokers) and not context.blueprint then

iron mantle
#

the context to run when a joker is added such that it occurs after the joker is already added to the list

chrome widget
#

So this is "when you are buying a joker" or "a joker is created directly in the joker slot", which are the two general situations I need to event-drive obtaining a joker

iron mantle
#

cuz the default card_added context occurs before it's added meaning I can't meaningfully interract with the joker that was added

#

I guess the best way I could describe what I need is that buying_card works absolutely fine for my purposes because the context occurs after the joker is emplaced into the joker array, allowing me to interact with it. However this context does not include the judgement and booster pack cases

chrome widget
#

It only triggers when you buy a joker (which I believe includes booster pack selection), or when a joker is created directly in the joker slots (rather than somewhere else)

#

If it doesn't include booster packs though, that is my fault, I need to ensure the patch covers that

iron mantle
#

OK, lemme try it out, this makes much more sense cuz I thought it was a combined thing of card_added and buying_card from the wording 😅

gentle rain
#

ignore the if context.selling_self

radiant plank
#

how would one go about removing the shine effect from booster packs?

timid parrot
peak obsidian
timid parrot
#

I think the effect should be changed

peak obsidian
#

?

timid parrot
#

Not sure what your intent was

sleek siren
#

How can I allow for multiple lua src files?

timid parrot
#

But changing which suit is debuffed removes the challenge it posed

sleek siren
#

Thanks! ^^

peak obsidian
normal crest
#

the line was changed it seems

#

so that should do it

timid parrot
peak obsidian
timid parrot
#

Alr

#

Still has the fundamental problem tho…

#

I'd honestly go more on the side of aiming at the player's biggest vulnerability

#

debuff the suit with the most cards

peak obsidian
timid parrot
#

cuz I take it your goal was to make this a buffed version of the suit blinds?

timid parrot
#

so yeah you pretty much do that by giving a distinct target

iron mantle
chrome widget
#

That's great!!! Sorry for all the confusion orz

sleek siren
#

How can I tell how many slots I have?

#

(joker and consumable slots)

manic rune
#

what am i doing wrong

#

💔

#

one sec

#

i tried all of those and didnt work

#

kept saying blind is nil watdafaq

daring fern
#

Is it possible to retrigger without returning?

cold glen
daring fern
lucid owl
#

how would one check when the shop is rerolled?

#

just to count down a value whenever that happens

tepid crow
#

check what flash card does

manic rune
#

isnt there a context for that

#

lemme check

lucid owl
#

oh wait i never considered flash card

manic rune
#

yeah, theres one

lucid owl
#

yeah there's context.reroll_shop

#

hell yeah i just didn;t read docs lmao

manic rune
#

all good lol

manic rune
#

i actually cant figure out what im doing wrong

#

.

#

wait

#

is it the uppercase shit

#

nope, doesnt seem to be it

sullen fern
manic rune
#

pata

manic rune
#

💔

sullen fern
# sullen fern yeah.

fun thing i’m gonna impliment in these is that they actually play the drums when you use them

graceful magnet
tall wharf
tall wharf
#

about to explode

karmic arch
#

baba is you
it is room

reef belfry
tall wharf
#

i am dead

zealous glen
tall wharf
#

no

#

what is G.ROOM again

zealous glen
#

Maybe physical game space, which might go beyond the window

#

(Like for the discard pile, or other UI elements hidden offscreen)

tall wharf
#

idk why it does this 😭

scarlet spire
#

does SMODS.add_card not support custom stickers? if the table has vanilla sticker keys, they're added. if the table has invalid sticker keys, it crashes, but if the table has sticker keys from my mod (that I know are valid) it just doesn't add anything

zealous glen
#

Debug can draw bounding boxes if you want

#

I had mouse cursor position calculation if you want

tall wharf
lucid owl
#

why is this not flipping cards back over when played 😭

#

they're flipped back to their face when drawn, but when played they stay flipped over which obviously isn't intended

rose dragon
tall wharf
#

YES

#

YES

#

YES

#

HOLY FUCK

#

@zealous glen

lucid owl
#

balatrolitaire is insane

tall wharf
#

SUCK IT NONBELIEVERS

rose dragon
rose dragon
reef belfry
reef belfry
#

do i have to make an enhancement that goes like "na dawg u cant enhance this card" or should i just not make it negative

lucid owl
#

as in, stuff that was face-down is flipped over even if it wasn;t played

rose dragon
#

return false otherwise?

lucid owl
#

actually that works, i had another function conflicting

#

thanks lol

zealous glen
# tall wharf

I’m glad I had decided to not even try to implement something similar for my first Joker idea ever

zealous glen
zealous glen
lucid owl
last sentinel
#

yeah I was getting suspicious when I was just copying files from other modded decks to my mod and it still wasn’t working

#

My hunch of “there’s only one line of code that I wrote here maybe I’m not the source of the issue” didn’t stop me from spending hours trying everything though lmao

tall wharf
manic rune
reef belfry
#

whole lotta

#

i should probably tone down the purple for the background

manic rune
#

is this evil for a small blind

tall wharf
manic rune
#

actually nvm

#

x0.75 mult

#

:3

rose dragon
manic rune
#

simple effect

tall wharf
manic rune
#

simple effect

shell timber
#

x0 base mult?

crisp coral
#

the ://RUN in question:

reef belfry
#

man im dead

tall wharf
#

sue

#

pseudorandom isn't a common word

zealous glen
iron iron
#

how do i make a joker give free rerolls

daring fern
reef belfry
#

does this seem a little excessive for an item that has a 1 in 3 chance of creating a random tag of 3 instances

next timber
#

how do you use the colour of a custom suit in text? i was told to use {C:suit} but {C:suns} for a suit with the key suns isnt working
edit: nvm figured it out, {V:1} and passing it into loc_vars vars.colours

craggy mesa
#

is there like a documentation for modding :/

paper zealot
craggy mesa
#

thank you

#

i searched it for like an hour and couldnt find

paper zealot
#

Might be less hassle than providing it in loc_vars everywhere it's used

gentle rain
#

staring at the code again and by no means should it trigger more than once

#

unless the juice_card_until is fucking it up?

manic rune
#

how do i change the sprite of a blind through code

red flower
manic rune
#

i figured out i need to change this, but it currently doesnt re-render, i think

tall wharf
manic rune
#

set_sprite_pos, right?

#

i tried, didnt seem to work

tall wharf
#

don't have source code right now so can't help

manic rune
#

-# it crashed

#

oh

#

nevermind

#

i needed to use G.GAME.blind.children.animatedSprite:set_sprite_pos

#

:3

runic pecan
#

bump

lavish lake
#

And also

#

How tf are you supposed to do that???

red flower
gentle rain
#

i think the issue might be that each card held in hand is incrementing it lol, had a similar issue with another end-of-round incrementing

manic rune
red flower
west mason
#

no shader for the edition yet because i dont want to go crazy for now

zealous glen
manic rune
#

it should

zealous glen
#

I remember Myst thinking it would be incompatible

manic rune
#

hmmm

#

dunno

#

try my mod to test it out :3

rapid stag
manic rune
#

😭

rapid stag
runic pecan
runic pecan
# runic pecan I mean...

This one I can use G.P_JOKER_RARITY_POOLS.hololive_Relic, but I need separate pools for 4 branches (JP, ID, EN, and DEV_IS) and 17 generations.

primal robin
#

Is there a way to crash a game via debugplus?

rapid stag
#

good joker effect "gains x.025 mult every time the game crashes"

maiden river
primal robin
#

It doesnt crash a game, this error catched by debugplus

maiden river
#

That makes sense, I suppose

#

Why do you need to crash the game anyway?

runic pecan
primal robin
maiden river
#

Oh

#

Can't you just take a screenshot of your mods folder? I'm assuming you need something more specific if not

daring fern
zealous glen
primal robin
maiden river
zealous glen
#

I meant like

#

nil()

maiden river
#

DebugPlus would probably catch that, like the assertion

frosty dock
#

debugplus catches any errors that happen in the eval

#

you need to make it crash elsewhere

spring lantern
#

these thin white lines just started appearing on the left side of some jokers, did something misalign in the atlas?

frosty dock
#

like setting something to nil that the game expects to be there

frosty dock
manic rune
spring lantern
#

i have no clue how this got misaligned tho

frosty dock
#

if you have an ObjectType for a pool, you can just pass that as the set into create card functions

zealous glen
#

It’s just how love2D works

#

Maybe

spring lantern
#

either way i need them gone

zealous glen
#

Try adding color data on the invisible pixels of your art

#

Firch had a Python script for it

spring lantern
#

what the fuck

sacred quarry
#

random thought here, but I am a music producer and I wanted to record a video making balatro music for a mod pack, but I don't really have lua experience, would anyone need custom music for their mod?

zealous glen
#

Cursed Balatro

sacred quarry
#

I don't of any balatro specific music, but I have a page with my other genres on it if youd like

zealous glen
#

Probably helps

hushed field
#

I suspect most mod devs would welcome a custom soundtrack, haha

zealous glen
#

I’m not currently planning to add music to my mod but I could consider it

#

And I could ask around

hushed field
#

If there's a mod you're enjoying playing with, I'd honestly just shoot the dev a message. Chances are they'd happily accept some music

zealous glen
sacred quarry
hushed field
sacred quarry
#

I'm thinking of making a bunch of different options, and recording the process for all of them and if someone chooses one, just using that for the vid

native zinc
#

bad joker idea:

Bohrium
x7 Chips and x7 Mult. Halves every 2.8 minutes.

hushed field
#

I should try and record another video today 🤔

sacred quarry
#

I had a friend work on a sonic mod and they made arcade sounding hiphop music for it, which was super unique and fun

reef belfry
#

This is gonna be one hell of a joker to make

manic rune
#

omg reverse 1999

zealous glen
hushed field
#

Depending on the style of music you make, I think there's a lot of mods you can do great with. If you make anything Hans Zimmer-y I'll snatch you up for my movie mod 😋 but I think there's a bunch of game inspired mods, and some general mods. Ortalab might be cool, if they'd like it, because that mods concept is 'balatro from an alternative universe' which is an angle to make music with for sure

rapid stag
tall wharf
#

hewwo

hushed field
#

If I start on this Biome mod I'm forcing you to work on it with me, Victin, haha

zealous glen
manic rune
#

but also

tall wharf
#

i wasn't in that list

#

I'm probably too stupid to know

rapid stag
#

@tall wharf@tall wharf@tall wharf@tall wharf@tall wharf@tall wharf@tall wharf

manic rune
#

its card.children.center:set_sprite_pos({x = 0, y = 0})

primal robin
tall wharf
#

😭

manic rune
#

not set_sprites

zealous glen
#

How about having the children always exist but only rendering it some of the time

primal robin
#

Where's my daily stream filled with adhd?

zealous glen
#

*didn’t read the code*

tall wharf
hushed field
# sacred quarry ahhh thats super cool

Considering you're making stuff for YouTube, I'd also maybe see if Paperback or Extra credit would enjoy custom music, as they're mods that get content made about them

zealous glen
primal robin
#

It's joeover

zealous glen
#

Actually

#

Cosmos might make sense @clever steppe

rapid stag
manic rune
#

i remember taking a ss of someone saying how to change soul pos a month ago, hold on

#

to the cave i go

zealous glen
#

What cave

modern kindle
#

Good schmorning chat

daring fern
zealous glen
#

Schgood morning schdilly

sacred quarry
#

collaborating is always fun, but I usually only do that with other music producers. Collaborating with devs seems really cool

#

two arts collide

clever steppe
hushed field
manic rune
modern kindle
#

Hi ice and bepis

manic rune
#

hi dilly

manic rune
# manic rune

surprisingly useful since i didnt need to ask around as much :p

clever steppe
modern kindle
hushed field
#

I've tried messing around in production software to see if I can get some music going but God, music production is a whole separate skill from just knowing music, haha. I'd have a variation of the Balatro theme for each movie genre, if I could produce, haha

#

And hey hey Dilly

sacred quarry
modern kindle
#

I am thinking that development will resume today

manic rune
sacred quarry
#

I think if there is a creator who wants a specific sound than its completely welcome, but for the sake of time and pumping out a quick video that is the best route

manic rune
#

they look pretty bad but

modern kindle
red flower
zealous glen
sacred quarry
zealous glen
hushed field
#

I need JoyousSpring to have a Yu-Gi-Oh GX theme x Balatro theme mash up asap, tbf

manic rune
red flower
#

yugioh gx italian theme

zealous glen
zealous glen
red flower
manic rune
#

wha

tall wharf
#

I'm not Italian

manic rune
#

what do you mean yugioh gx italian

modern kindle
red flower
zealous glen
manic rune
#

true...

zealous glen
manic rune
#

aiko say the italian word

zealous glen
#

-# left on read

#

-# balatrojoker

rapid stag
red flower
zealous glen
#

Do you know about any mods that transform e.g. Consumeables into other Consumeables?

red flower
#

shouldnt set_ability do that too or do you need something more specific

rapid stag
zealous glen
stark geode
#

I'm losing my mind

#

How does the tooltips thing work

red flower
zealous glen
#

Do you think calling set_ability using the correct center’s method would work?

#

Don’t I need to set sprites and more too?

zealous glen
stark geode
rapid stag
stark geode
#

im trying to add tooltips to my jerker

zealous glen
# stark geode

This doesn’t make sense because you can’t hover over a Joker’s tooltip

sacred quarry
# stark geode

trying to read this code with only a little bit of JS knowledge is killing me lol'

zealous glen
#

It’s physically impossible

#

Unless you already patched that

zealous glen
#

If you move your mouse to the tooltip

#

The tooltip disappears

rapid stag
modern kindle
zealous glen
#

Because it only exists while you hover over the Joker

daring fern
tall wharf
#

sorry

stark geode
#

whne how do i make it appear with the joker

zealous glen
#

what

reef belfry
zealous glen
reef belfry
#

Well atleast i dont have to cram letters now

stark geode
#

how do i do this then

zealous glen
zealous glen
red flower
manic rune
zealous glen
stark geode
manic rune
#

dunno, u give off that vibe

zealous glen
stark geode
#

fml

tranquil panther
stark geode
#

it literally says how to do this

tranquil panther
#

Who summon me

manic rune
#

the perkeo person

tranquil panther
#

Oh

stark geode
#

hello

tranquil panther
#

Yeah

stark geode
#

perkeo my beloved

rapid stag
#

i will also summon you

zealous glen
#

do you fight or do you share perkeo

stark geode
rapid stag
#

because i need to obliterate this issue with nuclear precision

stark geode
#

my latest perkeo

tranquil panther
#

We can Perkolate the Perkolator right?

modern kindle
#

What if I consumed perkeo

stark geode
tranquil panther
#

Yeah exactly

red flower
#

chat do i need to add a yugioh card to the main menu like all the cool kids do

tranquil panther
#

It won't stop me from hoarding but-

zealous glen
#

Perkeo has two hands

tranquil panther
#

TRUE

zealous glen
rapid stag
# red flower probably not

ok so calling set_sprites(card, card, card) with either . or : just causes stack overflow. so that's not it either

red flower
#

i was thinking ash blossom because of the mod name and it also starts with a

#

but I can add the "A" union guy

zealous glen
modern kindle
#

Soon I should use my brain power to actually replace the main menu card
I ain't looked into that aspect yet

west mason
zealous glen
#

BALPOTOFGREEDTRO

red flower
modern kindle
stark geode
#
function Card:resize(mod, force_save)
    self:hard_set_T(self.T.x, self.T.y, self.T.w * mod, self.T.h * mod)
    remove_all(self.children)
    self.children = {}
    self.children.shadow = Moveable(0, 0, 0, 0)
    self:set_sprites(self.config.center, self.base.id and self.config.card)
end

local mainmenuref2 = Game.main_menu
Game.main_menu = function(change_context)

    local ret = mainmenuref2(change_context)

        --Replace j_unik_unik with 'j_perkeo' or any other card
    local newcard = SMODS.create_card({key='j_perkeo', edition='e_negative',area = G.title_top})
    G.title_top.T.w = G.title_top.T.w * 1.7675
    G.title_top.T.x = G.title_top.T.x - 0.8
    G.title_top:emplace(newcard)
    newcard:start_materialize()
    newcard:resize(1.1 * 1.2)
    newcard.no_ui = true
    return ret
end
#

this is what i use

modern kindle
#

Much obliged

tranquil panther
#

You can replace the win/loss Jimbo right.......

stark geode
#

i think so

rapid stag
stark geode
red flower
#

you can replace anything you want

tranquil panther
#

Always

zealous glen
tranquil panther
zealous glen
#

Like in-game

#

Balatro dating sim when

tranquil panther
#

Now

modern kindle
tranquil panther
#

It'll be real in 5 minutes

zealous glen
#

-# hit’em with the April’s fools

stark geode
#

i need to kiss perkeo my beloved

tranquil panther
#

Actually now fuck it

tall wharf
#

Pokémon

hushed field
#

hahahahaha

tall wharf
#

HGSS

tranquil panther
#

Real

zealous glen
tall wharf
#

wait this is modding dev sorry guys

#

wait a second

zealous glen
tranquil panther
#

(Honestly Heart & Soul is a banger ass name for a Balatro dating sim with the legendaries if someone does it feel free to yoink it. And lemme know)

zealous glen
#

Like me copying Bunco

tranquil panther
#

Anyway modding

tall wharf
#

I'm copying

#

uh

stark geode
modern kindle
tall wharf
#

I'm copying Windows XP Solitaire

hushed field
#

yeah on that note Victin, is there anything I should keep in mind when I patch additional checks into can_calculate?

zealous glen
hushed field
#

hahaha

zealous glen
#

Maybe ask whoever made it balatrojoker

hushed field
#

I'll just see if things crash then

#

I thought you made it

stark geode
#

i just copy form the base game

modern kindle
#

Vic made everything

tall wharf
#

I'm really going to copy from Windows XP

stark geode
#

nice dna code you got there

#

be a shame if i

#

modified it

tranquil panther
#

Reminds me I gotta finish up all the art for my mod so I can gently persuade folks to code it

stark geode
#

i might help wit what little time i have lol

tranquil panther
#

Basically I'm adding a bunch of my OCs as Balatro jokers. That's it.

#

I can drop the spreadsheet one sec

hushed field
modern kindle
hushed field
#

no those are tariffed sorry

modern kindle
#

Fuuuuck

manic rune
tall wharf
#

can you help me with UI

modern kindle
#

I'm gonna code bepis

zealous glen
tranquil panther
#

(Sentimental is the name of the story the OCs come from, the mod's gonna be called Dotty's Dollhouse bc I may do a second wave w/ OCs outside of that story)

zealous glen
#

@modern kindle

modern kindle
hushed field
zealous glen
stark geode
#

bruh my shit just bootstrapped

tall wharf
modern kindle
#

Aiko you don't freaking need help

#

You're powerful enough

tall wharf
#

help me do art for 1:1 lesson in UI structure

tall wharf
modern kindle
tall wharf
#

i don't

tall wharf
#

i fucked up my UI

manic rune
rapid stag
modern kindle
tall wharf
red flower
rapid stag
red flower
#

yes

manic rune
#

my UI is 100% "inspired" by JoyousSpring

#

wink wink

modern kindle
#

Yea i have this second mod i made called balatro star rail which has pretty good ui

#

I think i did a pretty great job there

red flower
#

i made a mod called balatro star rail too

manic rune
#

wtf i lost my mod 💔

modern kindle
#

Our mod now

manic rune
#

😭

modern kindle
#

Lmfao

rapid stag
# red flower yes

well idk what smods changes about it specifically, but here's the function from the lua dump cirBlech

tall wharf
#

where can i claim balatro star rail

hushed field
#

N, for your flipped jokers, are you just setting the joker to have a custom back, sprite-wise?

red flower
hushed field
#

I'm trying to see how I wanna implement mystery cards, which is an enhancement that I want to be drawn over the card back, but I'm not sure how I'd best approach that, haha

manic rune
hushed field
#

I should see how custom back art works, and then just see if I can use some dummy stickers to paste on some sprites

modern kindle
hushed field
#

why did i save all the annoying to code mechanics till last? 😭

modern kindle
#

My gf made her image the egg so it's all I see

manic rune
#

joyousspring to the rescue

manic rune
stark geode
#

what the hell

manic rune
#

so it adds another one

paper zealot
#

Hey you content creators 🫵 Has anyone ever used the {B:} style modifier? If so, where?

manic rune
#

me?

#

whats B: for

red flower
stark geode
manic rune
#

like

{BepisFever:}?

paper zealot
red flower
modern kindle
#

God that reminds me i still need to figure out a way to make infoqueues appear below the text box instead of on the sides

manic rune
rapid stag
manic rune
#

terribly sorry, but i dont know ANYTHING about the code creating sprite 😭

#

like, i literally just asked in this chat about how to use set_sprite_pos on a blind earlier lmfao

rapid stag
#

i see cirBlech

stark geode
manic rune
#

oh wait

#

ohhh

#

didnt notice the joker's name, thats odd

stark geode
#

this game is so wierd

tall wharf
#

what's the name of the game where you mine and craft?

thin anchor
#

craftmine

stark geode
reef belfry
#

Im in hell and joker legendary texts are my tormentor

gentle rain
#

yeah trying to get a quickly-hand-written look in lowdef pixel art like this is really tough, esp without antialiasing

#

the bg is really awesome though, reminds me of plasma deck

tall wharf
#

this is the most fun April fools snapshot so far

manic rune
#

💔

zealous glen