#💻・modding-dev

1 messages · Page 263 of 1

tepid crow
#

I don't love the idea of silently dropping stuff like that without telling the programmer

#

makes for a hard debugging session

native zinc
#

are there any other weird calculate_effect() stuff

tepid crow
#

I assumed joker retriggers didn't work with it either, though I haven't tested that

frosty dock
#

yeah these would work in a similar way

quartz ravine
#

Hi guys, I am trying to use debug plus to check out some vsalues for a highlighted card like so

eval {#G.hand.highlighted[1]}, I want to see how my selected card's enhancements / abilities are configured

But the syntax is escaping me a bit 😄

hushed field
#

how does the eval work for the juice_card_until. I assume it stops checking once it returns false once, right?

tepid crow
#

juice_card_until should be renamed to juice_card_while

hushed field
#

I thought I understand how it works, but it seems that I only get the function to behave the first time it's supposed. Afterwards, it doesn't at all

quartz ravine
#

I have a card that will activate every X hands. So it tracks the hands played and is then ready. It has this function in it, @hushed field

                juice_card_until(card, eval, true)```
#

It will keep jiggling until the card sets it's own ready back to false

red flower
hushed field
#

ah, maybe I should make the function simpler and just have the check take place in the card logic 🤔

tepid crow
#

or wait

#

am I tripping

#

nope I'm wrong

#

what are you trying to do with the # there?

midnight coyote
#

hey is there a variable for whatever the current mult is

#

i want to add an 'exponential' joker

#

but i need the mult to make that happen

lethal ridge
#

idk

#

the current mult as in the score ?

midnight coyote
#

current mult like the hand's current mult

hushed field
#

I think during scoring it's stored in a global called mult

midnight coyote
#

like if regular flush was played then mult would be 4

quartz ravine
shell timber
#

like 2 ^ mult? mult ^ 2?

midnight coyote
#

mult^2

#

but i may make it 0.2^mult

#

or whatever makes it balanced

#

because i know damn well that can get really unbalanced really fast if i dont cripple the shit out of it

#

ill do mult^2

#

easier to control

tepid crow
#

doesn't 0.2^x approach 0

midnight coyote
#

man its been a while since ive done proper algebra

#

give me a break 😭

thin anchor
#

may be a little busted

midnight coyote
#

or regular gold joker i mean

thin anchor
shell timber
midnight coyote
tepid crow
native zinc
#

lose $-3 dollars

#

- $-3 dollars

#

= +$3

thin anchor
native zinc
#

¯_(ツ)_/¯

midnight coyote
#

gives 3 bucks and 6 mult every hand seems legit

tepid crow
#

seems balanced to me

shell timber
#

^2 mult is probably too strong for a vanilla adjacent environment though

midnight coyote
#

globals are G.__ right

red flower
tepid crow
red flower
#

talisman allows e_mult

midnight coyote
#

ah

#

i havent i guess

thin anchor
#

there we go

midnight coyote
#

man i was excited about writing that

#

so im looking for context that my joker would trigger after another joker triggers

quartz ravine
#

Hi guys, quick question. I made this enhanced card which is like a crappy stone card that gets better the long you have it

I made a joker to play with it, but it's context never seems to trigger. anyone see what I am missing/

    -- playing card retriggers using .repetition
    return {
        message = localize("k_again_ex"),
        repetitions = card.ability.extra,
        card = card,
        was_blueprinted = context.blueprint,
    }
elseif context.cardarea == G.play and context.other_card and context.other_card.ability and context.other_card.ability.name == "Grass Card" then
   if context.other_card.ability then inspect(context.other_card) end
    return {
        message = localize('k_again_ex'),
        repetitions = 2,
        card = card
    }
   
elseif context.repetition and context.cardarea == G.hand and context.other_card.ability and context.other_card.ability.name == "Grass Card" then
    if (next(context.card_effects[1]) or #context.card_effects > 1) then
        return {
            message = localize('k_again_ex'),
            repetitions = card.ability.extra,
            card = card
        }
    end```
midnight coyote
#

so like it would be

1 2 3 4 5
1!! 2 3 4 5

1 2 3 4 5!!
1 2!! 3 4 5
1 2 3 4 5!!

quartz ravine
#

Bonus picture of joker

midnight coyote
#

i may make an enhancement called 'burnt' card that has a 1 in 20 chance to level up whatever hand its played in

#

is that a good idea or is it a bit broken

tepid crow
#

more like "space" cuz of the 1/20

midnight coyote
#

too weak? too strong?

tepid crow
#

I think it's pretty good

midnight coyote
#

well im basing it off the burnt joker

tepid crow
#

it sounds more like space joker

midnight coyote
#

mm yeah

#

call them like 'astral' cards

#

make the bg galaxy almost?

tepid crow
#

yeah that could work

midnight coyote
#

and then i could make some jokers that play off of it

#

oops all sixes would be good for it

#

talking vanilla

tepid crow
#

gotta make sure you have good visibility for the suits/ranks though on a dark bg like that

midnight coyote
#

yeah

midnight coyote
#

im more worried abt spades/clubs than diamonds/hearts

midnight coyote
#

thanks a bunch

#

mm this mod is gonna be great

#

i need to adjust some code though

#

i need to seperate my deck skins from my everything else

quartz ravine
thin anchor
#

how would i change this to repeat all cards?

midnight coyote
#

especially considering luck boosting jokers

quartz ravine
daring fern
quartz ravine
thin anchor
daring fern
midnight coyote
#

ooh seal idea

#

retriggers every played card that shares a rank with itself

thin anchor
midnight coyote
#

oh dear lord i have some good ideas for this mod

#

i also have an idea for a ‘bomb joker’ that gives a crazy mult but has a 1 in 20 chance of destroying itself and every joker adjacent to it

hushed field
#

I have some jokers with effects like that, and they're some of my favorites to play with

midnight coyote
#

gros michel from hell

hushed field
#

I love a good risk/reward

thin anchor
#

gros bombel

midnight coyote
#

then i make the cavendish version that’s a 1 in 500 chance to just nuke all of the jokers

#

but it’s like 6x mult

native zinc
#

now that's what i call balance /j

#

"blueprint but better but worse"

hushed field
#

b

native zinc
#

well yeah

#

all my jokers start with B

hushed field
#

b!

midnight coyote
#

here's my first concept

shell timber
#

looks good, if a bit blurry

midnight coyote
#

the blurriness is on purpose

#

i felt like ading it to the edges gave it a nice look

#

ctually\

#

hold onb

thin anchor
#

why are you in my shop

midnight coyote
#

i may add a 'bountiful' edition that adds x_chips

#

1.5xchips

quartz ravine
#

I will add a print around all played cards to see what I am missing for my grass dudes

native zinc
#

+0 dollars 😭

thin anchor
#

$-1 dollars 😢

midnight coyote
#

i’m genuinely cooking with this mod

hushed field
midnight coyote
#

lmao

#

so colors arent working for me for some reason

#

any idea why

thin anchor
#

lemme see

#

code

midnight coyote
#

i do {C: attention} blah blah blah {}

#

and then it doesnt color it

thin anchor
#

remove the space

hushed field
#

Spaces kill the functionality

thin anchor
#

between c and attention

midnight coyote
#

between?

#

oh

#

thats it

hushed field
#

No spaces between brackets

midnight coyote
#

god damn it

hushed field
#

Same goes for when you're stacking effects

thin anchor
midnight coyote
#

god forbid i want readable code

thin anchor
#

same here

hushed field
#

{X:mult,C:white} works. {X:mult, C:white} doesn't

hushed field
midnight coyote
#

joker poker: balala

native zinc
midnight coyote
# native zinc

'I LOVE LUA' i say behind tears and gritted teeth as i add yet another end because apparently brackets werent good enough for this language

hushed field
# native zinc

My teammates in a League match when we're 0-1 behind 15 minutes in the game and we can surrender

thin anchor
#

what do you mean poker jo- i mean poker j- i mean joker jo- i mean-

hushed field
#

Hahaha

midnight coyote
#

theres a joker in my mod called 'The Jonker' that reduces chips by 100 and sets mult to 0

#

mfw im playing gold stake and i get an eternal jonker from a judgement

thin anchor
#

best joker evar

midnight coyote
#

can you even pull eternals from judgement

#

here's all my joker designs

native zinc
#

readable code chat

forest ivy
midnight coyote
forest ivy
#

is that ur mod tho

midnight coyote
#

im coding it right now

hushed field
#

I was originally gonna do a legendary joker for the movie Joker but I opted for Barbie instead. I'll make Joker the Jimbo equivalent for when I remake every vanilla joker as a Kino joker

forest ivy
midnight coyote
#

probably

thin anchor
midnight coyote
forest ivy
#

welp if it will then i'd love for u to ping me when itll be released

midnight coyote
#

also that one joker thats bleeding is the lobotimized joker

hushed field
tall wharf
#

going insane from my tiredness

midnight coyote
#

i got mad at my code so i lobotomized jimbo

hushed field
tall wharf
midnight coyote
#

and yes, that is margret thatcher joker

tall wharf
#

development must resume

forest ivy
hushed field
#

It doesn't, sleep is important too

midnight coyote
vast lily
#

me when the when the when the when

tall wharf
#

i added maimai jokers to the game

forest ivy
midnight coyote
#

why 'if then' and not just like 'if {}' or 'if:'

forest ivy
#

cuz it isnt python

#

🔥

midnight coyote
#

im so C pilled right now

forest ivy
#

tbh for me best way would be

if:
  yap
end
hushed field
forest ivy
#

u mention where it ends and don't type then

midnight coyote
#

end makes me so irrationally angry

forest ivy
#

sounds peak

tall wharf
midnight coyote
#

i like curlies the most

#

{}

thin anchor
#

everyones favorite joker!!! jombo!!!

midnight coyote
#

if {

code

}

native zinc
#

that sentence

#

makes

#

no sense

forest ivy
native zinc
#

to be fair, you can and your if-thens

midnight coyote
native zinc
#

unfortunately my end againagainagainagainagainagain

tall wharf
#

wtf

native zinc
#

has important checks

#

sad

tall wharf
#

kasane teto

midnight coyote
#

how do i add blueprint effects

native zinc
#

wait until the next steammodded update

#

because currently retriggers broken

tall wharf
#

SMODS.blueprint_effect ?

native zinc
#

the code i just posted actually does blueprint

midnight coyote
#

i wanna add something that tells blueprint wtf to do

#

im not trying to add in retriggering

native zinc
#

oh

#

that's the context

midnight coyote
#

im trying to make my joker retriggerable

native zinc
#

context.blueprint iirc

midnight coyote
#

alr so i can just add 'if context.blueprint then'

#

to my calculate

red flower
#

jokers are copied by default, you need to tell them when NOT to be copied by blueprint

rain slate
#

it's gonna trigger like 100 times

tall wharf
#

check for not context.blueprint for effect that shouldn't be blueprinted

native zinc
#

things can be blueprinted by default

midnight coyote
#

ok so if its blueprinted by default then im good

tall wharf
#

my legs are in pain

native zinc
#

yknow the feeling when you're just playtesting your mod

#

and you get a good vanilla run

tall wharf
#

all the time

red flower
#

i dont playtest my mods

native zinc
#

and then you realise "shit i cant count this to my vanilla runs"

#

but you get this ante 2

#

and im pissed as hell

hushed field
#

I only play test 'N's mod, I barely touch mine

brazen kite
native zinc
#

hi pepsi

midnight coyote
#

is this language here good

native zinc
#

oh my god

brazen kite
#

hi

tall wharf
midnight coyote
#

otherwise?

runic pecan
tall wharf
midnight coyote
#

no i mean is the text fine besides the lines being wonky

red flower
native zinc
#

i just have a lot of things to check

midnight coyote
tall wharf
#

also Cryptid has Astral

midnight coyote
#

alright

#

what else can i call it then

hushed field
#

btw N, I was trying to go through the log to find it, but you had some code to properly format localize stuff, right?

red flower
native zinc
#

thanks judgement

midnight coyote
#

galactical cards

native zinc
#

no mod stuff has shown up in shops

vast lily
#
-- scourge deck
SMODS.Back({
    atlas = "devils_deckbox",
    config = {
        scourge = true,
        scourge_price = false,
    },
...

if I want there to be an event that triggers at a certain point mid-run that sets scourge_price to true how would I code that in? When an if statement checks one of these variables it looks like:

if self.effect.config.scourge then

so would I need to do something similar to assign the variable too?

red flower
#

i can be used as any token yes

rain slate
tall wharf
#

N

red flower
#

A

hushed field
#

toke'N

midnight coyote
#

how do i upgrade the played hand is the question

tall wharf
#

there's a little function called upgrade hand

midnight coyote
#

oh alr

hushed field
tall wharf
hushed field
#

or upgrade, wait lm check

rain slate
#

so you can probably just find the context you want to change that variable in and then assign it

tall wharf
hushed field
#

yeah, it's level_up

midnight coyote
#

and iim sure theres a context for being played

tall wharf
#

i still upgrade hand the manual way

midnight coyote
#

alright great

#

now i just need to add the chance part

red flower
#

does level_up still have problems with the text when leveling up a different hand than the one played

hushed field
#

level_up only can upgrade the played one, no?

red flower
#

theres a parameter to change it

#

level_up_hand or something like that

turbid maple
#

97 year old mod still upgrades hands tbe old way

modern kindle
#

Which problem? I didn't think it had one when showing diff hands
I have a joker that levels up a random hand after using a planet card

tall wharf
hushed field
#

oh yeah, I think so

#

I still keep forgetting to fix it in Kino, and people tell me about it, so I assume it's still there

red flower
vast lily
modern kindle
#

Oh no mine definitely shows the text, let me look at mine in a sec to verify I'm not misremembering

vast lily
#

i probably do tbh

tall wharf
#

hi

vast lily
#

im still learning to read curlies as tables cuz im extremely javascript pilled

rain slate
#

iirc self is like the prototype or smtn while back is the actual thingy

wintry solar
#

I think the text hanging around is when you do it not during scoring iirc

vast lily
#

i want to set a flag that remains active for the entire rest of the run no matter what else happens

red flower
wintry solar
#

I need to take another look at it at some point

red flower
# modern kindle

yeah but that has the opposite problem of not deleting the text lol

#

i fixed it by doing it manually but still

midnight coyote
#

this still look right so far?

modern kindle
#

yea but it removes the text if i select another card anyway so i figure its not the worst, it does at least show the hand being upgraded :b

vast lily
daring fern
thin anchor
#

how do you make shaders?

midnight coyote
hushed field
red flower
tall wharf
midnight coyote
#

you are basically telling the GPU how to manipulate pixels

tall wharf
thin anchor
midnight coyote
#

just find free shaders online lol

tall wharf
midnight coyote
#

just credit whoever made them

tall wharf
thin anchor
#

god dammit im already insane i dont want to go to the asylum

midnight coyote
#

the aslume?

tall wharf
#

if you wanna write these shaders minimum asylum visit is 10

#

sorry

modern kindle
midnight coyote
#

why are you trying to write shaders? are you stupid? /ref

thin anchor
#

i want to make an enchantment

frosty dock
#

the world if balatro used a standard version of GLSL:

tall wharf
midnight coyote
hushed field
#

I wanna give shaders another shot soon because I desperately want to make Abduction not look like fucking shit, haha

red flower
#

i will never willingly write a shader

hushed field
#

I really liked working with shaders in unity, but that had a shader graph and a visual editor

thin anchor
#

ok so no shaders then
should i just use images?

modern kindle
tall wharf
#

i guess i am writing a new shader

#

:(

#

just to prove a point

runic pecan
#

Speaking of which, where can I find guides about making joker shaders?

red flower
tall wharf
#

there is no guide

tall wharf
tall wharf
#

otherwise you are on your own

modern kindle
tall wharf
#

I'M NOT SMART

red flower
#

yes you are

modern kindle
#

aiko wants to flex how epic and smart they are

tall wharf
#

I'M STUPID AS A FUCKING ROCK

thin anchor
#

yeah showoff

hushed field
#

says the person making a math deck

modern kindle
#

if youre stupid the rest of us are fucked

thin anchor
#

true

tall wharf
#

i still have one secret addition to my mod that i haven't revealed

#

i think i have a clue as to how i can go about it

hushed field
thin anchor
#

the entirety of super mario bros

tall wharf
midnight coyote
#

i hope my enhancement works

#

i may make an ‘alien joker’ that galactifies all face cards played

#

rare ofc

thin anchor
midnight coyote
#

i like that idea actually

#

that sounds awesome

hushed field
thin anchor
#

ufo joker?

midnight coyote
#

You arent in this episode.

hushed field
#

ice:start_dissolve()

red flower
#

ice:shatter()

midnight coyote
#

ice:destroy()

thin anchor
#

ice:explode()

#

ice:melt()

midnight coyote
#

what does your design look like

#

so i dont copy it accidentally

brazen notch
#

does context.destroying_cards go through G.hand?

hushed field
#

Haha, probably nothing similar to yours, no worries. Mine's called 'Alien' after the movie 😛

#

but just so that the court proceedings will include this as evidence, proof that my mod has both an Alien joker and ufos

thin anchor
#

oh wow

#

that art

#

god damn

red flower
hushed field
#

took me a whole ten minutes to draw that ufo in Aseprite, and then a whole 2 hours to get that 0 to be beamed up by it in the UI 🥲

thin anchor
#

too poor for aseprite so i use the lamer brother libresprite blueprint

midnight coyote
#

gave bro a buzz 😭

midnight coyote
modern kindle
tall wharf
thin anchor
#

oh boy i love piracy!

tall wharf
#

hold on

#

need a good way to add math deck

#

for real

#

tho

turbid maple
#

I compiled manually on my Linux machine but ended up just buying a license because compiling on Windows is a pain in the ass

tall wharf
#

lol

thin anchor
brazen notch
midnight coyote
#

its not piracy because its included in the license

midnight coyote
red flower
tall wharf
thin anchor
#

sob

hushed field
#

was there a premade way to assign enhancements to cards randomly at the start of a challenge?

midnight coyote
wintry solar
#

I’m pretty sure they have it on their website

turbid maple
#

pretty sure the AUR package just automates the compilation and doesn't distribute the binary

agile thistle
#

on windows it takes like 9 gigs of nothingburger if you never intend to compile anything ever again though

midnight coyote
tall wharf
#

if i fall asleep i blame you all 😭

midnight coyote
#

yeah i just checked

tall wharf
#

development must resume today

agile thistle
midnight coyote
#

even the aseprite-bin package just takes the purchased .deb and upwraps it

midnight coyote
tall wharf
#

I'm sleeping comfortably on my bed

#

at least lying down

red flower
#

im sleeping comfortably at work

midnight coyote
#

if you use arch linux and the aur it cleans up after

#

alternatively

#

just have alot of space on your machine

#

easy fix

#

and youll want to compile latest aseprite later on im sure

agile thistle
#

yeah but it's probably annoying for people who only want aseprite to install entirely unrelated things

midnight coyote
agile thistle
#

What the fuck is a Visual Studio.

agile thistle
midnight coyote
#

sacrifice convenience for having it for free

red flower
#

i see this as a windows problem rather than a convenience problem

hushed field
#

oh no, making custom rules for challenges is going to need a bunch of lovely patches, aren't they? 😢

midnight coyote
thin anchor
#

urggg...

turbid maple
#

I just want to compile a C project why is the first result telling me to install an entire IDE

agile thistle
#

it only depends on if the rules like

midnight coyote
#

although windows is one large inconvenience itself

agile thistle
#

actively work against the game

hushed field
#

I guess I can hook into some, but there's no object or calculate context to set rules up with, right?

midnight coyote
#

i have an idea for a boss blind

#

'the candle' all cards with seals are disabled

agile thistle
#

G.GAME.modifiers.xyz

#

nil or true

tall wharf
#

you're late lol

hushed field
#

yeah, but the game's not just gonna guess what it needs to do based on vibes of what I name the rule 😛

midnight coyote
#

like verbatim exist

hushed field
#

that's a very aiko coded blind haha

tall wharf
agile thistle
#

eg. i did all debuffs using a hook i believe

midnight coyote
hushed field
#

I think for some it'll work, others'll be patches, judging from what I need them to do.

agile thistle
#

but it's a lot less than you think it'll be

midnight coyote
#

ooh i could have a boss blind that turns every enhancement's effects negative

#

like instead of steels doing 1.5x mult they do 0.5x mult

#

thats defo like a big evil boss blind

#

hey so if i made a 5th suit could it be rolled by stuff like ancient joker

faint yacht
#

Ancient Joker's hardcoded iirc.

midnight coyote
#

we

tall wharf
#

if it's in your deck

midnight coyote
#

awe

tall wharf
midnight coyote
#

oh fr

#

were so back

tall wharf
#

please help my legs don't want to pull me up anymore

faint yacht
modern kindle
tall wharf
#

only if there was a way for me to code without effort

modern kindle
#

its okay, ill do the resuming of development, you get your rest as i believe you said you are sick

agile thistle
modern kindle
#

have fluids, make sure you eat

agile thistle
#

become a spider

tall wharf
#

ok no fuck vibe coding i hate vibe coding all my homies hate vibe coding

midnight coyote
modern kindle
#

im unfamiliar whats vibe coding

warped marsh
tall wharf
#

(context: vibe coding is when you use 100% AI to make a project to get rich quick)

#

was typing context

midnight coyote
#

balatro modding has made me a better programmer because deepseek is hopeless when it comes to this

modern kindle
frosty dock
#

😭

tall wharf
#

aure are you ok

warped marsh
#

if you use ai 100% you arent coding 😭

tall wharf
#

did you just learn about vibe coding today

frosty dock
#

no ik about vibe coding

tall wharf
midnight coyote
modern kindle
agile thistle
warped marsh
#

i rather shit code from someone and them asking a billion questions then just ai generated mod

agile thistle
#

and then they made Copilot free

#

ai singlehandedly ruining code worldwide 🥳

modern kindle
#

i have used ai to tell me where im being fucking stupid when i cant tell where im missing a comma or some shit before

#

that aspect is at least useful

wintry swallow
#

Im not sure if this is the right place to ask but considering how only modders are here yall can give me the best answers. does anyone know how to exactly use the "replacejokers" mod?

warped marsh
thin anchor
warped marsh
#

no crtitical thinking at all

modern kindle
midnight coyote
agile thistle
#

oh yeah hold on i just remembered something

warped marsh
agile thistle
frosty dock
warped marsh
#

istg crtical thinking is shown to go down

modern kindle
#

google should make that 100%

warped marsh
#

a lot of code is just copy and paste from stack overflow anyways

midnight coyote
#

dude all these hacker groups are probably salivating at all the shitty code they get to exploit soon

modern kindle
#

stack overflow my beloved

tall wharf
#

i might be cooking chat

modern kindle
#

aiko youre fuckin always cookin get out the got dam kitchen

tall wharf
#

i just plugged in my second monitor and rotate it towards my bed

warped marsh
#

wowie

tall wharf
#

development resumes

midnight coyote
#

i’m at my alternative setup with one monitor

#

and i’ve been cooking

#

once i get to my big setup with 2 monitors

#

i’ll be unstoppable

modern kindle
#

you need to get those setups that let you just have a whole desk you can rotate and move from your bed

warped marsh
#

i recently got a second monitor from facebook market place

midnight coyote
warped marsh
#

i lowballed that

tall wharf
modern kindle
#

ive got 3 monitors, one that was a couple hundred bucks, one that was like 60, and one i stole from a hotel i did security for (they said i could take it)

tall wharf
#

this second monitor is special

#

because it's a pen display

#

paid like 400 bucks or some shit

modern kindle
#

zamn

tall wharf
#

it's 21"

midnight coyote
#

mine is like 120 bucks

#

165hz, my dad used to have it but he gave it to me since he didn’t like curved monitor

warped marsh
#

mine is 40 bucks, i love having discord and spotify open on it!!

modern kindle
#

i just got this shit
it aint the absolute best but it does its job

faint yacht
#

me when using an old ViewSonic 1024x768 monitor that technically doubles as a monitor for my pre-2005 PCs:

tall wharf
modern kindle
warped marsh
#

not point on spending a fortune for a second monitor

tall wharf
#

don't worry about it it's fineeee

warped marsh
modern kindle
#

oh u get to see edits n shit

#

why are u logging myt messages erm..

tall wharf
#

no???

#

not you specifically

midnight coyote
#

i might buy a third monitor

#

horizontal

hushed field
#

I have a regular monitor and a wall mounted tv that I use as a second monitor so I can watch movies while I work, ofc

midnight coyote
#

over my main one

tall wharf
#

balatro goes kino moment

warped marsh
#

i love that

tall wharf
#

THE PROBLEM ARISES

thin anchor
#

not my jimbo

tall wharf
#

THE GAME STARTS ON MONITOR 1

tall wharf
#

fuck

#

crisis averted

#

60hz feels off

#

help

modern kindle
#

turn that shit on

tall wharf
#

Balatro Discord goes Kino

modern kindle
#

ey mom get the camera im in that pic

hushed field
modern kindle
#

😭

midnight coyote
#

if you don’t use game speed 4 what are you even doing

tall wharf
#

i did change the effect of this so it is a bit better

warped marsh
#

too tiktok brainrot pilled, cards move fast now

tall wharf
#

it no longer resets

modern kindle
midnight coyote
#

i’ve never seen anyone play on .5 besides amber acorn

warped marsh
#

.5 is trolling

tall wharf
#

do you like this deck back chat

midnight coyote
#

what do yall think about my blind that makes all of your enchantments Evil

next timber
#

I could probably release my mod today, but it wouldn't have any jokers, so im considering holding tye mod back and implementing the jokers i planned on adding next update first

zealous glen
modern kindle
#

hi vic :D

zealous glen
midnight coyote
#

what would i even call it

tall wharf
#

The Flip

zealous glen
#

The Heel

midnight coyote
#

i wouldn’t make it a regular boss blind

#

it seems way too strong for a regular boss blind

tall wharf
#

Upward Ultima

zealous glen
tall wharf
#

i mean this is my regular boss blinds

zealous glen
midnight coyote
#

imagine a deck that plays around steel cards that suddenly gets fucking crippled

zealous glen
#

I once made Cerulean Bell into an ordinary boss blind

midnight coyote
#

or any enhancement actually

zealous glen
#

Because I didn’t think it was strong enough to be a showdown

tall wharf
#

also plant 2

zealous glen
#

I changed it slightly just to make it different

midnight coyote
#

literally half the game is now crippled because of the blind

manic rune
#

good morning everyone

midnight coyote
#

i feel like it’s worth a showdown

midnight coyote
zealous glen
modern kindle
midnight coyote
#

mfw the blind makes me go fuckall in debt because i have a billion billion gold cards

zealous glen
#

It’s a bit unfortunate how Balatro Blind system works, but I don’t think “can sometimes cripple a specific build” is a powerful or interesting type of boss

#

So I wouldn’t make it a showdown

midnight coyote
zealous glen
#

It’s both weak and uninteresting

midnight coyote
#

like alot alot of builds

#

mult cards? yeah get fucked, try -4 mult

zealous glen
midnight coyote
next timber
zealous glen
modern kindle
vast lily
#

does anyone know what the correct name for the context of "whenever a joker is added to the joker area" is for calculate functions

zealous glen
#

It’s a minor inconvenience usually

manic rune
tall wharf
#

bepis

modern kindle
manic rune
#

hi aiko

midnight coyote
#

polychrome that gives you the 0.25x mult

tall wharf
#

face cards all give x0.5 mult

manic rune
zealous glen
tall wharf
#

i guess you just made an impossible boss

midnight coyote
#

the showdown that increases the ante every other hand played

vast lily
#

appreciate it!

manic rune
#

aiko

#

bring out the X2 ante blind

modern kindle
#

showdown that swaps ante with rounds played

midnight coyote
midnight coyote
tall wharf
zealous glen
#

Also @tall wharf did I tell you I finished implementing The Wind?

tall wharf
#

wtf real

midnight coyote
manic rune
#

thats not even the worst one aiko got

#

💔

modern kindle
#

i actually need to start getting some blinds in soon

#

theres so much i need to do

midnight coyote
#

a really wanna make a blind called ‘Symphony of Sorrow’
mult is divided /100, but you get 100 hands

#

it literally exists just to spite you

hushed field
#

and some are even playable. I'm setting up an implementation to randomly assign a number of cards in the starting deck an enhancement based on a challenge rule. That's probably something useful enough to figure out how I write good push requests for SMODS

tall wharf
#

too easy tbh

midnight coyote
#

it’s not about being easy or difficult

#

it’s about causing the player suffering

#

they can beat it easy enough but it’s gonna take a long ass time

modern kindle
midnight coyote
#

if only i could force game speed to be 0.5 while the blind is active </3

tall wharf
#

oh right chicot

manic rune
#

but for a joker

#

i think they forced your game speed at 0.1

zealous glen
#

Should I rename Rouge Ribbon to Lavender Loop?
-# or Lilac Loop maybe

hushed field
modern kindle
tall wharf
#

ok for real ill add

#

fuckin

#

math deck stuff now

next timber
#

would you guys download a mod with just editions, enhancements and seals or shoukd i hold off until ive added jokers

midnight coyote
#

wait what if i added a joker that gives you +5 joker slots but at all times half of your jokers are disabled and the ones that are disabled cycle randomly

zealous glen
tall wharf
#

wip

midnight coyote
#

blind that gives you gender dysphoria

#

this is the next step up

tall wharf
#

🏳️‍⚧️

midnight coyote
#

blind that when lost, sends hired goons to your home

manic rune
#

why so true

tall wharf
#

is it bad that i like cute thing as a grown ahh person

next timber
zealous glen
#

why is true 2025’s new meme

zealous glen
#

Didn’t you watch

#

The Spongebob movie

manic rune
midnight coyote
#

anything but obs bro

manic rune
#

:3 foil + bonus support

midnight coyote
#

steam does clipping too

#

you can record the past 2 hours always and then just clip it

tall wharf
#

im thinking hard

#

about the math deck

midnight coyote
tall wharf
#

and how i should approach cards

#

irl

manic rune
#

aiko, can i make it so when you play HONKAI word then u get a free roll :3

zealous glen
manic rune
#

-# cross-mod content

tall wharf
#

and also how i can put user in control on converting letter deck to letter+math hybrid deck

manic rune
midnight coyote
#

i was thinking of making a Sonic Heroes deck skin pack

turbid maple
#

inaccurate because mihoyo would never be that generous

manic rune
zealous glen
tall wharf
zealous glen
manic rune
#

i mean, hsr is becoming pretty generous with how much stuff they r giving away

zealous glen
#

I need to buy a new PC if I want to play ZZZ

manic rune
#

same

tall wharf
#

hold on

manic rune
#

id make a zzz mod if i got to play it :3

tall wharf
#

actually

zealous glen
#

I had a parts list but I didn’t buy it

zealous glen
manic rune
#

development resumes today+1...

midnight coyote
#

tomorrow

zealous glen
#

I liked making the Dichrome Edition a lot

#

Kinda makes me want to make something else a bit similar to it

next timber
tall wharf
#

IT PISSES ME OFF SO MUCH

#

THAT I HAVEN'T DONE SPADES YET

#

IT'S BEEN 3 MONTHS

long sun
#

this code is saying "ERROR":
localize((G.GAME.current_round.book_card.rank or 14).."", 'ranks')

#

also hai, aiko! :D

midnight coyote
#

i think im gonna call my mod Astropulvis

zealous glen
tall wharf
tall wharf
midnight coyote
#

Astropulvis is the latin word for stardust

zealous glen
long sun
#

mm? clarify? sorry

zealous glen
#

with positional arguments

#

So maybe it needs to be a table with key and value pies

#

pairs*

long sun
#

ah kay

#

lemme try that

#

so like, vars = ..., type = ...?

zealous glen
#

Idk what it should be

#

See how rebate does it I guess

glad osprey
#

this one

#

its the only one that does this

midnight coyote
glad osprey
#

it is at 0 0 in the spritesheet but thats all i can think of that causes it

tall wharf
#

i have lost my own magic

glad osprey
tall wharf
glad osprey
#

yes

long sun
glad osprey
#

sprite works properly everywhere else

#

just in the splash screen its broken

brazen tusk
#

What position is it using?

glad osprey
#

x = 0, y = 0

#

for both

midnight coyote
#

how do i apply an enhancement to a card using a joker

#

i have the context set up

#

i just need the thing to actually manipulate it

brazen tusk
daring fern
tall wharf
#

how would you deal with cards that always does not get scored?

#

always scored?

manic rune
#

yall

midnight coyote
#

is the enhancement in my case would be whatever key i turned into the enhancement?

tall wharf
#

bepis pls

manic rune
#

the fuck is this

#

😭

tall wharf
tall wharf
manic rune
#

💔

#

surely they wont copy my hsr mod too

zealous glen
manic rune
#

for april fool: turning my mod to be referencing whatever that game is

midnight coyote
#

how can i just add whatever joker i want to my slots

#

for debug

zealous glen
#

use debug

#

plus

tall wharf
#

debugplus

#

i mena

#

debugpkus

midnight coyote
#

how do i use debug plus to do that

#

i have debug plus but it’s not really doing me any favors

daring fern
midnight coyote
#

oh my god

#

    
}
SMODS.Joker {
    key = "alien_joker",
    loc_txt = {
        name = "Alien Joker",
        text = {"Turns any face card played into a {C:purple}Galactical{} Card. "}
    },
    rarity = 3,
    atlas = jokeratlas.key,
    pos = {x=6,y=0},
    cost=5,
    discovered = true,
    calculate = function(self, card, context)
        if context.individual and context.cardarea == G.play then 
            if context.other_card:get_id() == 11 or 12 or 13 then 
                context.other_card:set_ability("galactical")
                return {
                    message = "Abducted!"
                }
            end
        end
    end 
}
   

SMODS.Enhancement {
    key = "galactical",
    loc_txt = {
        name = "Galactical Card",
        text = {"{C:green}#1# in #2# chance{} to upgrade", "he hand this card is played in."},
    },
    config = {extra = {odds = 20}},
    atlas = enhancementatlas.key,
    pos = {x=0,y=0},
    loc_vars = function(self, info_queue, card) 
        return { vars = {(G.GAME.probabilities.normal or 1), card.ability.extra.odds}}
    end,


    calculate = function(self, card, context)
        if context.main_scoring and context.cardarea == G.play then
            if pseudorandom('galactical') < G.GAME.probabilities.normal / card.ability.extra.odds then
                return {level_up = 1}
            end 
        end
    end


}
#

what am i missing?

tall wharf
#

:3

#

:3

tall wharf
#

the prefix

#

and the class prefix

midnight coyote
#

which would be

tall wharf
#

m_yourmodprefixyouputinthejson_galactical

midnight coyote
#

ohh

zealous glen
#

What do you think about this Blind idea?

tall wharf
#

cruel

#

...

zealous glen
tall wharf
#

still cruel

zealous glen
tall wharf
#

taking player's money is cruel

zealous glen
tall wharf
#

still cruel

zealous glen
tall wharf
#

still

zealous glen
tall wharf
#

+$20 but halves your money

zealous glen
tall wharf
#

😭

zealous glen
midnight coyote
tall wharf
#

try updating steamodded

midnight coyote
#

i have latest

tall wharf
#

smh

#

i can't read

#

ok what does your code look like

zealous glen
#

98%

midnight coyote
#




    
}
SMODS.Joker {
    key = "alien_joker",
    loc_txt = {
        name = "Alien Joker",
        text = {"Turns any face card played into a {C:purple}Galactical{} Card. "}
    },
    rarity = 3,
    atlas = jokeratlas.key,
    pos = {x=6,y=0},
    cost=5,
    discovered = true,
    calculate = function(self, card, context)
        if context.individual and context.cardarea == G.play then 
            if context.other_card:get_id() == 11 or 12 or 13 then 
                context.other_card:set_ability("m_astropulvis_galactical")
                return {
                    message = "Abducted!"
                }
            end
        end
    end 
}
   

SMODS.Enhancement {
    key = "galactical",
    loc_txt = {
        name = "Galactical Card",
        text = {"{C:green}#1# in #2# chance{} to upgrade", "he hand this card is played in."},
    },
    config = {extra = {odds = 20}},
    atlas = enhancementatlas.key,
    pos = {x=0,y=0},
    loc_vars = function(self, info_queue, card) 
        return { vars = {(G.GAME.probabilities.normal or 1), card.ability.extra.odds}}
    end,


    calculate = function(self, card, context)
        if context.main_scoring and context.cardarea == G.play then
            if pseudorandom('galactical') < G.GAME.probabilities.normal / card.ability.extra.odds then
                return {level_up = 1}
            end 
        end
    end


}
#

heres just the part i just now added

tall wharf
#

actually no you don't have latest but it's not that old

manic rune
#

wait

#

why is your atlas "jokeratlas.key"?

#

thats an odd atlas name

midnight coyote
#

instead of referencing the key directly

manic rune
#

huh

#

that works?

midnight coyote
#

yeah

#

no reason why it wouldnt

tall wharf
#

was i cooking

manic rune
#

asriel from undertale

#

GAHHH

midnight coyote
tall wharf
#

😭

#

1.21.5 came out 6 minutes ago

#

😭

manic rune
#

jesus fuck

#

😭

midnight coyote
#

urgh...

tall wharf
#

sorry...

midnight coyote
#

maybe in the midst of all the changes

#

i fucked up the run save somehow

#

let me start a new run

#

yep that was exactly it lmao

tall wharf
#

what is this

midnight coyote
#

i see no issue

tall wharf
#

have you tried playing with that card

midnight coyote
#

yes

#

hmm weird

#

it doesn’t affect the king

#

wtf

#

OH

#

OH MY GOD

#

I JUST REALIZED

daring fern
midnight coyote
#

yeah it’s only looking for one card at a time

tall wharf
#

sis wrote it like math problems

midnight coyote
#

and it would break paradolia

#

sob

tall wharf
#

do this

#

also juice the card too

midnight coyote
#

how

tall wharf
#

Card:juice_up(scale,wiggle)

midnight coyote
#

can i. make the transformation happen right as the message appears

#

can i shove it in the return somehow

tall wharf
#

all at once?

midnight coyote
#

yeah yeah

#

like message displays when the card gains the enhancement

tall wharf
#

do you want to do it before or after scoring

midnight coyote
#

before

tall wharf
#

i think you can check for context.before

midnight coyote
#

ok let me try that

tall wharf
#
if context.before and context.cardarea == G.play then
  loop for each card in play with ipairs(G.play.cards)
    change each card
  end
end
midnight coyote
#

i see

#

i can confirm that the enhancement works as intended

#

i may add a whole new category of consumable

#

Ritual cards… yes

tall wharf
#

😭

midnight coyote
#

they’re like spectral cards on crack

#

all red ish

#

so they can have really positive effects but it all comes with a big price

tall wharf
#

are you aiming for a sci fi space or a horoscopic space

midnight coyote
#

both would be cool

tall wharf
#

that is so fire

midnight coyote
#

ritual cards

#

and then horoscope cards?

#

‘Blood Pact’ card that gives you a random eternal rare joker

#

dude why is my creative energy peaking right now

#

what has this game done to me

tall wharf
#

cryptid lock can remove eternal

midnight coyote
#

i don’t mind stuff like that

#

cryptid is meant to be broken as fuck anyways

tall wharf
minor furnace
tall wharf
#

accidentally pressed F12

midnight coyote
tall wharf
#

🔥

midnight coyote
#

got the github up

#

mostly just to save the files but

#

go peer through my awful code if you dare

#

how do we feel about the blood pact ritual

#

being on checkered deck and you roll the fucking eternal ancient joker

tall wharf
#

tribute deck and rolled an idol

midnight coyote
#

i’ll have to think of more ‘ritual’ cards

tall wharf
#

destroy all jokers and gain $50

midnight coyote
tall wharf
#

¯_(ツ)_/¯

midnight coyote
#

also can i do multiple files with lua

#

i forget

tall wharf
#

yes

midnight coyote
#

i crave for the clean code

tall wharf
#

this is my main file

midnight coyote
#

oh nice

open aspen
#

why the assert?

#

to make it easier to figure out what file fucked up?

midnight coyote
open aspen
#

i have the same thing without asserts

#

kind of

#

i made a util function to load all files in a folder automatically

#

so each card/enhancement/anything is in its own file

midnight coyote
#

impressive

open aspen
#

cause i dont like having all the enhancements or whatever in one file cause it would get big and hard to read

open aspen
#

so really like 3 lines

#

also

#

i copied the idea from paperback

#

heres the code

tall wharf
#

i can't draw dawg

zealous glen
#

Is that Miku

vast lily
#
-- while scourge deck "price" is active, set all new joker sell values to $-10
-- triggers whenever any card is added, still a bit redundant but shouldnt lag anymore
calculate = function(self, card, context)
    if context.buying_card then
        -- sets the sell value of all jokers to $-10 (shoutout paperback)
        for _, v in ipairs(G.jokers.cards) do
            v.sell_cost = -10
        end

        return {
            cardarea = G.jokers, 
            buying_card = true,
            card = self
        }
    end

    if context.card_added then
        -- sets the sell value of all jokers to $-10 (shoutout paperback)
        for _, v in ipairs(G.jokers.cards) do
            v.sell_cost = -10
        end

        return {
            cardarea = G.jokers, 
            card_added = true,
            card = self
        }
    end
end

This code works as intended when buying a Joker (it sets the sell value of all Jokers to $-10) but it fails when Jokers are added by something like Judgment. I also wanna create a boolean that the deck sets to true sometime mid-run that causes this to be activated for the rest of the run

daring fern
vast lily
#

oh my god my brain

#

does card_added eclipse all the scenarios buying_card would trigger in?

gentle rain
#

hmm are there any methods of making jokers less likely to appear? like having a lower weight in the pool

vast lily
#

lemme try it

daring fern
#

The only thing it doesn't do is vouchers I think.

gentle rain
#

(theyre all tour posters teehee)

#

alsooo thinking of doing a tag or maybe several tags that are stronger than the average tag but are less likely to appear

midnight coyote
#

i’m gonna add the skibidi joker

vast lily
#

tried card_added and it didn't work at all

daring fern
vast lily
#

i know its not a problem with what's inside the function because the exact same statement worked properly when it was inside buying_card, and it makes a very immediately noticeable change to the game state

midnight coyote
#

i wanna make the ‘average logan subplot’ image into a joker

narrow iron
#

does anyone know how to add custom tags to the info queue in a card,
also how to use it in add_tag()?

midnight coyote
#

this one

vast lily
#

omg that's great

midnight coyote
#

hey quick question could i use a higher res image for like a few jokers if i just define the atlas correctly

#

or would they be far too large

brazen tusk
#

I don’t see why not

brazen notch
#

they get scaled down

midnight coyote
#

because i wanna quadruple the res for this one in particular

brazen tusk
#

I’d just link to a separate atlas for them

midnight coyote
hushed field
gentle rain
sonic cedar
#

just downloaded the LOVE2D annotations from source, is there somewhere specific i put them?

midnight coyote
#

i’ll make like ‘high res joker atlas’

gentle rain