#đŸ’»ăƒ»modding-dev

1 messages · Page 275 of 1

spring lantern
#

canadian language

hushed field
#

I'll use my knowledge of Basque to test whether the localization is actually possible for non-germanic or romance languages. It's the only language I have experience with that's sufficiently different from french or dutch, haha

zealous glen
manic rune
#

what would be a cool name for a passive which allows you to play an unlimited number of hands and discards

zealous glen
#

“cool story bro”

manic rune
#

thanks

zealous glen
#

I thought all your names came from Star Rail

manic rune
#

this one isnt

zealous glen
#

I can only think of Ouroboros on the spot

hushed field
#

limit break, of course

manic rune
#

oh, true

tall wharf
#

alright

manic rune
#

hm

tall wharf
#

panic over

#

back to modding

zealous glen
#

The Wheel of Fate Turns

tall wharf
#

how do i make the number ease once

zealous glen
manic rune
#

ok those are all good names

#

hm

tall wharf
hushed field
#

reading your suggestions better, this is currently how I was planning to set it up already. I'm realizing in testing things out that my non-functional pseudocode system would fully allow for any language to be translated, luckily

tall wharf
#

so

#
SMODS.PokerHand{
    key = "expression",
    chips = 0,
    mult = 0,
    l_chips = 0,
    l_mult = 0,
    example = {
        { "", true, nil, akyrs_letter = "3"},
        { "", true, nil, akyrs_letter = "7"},
        { "", true, nil, akyrs_letter = "*"},
        { "", true, nil, akyrs_letter = "4"},
        { "", true, nil, akyrs_letter = "+"},
        { "", true, nil, akyrs_letter = "2"},
        { "", true, nil, akyrs_letter = "7"},
    },
    evaluate = function(parts, hand)
        if ((not G.GAME.akyrs_character_stickers_enabled) or (not G.GAME.akyrs_mathematics_enabled)) then 
        return {} end
        local word_hand = {}
        table.sort(hand, function(a,b) return a.T.x < b.T.x end)
        for _, v in pairs(hand) do
            if not v.ability then return {} end
            local alpha = v.ability.aikoyori_letters_stickers:lower()
            if alpha == "#" and v.ability.aikoyori_pretend_letter then
                -- if wild is set fr tbh
                alpha = v.ability.aikoyori_pretend_letter:lower()
            elseif alpha == "#" and AKYRS.config.wildcard_behaviour == 3 then -- if it's unset in mode 3 then just make it a random letter i guess
                alpha = '★'
            end
            table.insert(word_hand, alpha)
                
        end
        
        local expression = table.concat(word_hand)
        
        
        local status, value = pcall(AKYRS.MathParser.solve,AKYRS.MathParser,expression)
        if not status then return {} end

        if (G.STATE == G.STATES.HAND_PLAYED) then
            if value ~= value then
                error("Galaxy Collapse!",4)
                return {}
            end
            attention_text({
                scale =  1.5, text = string.upper(value), hold = 15, align = 'tm',
                major = G.play, offset = {x = 0, y = -1}
            })
            G.GAME.aiko_words_played[value] = true
            ease_chips(G.GAME.chips + value)
        end
        return {hand}
    end,
}
``` is there a better approach than this
zealous glen
hushed field
zealous glen
#

Only if it’s monstrous

manic rune
#

im not using that in my key ngl :3

#

cool name though

#

the whole concept for phase 3 is like The Needle but cooler

zealous glen
#

I had had an idea for a Challenge where you start with 50 Hands and 50 Discards and don’t gain any more

manic rune
#

go big for one last hand to beat the boss

hushed field
#

also sorry to tag you again @humble girder but you should plug your mod more because it's got some of my favorite additions from mods like it, and I don't think people are aware 😛

zealous glen
zealous glen
humble girder
hard flume
#

Hiyall!!!

tall wharf
#

hiii

hushed field
# zealous glen I remember the mod adding
 Blind-related
 curses?

they just showed a loot system with optional goals during antes, and there's the whole deal with the devil mechanic. I love mods generally that take the opposite approach of mine and add interesting mechanics more so than adding jokers, and their mod's exactly what I think is cool to see pop up, haha

zealous glen
#

Hello carrot

spring lantern
#

hola

zealous glen
hushed field
crisp coral
zealous glen
#

Both of you have other people marketing your mod

crisp coral
#

i'm literally too afraid to plug my own mod because of how bullshit it is

hushed field
#

people may think it's farfa streaming JoyousSpring, but the reason it's doing well is actually me saying 'joyousspring is one of my favorite overhaul mods' whenever people ask for mods, after all

spring lantern
# tall wharf hiii

hey btw your func for multiplying card values is awesome tysm for sharing but right now it multiplies every value including ones that aren't listed so my cards get Xchips while held in hand and goofy stuff like that LOL

tall wharf
next timber
#

hang on

zealous glen
#

Baliame has Ice and Myst has
 me I guess, sorry Myst

tall wharf
#

my function was meant to be a crude way to change values

next timber
crisp coral
#

aiko you post your mod screenshot like once every 5 seconds 😭

hard flume
#

I have finally decided to completely redo the stuff I have for The Carrot Field so far. I've been debating doing this for a while, and have finally decided to do it.

next timber
#

i copied aiko's function and fixed it up a little

tall wharf
#

hi ren

spring lantern
#

firee

tall wharf
#

my mod is not on the mod manager yet

#

so that is how i market it

crisp coral
hard flume
next timber
#

anyways i think ive done a good job with the snake suit considering what im working with
(might honestly be more proud of the small icon then the big one lol)

zealous glen
hushed field
#

I've been considering making youtube videos of Kino runs where I balance the content, and also doing some mod showcase videos because I feel like there are so many rad mods but all content is generally about cryptid

zealous glen
next timber
manic rune
#

wha

#

huh??

#

😭

tall wharf
#

bellafever

manic rune
#

STOP GIVING ME NEW NICKNAMES FJKSAFSK

crisp coral
#

all modding youtube videos are 60% cryptid/jens, 35% pokermon and the rest are high effort vanillaesque mods

zealous glen
# manic rune wha

Sorry this happened to you, . If you want, we can’t get you another name like Craig

spring lantern
#

i vote for craig

tall wharf
#

bellafever

crisp coral
#

craig... like gd cologne.....

manic rune
#

💔

spring lantern
#

craig bellafever

heady siren
#

Got to round 37 on my 6 Flesh Joker 52 Flesh Card run

tall wharf
#

rhythm heaven for switch pls

hushed field
zealous glen
primal robin
# tall wharf hiii

In case you missed it: Saturn is fixed (by me), you don't need everyday say to remove it, okay? lumaangry

crisp coral
#

I've made two videos of my blinds for showcasing yet I let the wonders of youtube do the trick

zealous glen
hushed field
#

there's one guy who's playing with a bunch of mods, but he just plays with them and gives no insight in what is from which mod or what makes those mods interesting, and the pack he's constructed is... lacking in any synergy, haha

crisp coral
#

(one is unlisted the other has like 400 views)

zealous glen
#

What do your Flesh cards do?

hushed field
#

i feel like for a niche interest 400 views is entirely fine

zealous glen
manic rune
#

-# but somehow i managed to watch ALL of your vids

onyx sonnet
#

Omg hi bingbongfever

hushed field
#

Roffle's modded videos do well because it's him, not because people are deeply into those mods, after all. People looking around for content that's focused on the mod are probably rare, and that content's not going to get a lot of views unless by happenstance, I reckon

heady siren
#

I've also got an ace up the sleeve joker that I've somehow never seen in a mod

manic rune
#

BINGBONG

#

WHAT

#

😭

next timber
#

i geuninely cannot get a good enough fps when screen recording to do any videos about my mod

zealous glen
#

Flesh cards and consumption

onyx sonnet
#

That's ur name right

next timber
crisp coral
#

bongbong fever

onyx sonnet
#

Binjobanjofever

zealous glen
spring lantern
#

bingobangobishbashboshfever

hushed field
#

i should give lobcorp the game not the mod another shot soon

onyx sonnet
#

It's a very exhausting game tbh I don't blame you for taking a break

hard flume
#

Reworking Worlds into a Biome System instead, Reworking Gendered Suits into a new Gender Modifier because why not.

zealous glen
#

Up Your Sleeve

hushed field
hushed field
crisp coral
#

very is an understatement

heady siren
# zealous glen

Literally the same thing as mine but they aren't negative, god damnit

hushed field
#

a biome mod is still on my list of things I wanna do once I've got Kino at a place where I'm okay taking a break from it, haha, so I'm curious as to how other people might approach the idea

zealous glen
heady siren
#

I'm adding jokers I've never seen before and it turns out all of them have been done before

crisp coral
#

ooh you have mod ideas outside of Kino?

manic rune
crisp coral
#

blinds are disabled not debuffed

manic rune
#

.

#

-# oh yeah

crisp coral
#

i've made this mistake before

hushed field
#

I've been heavily considering taking a break once I've got the quest system and legendary jokers set up, because I keep having ideas for a mod that adds day/night cycles, weather, and biomes to the game, haha

crisp coral
#

the fault lies with me barely touching chicot because it's an ass legendary

tall wharf
#

:3

manic rune
#

there we go :3

stark geode
hushed field
#

With the idea of setting it up very addition friendly so people could hook their mods into it. But I'm wanting to challenge my game design methods a bit by making things that aren't focused on jokers, mostly

tall wharf
stark geode
stark geode
tall wharf
#

I DID IT AGAIN DAMN IT

next timber
crisp coral
#

is cardsauce here

zealous glen
#

Is Victin’s Collection there

crisp coral
#

adding Express Train to Hell there and making it destroy every other title screen card after 40 seconds

next timber
#

oh boy i can't wait to play some BAACRYPAPERKEORO

midnight coyote
#

what’s the gray ‘don’t pay attention to this’ color again

zealous glen
#

Inactive

midnight coyote
#

alright thanks

manic rune
#

inactive

humble girder
midnight coyote
#

isn’t S scale

humble girder
#

there's also some placeholder art cards still

manic rune
#

its s

#

not S

stark geode
humble girder
#

i don't mind but i know a lot of people care about the art of mods probably even more than the mechanics they add

tall wharf
#

A

crisp coral
#

AACRYPTIDAPERKEO

manic rune
hard flume
# hushed field oooh, what's your set up for a biome system?

Gonna have to either patch or hook for it, but the main idea is that after each Ante, the player is forced to pick a biome card from a booster that automatically opens. Each Biome Card has its own unique rules, events, and cards you can buy when it's active and you can only have one at a time. After each Ante, you are forced to pick a new biome to travel to, and it will automatically replace your previous Biome Card.
The Rules and Event System will be the most difficult and different from the original implementation of Worlds, the original version of Biomed.

humble girder
tall wharf
#

i want to visit Japan

crisp coral
manic rune
#

theres not a single trace of art in my mod

the closest thing to "art" implemented in my mod is this

hushed field
next timber
#

lmao

primal robin
#

Can I take_ownership to cards from other mods?

midnight coyote
#

can i check in an enhancement for when the enhancement gets removed

next timber
#

im sooooooo excited for the face cards for my custom suit. thats sure is gonna be something

crisp coral
#

my art is just official art downscaled or official art downscaled and traced

#

and lyman

#

shoutouts to lyman

marble flint
#

my art is just mostly bad

#

but it's fun to do

primal robin
humble girder
manic rune
#

omg wild N' encountered in the wild

#

.

red flower
#

hi

midnight coyote
#

also can i decrement values in the config area

humble girder
#

i cut a dozen corners on anything that looks decent

manic rune
#

ok i think i need to go refresh my brain, holy shit

marble flint
humble girder
#

probably have some cases of copyright infringement in there or something

primal robin
#

Cool

tall wharf
#

HELLO

#

:>

midnight coyote
#

because for curses i want to have a ttk value that ticks down

hushed field
#

my art is mostly tracing and shrinking down movie posters, haha, for Kino.

manic rune
#

good morning N'

red flower
#

morning :))

midnight coyote
tall wharf
manic rune
#

check out the last phase of cocolia :3

red flower
#

half of your deck!?

primal robin
#

I love agressive patching

crisp coral
hushed field
humble girder
zealous glen
#

I’ve done some art for my mod but recently I’ve been too lazy to do it

midnight coyote
#

i might make a ritual card called ‘last stand’ that reduces your hands to one and your discards to 0 but gives you double mult and chips (applied at the end of scoring)

hushed field
#

I still wanna find a card to do art for for Victin as well, but I tried to do a glass jar filled with teeth and that broke me for a while, haha

red flower
hard flume
#

Of course, one of the biomes has to be the titular bitchular. So I'm adding a Carrot Field biome to my mod

zealous glen
primal robin
midnight coyote
#

only for the blind

manic rune
#

i thought that was jsab

primal robin
#

Ha-ha, it's working

zealous glen
humble girder
#

heh

crisp coral
#

how does a jar of teeth break ice

manic rune
#

its too hot

humble girder
#

very carefully

manic rune
#

it melts ice

hushed field
# crisp coral tracing and shrinking official art đŸ€

I do still do some minor text edits, but for some jokers like this one, where there's no textless poster available, that's a fucking nightmare because I can't photoshop so I just have to handpaint areas that were covered by text back in, haha

red flower
# primal robin Yes

i hope you don't ever have to do it for the dozen negative consumable jokers there will be in my mod

hushed field
humble girder
#

is that honey i shrunk the kids

hushed field
#

no it's popeye

humble girder
#

welp

zealous glen
#

get shrunk

next timber
#

ok i have reached the face cards in my custom suit spriting and i have no clue what im gonna do about it

primal robin
#

Only observatory and one guy from Pokermon for now

hard flume
zealous glen
#

Porkmon

#

Pork Biome

next timber
#

do i just. copy the face cards of one of the base suits? because theres no way i can make a new face card art

midnight coyote
#

oes my rich presence work

heady siren
midnight coyote
#

oh spotify is taking place

next timber
#

omg hit executable mania song round 11

midnight coyote
#

im setting up rich presebce on intellij

midnight coyote
tall wharf
#

:3

red flower
#

:3

midnight coyote
#

DIE DIE DIE DIE

next timber
#

:3

next timber
hard flume
#

Biomes in my mod so far:
Carrot Field (Obviously)
Discord
The Feywilds

next timber
#

discord

#

im howling at the moon

midnight coyote
#

anyone else use wakatime or hackatime

heady siren
humble girder
midnight coyote
#

how do i debuff a card.

zealous glen
#

what do people think of Scott Pilgrim Deck Skins (with assets from the game)

heady siren
tall wharf
#

card:debuff(true)?

red flower
midnight coyote
#

okay how

#

do i add a variable to message

heady siren
midnight coyote
#

i want to make it to where the card displays like

#

3...

#

2...

#

1...

zealous glen
midnight coyote
#

as itsplayed

heady siren
midnight coyote
#

or before

zealous glen
heady siren
#

.. is a built in concatenate operator

#

You can put .. on any combination of numbers and strings and they'll place nice if they aren't nil

crisp coral
zealous glen
hushed field
zealous glen
hushed field
#

Also, MTX enhancements, ofc

crisp coral
#

will not change

hard flume
#

One of the ideas I had is adding a fourth type of blind. Mini-Boss Blinds

crisp coral
#

it contrasts better in front of other backgrounds but not this one

#

but it's also a lobcorp and ruina quirk for red flavor text so no changes there

humble girder
#

yeah contracts are one of those mechanics that feel like are missing from balatro as a roguelike, there's no real mid-run high risk-high reward swings

red flower
#

red text?? i love umineko

humble girder
#

loot was fully inspired by roffle taking every chance to mention how utterly bad it is to skip blinds

zealous glen
#

Or an outline

zealous glen
#

Out of every choice thunk made, they did put a lot of effort into Skips but they didn’t make them appealing

crisp coral
hushed field
#

the contracts feel less like a good fit for vanilla, I think partially due to theming, but they are a cool addition. But optional goals feels very vanilla, yeah

crisp coral
#

but background is bad, it would obstruct gameplay even more

zealous glen
crisp coral
#

what

#

idgi

hushed field
#

And Skips are definitely the biggest miss in vanilla, mechanics-wise. Unless we're counting each joker as a mechanic, it'd be matador in that case

midnight coyote
#

here's what ive got so far

crisp coral
#

it's persistent so it refers to the Passive and not the Blind name

#

i need to fix hand names not updating

humble girder
#

matador is clunky as all hell but a good blind 1 matador with a good blind is instant economy

zealous glen
# crisp coral what

You’re not playing against Small Beak but you’re still affected by it

zealous glen
hushed field
crisp coral
#

No repeating [hands played during Small Beak]

tall wharf
#

😭

hushed field
#

I mean I can see how he'd like skips, I just think there's probably a better implementation of it. Loot's definitely a good alternative

crisp coral
#

not No repeating hands played [during Small Beak]

zealous glen
#

I see

hushed field
humble girder
#

you complete bonus objectives during blinds

heady siren
#

Skips would be good if they didn't skip [=

humble girder
#

which adds loot to a limited area (that you can discard from)

#

which will materialize into a massive booster pack when you skip a blind

#

so it kind of balances this thing where you can have very strong rewards for certain objectives, which makes you play suboptimally, but to actually get that reward, you must take a skip somewhere, which again, usually a bad idea

hard flume
humble girder
#

while not making every skip insanely valuable

zealous glen
#

I see

crisp coral
#

it's a special blind that can only be summoned by having 3 specific jokers

hard flume
#

Oops sorry. Forget to turn off ping

manic rune
#

crunchy green grapes

crisp coral
#

nw

manic rune
#

gotta be the best fruit in the world...

humble girder
zealous glen
manic rune
zealous glen
#

Raising gives you the Blind and the Tag but also a negative effect

tall wharf
manic rune
#

i call bullshit

crisp coral
#

personally i would rate my blinds in terms of difficulty as
The Red Mist < WhiteNight < Apocalypse Bird <

zealous glen
#

me

manic rune
#

i agree, is hard as fuck

zealous glen
#

I’m the hardest Blind

manic rune
#

💔

crisp coral
manic rune
#

are you blind victin

#

and why are you hard

#

.

zealous glen
#

I too added Medusa to Balatro

manic rune
#

can she make me {C:attention}Rock Hard{} tho

zealous glen
#

No only {C:vic_stone:}Stone{}

manic rune
#

aw

hard flume
#

I kinda wanna add secret Boss Blinds myself now...

manic rune
#

add self-insert boss blinds

zealous glen
#

I’m planning to add ||Legendaries unlocked by defeating Boss Blinds||

tall wharf
humble girder
stark geode
#

@tall wharf yo your mod is pretty cool

zealous glen
manic rune
#

😭

heady siren
zealous glen
#

I was going to do 1 but I felt like 17 was less insulting

crisp coral
tall wharf
#

😭

#

how do i even do this

next timber
#

screw it im just gonna copy the hearts face cards for the snake suit

#

i am not drawing new face cards

heady siren
#

I'm tempted to make a new card suit specifically for the flesh cards so that they're like, melting people [=

manic rune
heady siren
#

But doing flushes on every hand is too OP I think

#

Ignore the joker I have that makes every flushable hand a flush hand

next timber
zealous glen
zealous glen
zealous glen
heady siren
#

I need art for my jokers but I don't wanna burden anybody with making art for my jokers

humble girder
#

embrace the coder art

zealous glen
#

Most should add cards to your deck or change cards in your deck

humble girder
#

two questions

zealous glen
#

Also I remember the Edition Tags from the demo

humble girder
#

does it absolutely break hologram

#

and will they be too weak and make every skip a nobrainer

zealous glen
#

The cards weren’t free

#

Then thunk made it 50% off IIRC still wary

zealous glen
heady siren
#

Also I messaged ya @zealous glen

#

I'm gonna go to sleep now

subtle mason
#

Question, how do I remove a button from a card when I successfully detecting when that card is being highlighted?
First I thought that maybe self.children.use_button:remove() but that doesn't seem to be working.
I thinks it's because that specific button is being declared as the last thing when the card is selected, but I'm not sure.
Any ideas on what to do?

next timber
#

king of snake by underworld

humble girder
#

unless it's actually the sell_button

#

idk

subtle mason
#

it's the use button, but it's being added after the card:highlight function stops running and I'm doing things by injecting code (toml)

humble girder
#

oh, well, i'd probably patch whatever function is requesting the creation of the button, check conditions whether creation should be prevented and not call the button creation function at all if these conditions are met

subtle mason
#

here's the thing it's another smods mod that's adding it

humble girder
#

you can patch other mods

subtle mason
#

how do I do that?

humble girder
#

target="=[SMODS mod_key 'path_to_file.lua]"

stark geode
#

I just realized that perkolator being a common joker also makes it rarer

subtle mason
humble girder
#

for example if i were to patch my own very excellent mod baliatro 's main.lua from another mod i'd do
target = "=[SMODS baliatro 'src/main.lua']"
-# try baliatro today

#

am i doing it right @hushed field

next timber
#

ace of snake

#

i literally just made this by scaling up the icon and sculpting it out of the blockiness lmao

tall wharf
next timber
#

aikos shenanigans tm card when

#

if you spell a brand name with tm you get brand recognition points

#

alternatively you lose sellout points

#

lmao

tall wharf
#

you watch an ad

#

and then you have to spell the advertiser's name

next timber
#

bro did not have to be doing all that he just needed to say it

coral flume
#

Alright, Super duper weird question. Do you reckon theres a way to save a card to some kind of table, to then re-add to the deck at a later date

#

Like destroy a card, and return it later. Type beat

red flower
#

you can save it to a new cardarea

coral flume
#

Ayyyy cheers

hushed field
#

alternatively, I've got a mechanic that stores them in a new cardarea for my mod, though that's a bit more involved if you wanna properly remove them from the deck

tall wharf
red flower
#

im sad i cant post videos of my mod while developing because i hate my mod and i would never personally play it

tall wharf
#

still does the same thing 😭

plain apex
red flower
#

no

#

i make a mod that gives me fame and recognition

manic rune
#

does context.destroy_card work for G.deck

stark geode
#

what elses should i add to my mod

manic rune
#

my mod

stark geode
#

im going to add more jokers

manic rune
#

:3

red flower
stark geode
manic rune
humble girder
#

you have to add it to extra cardareas

plain apex
manic rune
#

hmmmm

#

alright lemme give it a try

stark geode
#

i can try adapting one of the concepts to fit perkeo

manic rune
#

i dunno what there is in my mod thats cool enough for others to implement, but sure :D

red flower
#

i hate videogames

zealous glen
manic rune
#

which one

zealous glen
zealous glen
manic rune
#

hmmm

red flower
manic rune
#

optional features, right?

red flower
#

yeah

stark geode
#

i know way to much about balatro

#

and i dont even know that much

manic rune
#

is this the one

#

oh nvm, its a table

red flower
#

cardareas = {deck = true}

#

iirc

next timber
#

oh damn the game just includes custom suits by default?

manic rune
stark geode
modern kindle
#

i took this that aure postetd before

manic rune
next timber
#

well yea but still

manic rune
#

what the hell

#

WHY IS IT CARDAREA(no s) IN SMODS 😭

red flower
primal robin
#

Making Jokers such a pain as I see Trolge

manic rune
#

wtf..............

red flower
#

i actually find making jokers quite easy

manic rune
#

💔

red flower
plain apex
#

id say the easiest are probably either consumables or enhancements

manic rune
#

welp, lets see if i can destroy the ENTIRE DECK now

#

:3

red flower
#

every time i see a question about enhancements it seems like the most difficult thing ever

manic rune
#

have you mastered editions yet N'

stark geode
#

how do you add the extra boxes on the side of your decription

red flower
#

i havent made one

tall wharf
manic rune
#

info_queue?

plain apex
#

i will probably never understand those editions i dont understand that separate language at all lol

manic rune
#

same

#

i tried reading some stuff about shaders

#

i am NEVER understanding them

tall wharf
#

and also 😭

brazen tusk
#

I’ve yet to try anything but jokers

manic rune
tall wharf
manic rune
#

ic

hushed field
#

I wanna at least understand how the existing shaders can be used for fun effects. I wanna see what I can do with that crt filter đŸ€” My The Ring joker would be so much more fun if it'd crank that up real bad before it kills you

plain apex
zealous glen
tall wharf
zealous glen
#

That’s my biggest issue trying to learn them

humble girder
#

https://glsl.app/ here's an online shader tester and

Modern Online WebGL (GLSL) Shaders Editor and Sandbox. Write shaders with ease thanks to advanced IntelliSense, autocompletion features, composability with shader libraries and a user-friendly interface for tweaking values and colors

zealous glen
#

And I couldn’t find a tutorial

plain apex
#

chatgpt make a shader for me pls

humble girder
#

there's so many glsl shader stuff on github

#

but ignore all that

#

here's one good way imo to understand how shaders come together

zealous glen
#

I meant that I couldn’t load textures in GLSL.app

humble girder
#

open up blender and do some graph editing for textures

humble girder
tall wharf
plain apex
humble girder
#

you press textures, drop your texture, then just use texel() to sample the u_textures[0]

humble girder
zealous glen
humble girder
#

if you figure out how to do the effect in blender it's not that hard to translate it to GLSL code

zealous glen
#

It had I think texture2D

#

But it didn’t accept my arguments

humble girder
#

glsl.app is OpenGL ES 3.0

#

pretty sure Balatro is OpenGL4

zealous glen
next timber
#

guys is this how you make shaders

plain apex
#

maybe

manic rune
#

balala screen

zealous glen
humble girder
zealous glen
#

I also found that documentation

#

It didn’t help me

manic rune
#

question

humble girder
#

did you or did you not have a version declaration

manic rune
#

whats the difference between context.destroying_card and context.destroy_card

zealous glen
humble girder
#

context.destroying_card is vanilla

zealous glen
#

I know they’re random examples, but I just tried to save the texture in a variable

manic rune
#

oh, so context.destroy_card is like the upgraded version of that?

#

-# probably didnt need this then

zealous glen
#

I think my issue is that I don’t know where the sampler2D stuff is saved in the backend to access it

humble girder
zealous glen
#

I thought it was just the provided variable

humble girder
zealous glen
humble girder
zealous glen
#

I think I tried 1 and above lol

manic rune
#

IT WORKS

tall wharf
#

?????????

manic rune
#

im so gonna fuck up my mod's players

humble girder
manic rune
#

:3

subtle mason
uncut grail
#

dusk 2: the cemetery

zealous glen
humble girder
next timber
#

i cant decide whether my custom suit should be in the deck by default or if it should be obtained by consumables and special decks only

manic rune
uncut grail
#

đŸ”„

humble girder
#

or actually i think it might be the id they define in their smods manifest

manic rune
#

âœïžđŸ”„

#

you cooked, twen

uncut grail
#

thank you bepilisraiglla.

subtle mason
humble girder
#

i think it might be that one

#

but not 100%, might be a good time to ask @frosty dock

manic rune
#

baliame

#

can i ask some stuff about audio

#

:3

humble girder
#

haven't done much audio but shoot ig

#

oh jeez

#

no idea off the top of my head

manic rune
#

yeah, i asked that in the smods discord server but no responses so far

#

i havent seen any mods doing it too

tall wharf
#

maybe

#

idk actually

uncut grail
manic rune
#

i think its too bright

humble girder
# subtle mason oof that would be bad

try everything
once you have it correctly, it should not whiff according to the output and the patched lua should appear in your Mods/lovely/dump folder

primal robin
#

No jimbo anymore RUN

tall wharf
#

i do need playtester

#

BUT WHO'S GONNA FUCKING PLAY THIS

next timber
#

me

#

that sounds awesome

manic rune
#

ask MathIsFun to try it out

uncut grail
#

peak peak peak

manic rune
#

i think he will find Math Deck fun

#

idk y

hushed field
#

Does the parchment thing I stole from the lucky card work for this text? The word pack tends to stay consistent, but I should probably find a solve for that standing out so much

subtle mason
humble girder
#

nope, i have a lovely.toml in my mod root and it works fine for everything

uncut grail
#

by the way guys is there a way to like. move around the jokers to put them on some page

manic rune
#

everytime something cool happens

crisp coral
#

you don't

manic rune
#

💔

#

dang

crisp coral
#

everything sound related is handled in the sound thread

subtle mason
#

@humble girder could it be that my mod has a higher priority?

humble girder
#

it could be your mod has a lower priority

manic rune
humble girder
#

i think that matters, yes

humble girder
uncut grail
manic rune
#

oh

red flower
#

ride the bus is non-canon btw

#

it's from a side story

uncut grail
red flower
#

bepis..

manic rune
#

🚌

uncut grail
#

man this is the second joker im coding i have to use the update method for

#

why do i choose the hardest ideas

plain apex
#

this properly removes the cards but then they are still selected for some reason?? allowing you to do this

hushed field
humble girder
#

that's specifically what they're trying to do

#

is reorder the collection

uncut grail
# red flower why is that

first joker reacts to stone cards turning into anything else
second joker reacts to destroying rare jokers

red flower
humble girder
uncut grail
#

what are hooks..............hmhmhm

manic rune
#

send in the link

plain apex
# plain apex this properly removes the cards but then they are still selected for some reason...

part of the code

calculate = function(self, card, context)
    if context.first_hand_drawn then
        G.E_MANAGER:add_event(Event({trigger = 'after', delay = 0.4, func = function()
            -- Save the current highlighted limit
            local original_highlighted_limit = G.hand.config.highlighted_limit

            -- Set the highlighted limit to 9999
            G.hand.config.highlighted_limit = 9999

            local discarded_count = 0
            local any_selected = false

            -- Iterate over both hand and deck cards to handle debuffs
            local all_cards = {G.hand.cards, G.deck.cards}
            for _, card_list in ipairs(all_cards) do
                for i = #card_list, 1, -1 do
                    local selected_card = card_list[i]
                    if selected_card.debuff then
                        G.hand:add_to_highlighted(selected_card, true)
                        table.remove(card_list, i)  -- Remove the debuffed card from the list
                        discarded_count = discarded_count + (card_list == G.hand.cards and 1 or 0)  -- Count discarded only from hand
                        any_selected = true
                    end
                end
            end

            -- Discard selected highlighted cards
            if any_selected then
                G.FUNCS.discard_cards_from_highlighted(nil, true)
            end

            -- Draw new cards to replace discarded ones from the hand
            if discarded_count > 0 then
                local cards_to_draw = math.min(discard
ed_count, #G.deck.cards)
                G.FUNCS.draw_from_deck_to_hand(cards_to_draw)
            end

            -- Restore the original highlighted limit
            G.hand.config.highlighted_limit = original_highlighted_limit
uncut grail
#

AHHHH SCARY

red flower
uncut grail
#

thats

#

a hooking

manic rune
#

hook

next timber
#

hooking is you make a function, you put the function you're hooking inside that function, and then you replace the original function with the new function

plain apex
manic rune
#

its more like adding code to before/after the function, honestly

uncut grail
#

what? how does this help to make these

next timber
#

cause you can do it to vanilla functions

red flower
manic rune
#

mmmmhmhmhm

#

how do i randomly choose half of the deck

uncut grail
next timber
#

no injections needed

red flower
next timber
#

you should prolyl get someone better to explain hooking

#

im dum

uncut grail
#

i think gml rotted my brain

uncut grail
#

for example how would i react to rare jokers getting destroyed

#

or just any joker, whatever

red flower
#

i have this so when a joker is sold or destroyed it goes to the graveyard for example

plain apex
red flower
plain apex
#

weird that cards that are in the discard pile can be highlighted in the first place

uncut grail
manic rune
#

is this the way

red flower
uncut grail
tall wharf
#

ok i think I'm done with the math deck

#

almost

uncut grail
#

ok this is peam

#

tysm!

red flower
#

or in the middle

uncut grail
#

goodbye hardcoding......... goodbye forever

subtle mason
#

@humble girder not it but maybe it has something to do with the fact that it's a custom function not a SMODS.something

humble girder
#

nope

uncut grail
#

yaeh..

humble girder
#

you're patching files, not functions

manic rune
uncut grail
#

@red flower sorry for the ping, just want to clarify.
so the way of doing the things i listed is adding new context?

red flower
#

you can do that yeah

uncut grail
#

cool!

#

where does context originate from, though

red flower
#

SMODS.calculate_context({you_context = true})

#

you can add anything you want to that table

manic rune
#

i feel like people are gonna walk out after fighting cocolia with like 10 cards left when they had 40

uncut grail
red flower
manic rune
#

im considering making bosses drop something unique to them after they are defeated

#

for cocolia, how about unlocking bronya's eidolons :3

hushed field
#

good enough, I reckon, I don't wanna do more fabric texturing

nova finch
#

I wish there was an easier way to do this đŸ˜„

#

at least it works tho

primal robin
#

...just use table dude

next timber
#

The humble switch statement:

#

Does lua have those

zealous glen
#

Yes

forest ivy
next timber
#

Yansim ass code

zealous glen
#

It has go to though IIRC

nova finch
stark geode
#

Do you have experience with another programming language

next timber
#

Well learn the entire game is built on them

primal robin
#

Makes sense

nova finch
#

only html which doesn't really help

stark geode
#

Damn

zealous glen
#

┬─┬ノ( Âș _ Âșノ)

#

That’s a table

nova finch
#

oh ok

zealous glen
#

A Lua table is {}

nova finch
#

i know what a table is i just don't know how to use them well

zealous glen
#

It holds pairs of keys and values

#

So if you table had keys named after the Poker hands, you could access the desired variables that way

glad osprey
manic rune
#

whats ur code

#

lookin like rn

thin anchor
#

how would i add this card to the tarot pool?

humble girder
#

set = 'Tarot', no parentheses

#

it will work automatically

thin anchor
#

oh

#

i was just wondering because it wasnt showing up in any booster packs

spring lantern
#

not 100% sure about the colors here

humble girder
#

actually i don't think the parentheses are an issue

#

hmm

tall wharf
#

learning japanese feels like learning whole anohter languiage

humble girder
#

but yeah defining the consumeable with a tarot set should be all you need to do

zealous glen
#

Try increasing the weight, if that’s a thing

spring lantern
zealous glen
#

Idk if it is

thin anchor
#

whats this about

#

do i need to add my tarot to one of these?

humble girder
#

nope

thin anchor
#

ah

humble girder
#
SMODS.Consumable {
    object_type = "Consumable",
    set = "Tarot",
    key = "ace_of_pentacles",
    pos = { x = 3, y = 0 },
    cost = 4,
    atlas = "BaliatroSpectral",
    config = {
        max_highlighted = 2,
        min_highlighted = 1,
        mod_conv = 'm_baliatro_resistant',
    },
}
#

this tarot is in my pools without any extra work

tall wharf
#

when have i ever lied

thin anchor
#

i see

humble girder
#

and i'm pretty sure the object_type is something i blindly copied out of cryptid but not needed

thin anchor
#

found it

#

ok so how would i make my tarot give a selected card an enhancement

humble girder
#

funny you should ask

#
        max_highlighted = 2,
        min_highlighted = 1,
        mod_conv = 'm_baliatro_resistant',
    },```
should just work
red flower
nova finch
red flower
#

arent the localization keys the same as the names

nova finch
#

what im using this for is toggling between different possible descriptions for each hand

red flower
#

ohh

#

yeah makes sense

nova finch
#

since you can't have spaces i had to change it to underscores

#

but now i can

red flower
#

you can

nova finch
#

't

red flower
#

["keyHigh Card"]

nova finch
#

it crashes when i try to have spaces

#

unless i just have to put it in quotes in the localization files

red flower
#

yes

red flower
tall wharf
#

;

red flower
#

:

stark geode
#

\n

zealous glen
#

..

red flower
#

(.*)

#

you have been captured

stark geode
#

Exit()

zealous glen
#

food()

hushed field
#

is key_append in vanilla's create a card functionality only really used for pseudorandom functionality?

stark geode
#

Ig

#

This game is wierd

red flower
hushed field
#

Does smods place it there, or did I just miss that in the source code?

red flower
#

yeah i think smods does

stark geode
#

How do y'all understand the source code

hushed field
#

ah, I was literally gonna add it myself otherwise, haha

stark geode
#

Wat

hushed field
#

I trace a lot of functions so I can see where things come from. I don't understand everything. Some functions are really webbed deep in other functions

stark geode
#

Reminds me of my old blackjack program I made

hushed field
#

But I check the function, and where it's called to see what it's doing. Because sometimes only checking the function's code doesn't make it clear why certain things are happening

stark geode
#

All the functions are wired and intertwied

tall wharf
red flower
#

i just get it

stark geode
tall wharf
#

once yeah

stark geode
#

Is there any way to read it better

hushed field
#

Hmm, so it seems that boosterpacks don't use a key_append. I'll have to check if the shop itself appends anything. This way I can exempt joker creators like riff-raff and judgement from creating the wrong jokers

stark geode
#

Also I'm pretty sure local bonk didn't make it so I can scale the soul part of the title screen cards

native zinc
hushed field
#

Ah, that's good to know

native zinc
#

ga h h

hushed field
#

I'll just add that to my custom booster packs, I guess. It'll slightly cause issues with modded boosters I suspect, but not in a way that'd matter

tall wharf
#

me when everything becomes Jimbo

nova finch
#

i keep accidentally pressing enter

#

that ain't good

spring lantern
#

wjhat are we thinkin so far

crisp elbow
#

I like

spring lantern
#

-# doing hands in pixel art is so hard ;^;

hushed field
#

i remember people talking about quirks when it came to saving tables. What was the deal with that?

nova finch
# nova finch well that ain

I put in like 2 prints for logging purposes and it just randomly started working perfectly again?? 😭

tall wharf
native zinc
tall wharf
#

hands are hard in general

native zinc
#

oh thats

#

hm

#

well the colour is right at least

stark geode
#

So as far as I know there is w and h for the soul sprite

#

card.children.front.VT.w is in the unit function for the card class

#

But I'm trying to figure what that is

#

And what it does

#

Where it's set

native zinc
dreamy thunder
native zinc
#

ah.

#

huh

nova finch
#

took a strangely long amount of time for me to get these working

spring lantern
#

hello how are you? fine thank you

tall wharf
#

does anyone happen to know where my consumeables are

spring lantern
#

gone.

native zinc
#

gone, reduced to quarks

spring lantern
#

i eated them

nova finch
brazen kite
tall wharf
#

ok no seriously where did it go

native zinc
#

yeah judgement was sick of breaking up the tarots that convert into suits

tall wharf
#

ok i think i disabled them by accident

manic rune
#

hmmmmmmmm

tall wharf
#

yuuuuuuuuuuuup

buoyant merlin
#

So I tried to add a tooltip through loc_vars and it crashed the game?
Anyone know why?

buoyant merlin
#

This? config = { extra = { current = 0, needed = 3, mult = 8, upgraded = false } },

#

I should probably provide the full relevant code

spring lantern
#

anotha 1

hushed field
buoyant merlin
spring lantern
#

question how do i check the vouchers that have been redeemed this run

hushed field
#

you wanna add a vars = {} in your info_queue in loc vars, for the joker_druid thing

reef belfry
#

One of my ugliest creations yet

spring lantern
#

nah that's a v ery silly goober

buoyant merlin
hushed field
#

I'm not sure which values you'd wanna display there. it's going to depend on what you want those values to be

#

what is joker_druid in this case? Is it like an enhancement-esque thing?

buoyant merlin
#

Uh It's a joker called Sapling, you sell 3 jokers, and it upgrades to Druid which gives mult based on jokers sold, but is still technically the same card

frosty dock
buoyant merlin
thin anchor
#

is this correct?

stark geode
#

Wait

hushed field
stark geode
#

Balatro is just dead ass open source software

spring lantern
stark geode
#

They have one that does that

spring lantern
#

i'm too tired to dig through cryptid rn 😭

buoyant merlin
thin anchor
hushed field
#

You can make it a separate joker, and use set_ability(key for the druid joker). It'll still be the same card, keeping editions and such, but change ability

#

that way you also don't need multiple localization entries

buoyant merlin
hushed field
#

forcing jokers to appear is working 😄

zealous glen
daring fern
# thin anchor h

Shouldn't the tarot description say its going to turn up to 2 cards into red bullseyes?

zealous glen
thin anchor
red flower
#

i am consistent and independent

zealous glen
hushed field
hushed field
# hushed field forcing jokers to appear is working 😄

Now I just need to figure out the gameplay logic for it. Should it override booster pack specifics? If a booster pack says 'create 3 Fantasy jokers', but the forced order says 'the next jokers are all the Spielberg jokers ordered by release date', should the booster pack pick any potential forced jokers? Should it remove those from the order? Should not acknowledge the effect at all? Or should the natural booster pack limits be overridden? đŸ€”

daring fern
thin anchor
hushed field
# buoyant merlin How so?

if you pass G.P_CENTERS[joker_key] to info_queue, it'll localize that jokers information and grab the vars from its config

buoyant merlin
#

Ah alright

daring fern
hushed field
thin anchor
red flower
hushed field
daring fern
thin anchor
#

hmmmmmmmmmmmm

#

i literally have no idea what im doing

daring fern
thin anchor
#

ah

#

im going to slam my head into a brick wall

spring lantern
wintry swallow
crisp coral
paper zealot
crisp coral
#

any source

hushed field
crisp coral
#

my mod has near 0 econ

#

which i should print more of

onyx sonnet
#

oh wait i just read the name im sorry

thin anchor
#

how would you apply an enhancement to a card?

crisp coral
daring fern
onyx sonnet
#

the other enhancements are m_lucky, m_steel, m_glass and such

thin anchor
#

i see

#

so i would do m_redbulls for my own enhancement?

onyx sonnet
#

it might need the mod prefix if its a custom enhancement?

daring fern
onyx sonnet
#

im not sure i havent messed with custon enhancements yet

thin anchor
#

ok

native zinc
#

hey i think i spawned these guys wrongly

#

hm.

daring fern
native zinc
#

probably

#

aka "gotta use add_card"

vast lily
#

Or any card really

native zinc
#

no i used create_card() instead of add_card()

#

which i guess is that

thin anchor
#

is this correct for awarding an enhancement to a card using a tarot?

daring fern
vast lily
daring fern
#

And like this use = function(self,card,area,copier)

thin anchor
frosty dock
#

that's not how you define a function

vast lily
#

SMODS.add_card({set = 'Joker', area = G.jokers, rarity = 'Common', no_edition = true})
this is the line of code I use to create a random common joker. if you don't have the area = G.jokers part, it's just plopped onto the screen and you can drag it around wherever

frosty dock
#

you shouldn't need to specify the area

vast lily
#

really

thin anchor
#

hmmmm

frosty dock
#

it should default to G.jokers or G.consumeables depending on input

vast lily
#

might have something to do with the fact that when i wrote and tested this code i was using an older version of smods

frosty dock
#

what you've described happens when using SMODS.create_card

vast lily
#

ah

stark geode
#

Is there a way I can make a mod that modified the base game language file

thin anchor
#

so is this right

spring lantern
#

help my cards are sick

daring fern
spring lantern
#

they have the green particle illness

spring lantern
#

now i gotta dig thru cryptid AGAIN to see how they do the pull code card thing

buoyant merlin
zinc forum
thin anchor
#

doesnt crash but it doesnt do anything now it just vanishes

spring lantern
zinc forum
#

Since it's a booster pack create_card("set") should do the trick...?

dreamy thunder
dreamy thunder
manic rune
#

can someone tell me

zinc forum
#

Oooooh, I see

manic rune
#

how is this

spring lantern
#

ahh right thanks

manic rune
#

comparign a number and a table

#

???

zinc forum
spring lantern
#

thank you talisman very cool

manic rune
#

LIKE

#

i tried printing type() with those stuff, right

#

they are all tables.

buoyant merlin
#

How can I check if a card in a played hand wasn't scored?

spring lantern
# thin anchor

you need to apply the enhancement to the highlighted card(s)

#

rather than the consumable itself

thin anchor
#

soooo

#

hmmm

ivory coral
frosty dock
manic rune
#

if i run it in the command prompt of debug plus, it works normally

ivory coral
manic rune
frosty dock
#

yeah

ivory coral
#

neat

manic rune
#

I HATE TALISMAN đŸ—Łïž

#

oh my god ive been scratching my head over this for an hour now

#

holy fuck

frosty dock
manic rune
#

im 100% certain its line 654 thats crashing

frosty dock
#

that's... not even the file of the crash

manic rune
#

EXACTLY

frosty dock
#

what's around the line where it actually crashed

manic rune
#

heres the crash log

frosty dock
#

functions/common_events.lua:1094

#

what's here

manic rune
#

waitie

frosty dock
#

yeah that makes more sense

crisp coral
#

oh

#

yeah that makes total sense

manic rune
#

:3

#

what

spring lantern
#

why does talisman

#

in general

manic rune
#

please dont leave me on the train track 😭

frosty dock
#

amt > 0

#

amt is a table