#⚙・modding-general

1 messages · Page 1168 of 1

willow wolf
#

in roblox

granite sundial
balmy lily
#

how much epic (in rarities)? OVER 9000

willow wolf
#

guy looking directly at you, body pointed to the side with one arm held out and one arm cocking up to throw somehing

#

a red ball even

frigid mica
#

I’ve only made Fantastic, Grandiose and Secret rarity jokers

balmy lily
willow wolf
#

FUCK

#

HOW DID YOU FIGURE IT OUT

balmy lily
#

elite baller knoledge

granite sundial
frigid mica
#

Oh yeah, who is the baromime guy? Murphy or Balatro University

willow wolf
#

also guys... i'm thinking of making mixel jokers

hard plank
#

sorry?

willow wolf
balmy lily
frigid mica
willow wolf
willow wolf
frigid mica
#

I thought it’d be fun if you had them mix

granite sundial
frigid mica
#

It’s been a while since I’ve seen these fellas

granite sundial
#

Newton
Matter cannot be created or destroyed.
Max chips and mult capped at 0

frigid mica
#

Y’all remember nexo knights

#

I remember I would cheat the game by scanning all of the shields via google

round ore
#

Okay im getting frustrated at this, why do no custom challenges run wtf

willow wolf
#

(i'll try)

round ore
#

its always the same error of "attempt to index field object to a nil value

frigid mica
#

i still haven't thought of any abilities for murphy

#

roffle is the photochad guy

#

what's murphy?

round ore
#

never heard of murphy

#

reminds me of Murphy's law though

frigid mica
#

murphyobv

#

the streamer

#

glasses

#

moustache

#

wears a black cap

plush hound
#

oh my god brimstone

frigid mica
#

This guy

round ore
#

That ones new to me

frigid mica
round ore
#

I only ever watched drspectred really

frigid mica
#

Dr who?

round ore
frigid mica
#

oh

#

fuck

#

that's his name?

round ore
#

yeah, the channel is BalatroUniversity though

frigid mica
#

my brain farted and called him balatro university

#

i feel like he's the baromime guy

round ore
#

it's his nick on discord atleast lmao

plush hound
#

bummer

keen knoll
plush hound
#

he is

round ore
#

must explain his sheer fucking luck

plush hound
#

bummer

lunar sluice
#

streamer luck is real

#

unless youre watching literally every stream anyway

#

ik this is probably common knowledge but streamers/youtubers look luckier than they are because unlucky runs are boring in terms of making videos

plush hound
#

roff

lunar sluice
#

niko you should make youtube videos with me

#

react to my liked instagram reels

#

i downloaded instagram the other day just to follow some people to get some free shit and man

frigid mica
#

Ruby

lunar sluice
#

reels is so much funnier than shorts

#

its actually insane

frigid mica
#

If you were making a Rare Murphy Joker, what his ability is?

willow wolf
lunar sluice
#

scored 9s trigger one of the following effects:
gain some amount of money
1 in 4 chance to add a random edition to a random joker
create a random 9 and add it to deck

#

idk that many murphy jokes because i dont watch that often

willow wolf
prisma latch
#

hjhgh i want to make power cards more coherent but idk how to do that without having to entirely swap out their effects and art

#

right now they just. give enhancements, seals or editions to cards, so they could be replaced by tarots and spectrals

lunar sluice
#

its better now that i liked a ton of stuff

frigid mica
#

Scoring 9s have a 1 in 4 chance to create a gold seal gold diamond 9, what do you think?

granite sundial
willow wolf
#

it'll reveal the gradient tool

keen knoll
#

its also bound to shift g

frigid mica
#

Murphy’s joker in polterworx gives ^^1.09 chips when scoring 9s

#

Huh.

willow wolf
granite sundial
solar sandal
#

hi chat

green briar
willow wolf
#

what effect should he have

#

explain.

fervent vessel
#

that was an accident mb

willow wolf
#

hey i saw that, come back here simple and clean-

fervent vessel
#

😅

granite sundial
willow wolf
#

i would've said 3X mult if played hand is 3, 4, 1, 5, 9 in that order

#

though thats not a scoring hand

keen knoll
#

way too specific wth

willow wolf
#

so imma say if hand contains a 3 of a kind with all face cards, 3.141592653589793x mult

willow wolf
#

call it "The One Who Balls"

woven crag
granite sundial
#

you are driving 0.1415926535...... km over the speed limit

woven crag
#

what if youre an engineer

#

so pi = 3

willow wolf
#

ok i changed the name to something better

#

"baller be thy name"

granite sundial
woven crag
#

okay but thats an engineering thing

#

i think

#

or some field

#

where they say that

#

also skill issue physics should get better structural integrity

keen knoll
granite sundial
#

the base for my next Joker

woven crag
#

i thought that was a giant ass middle finger and not a sword

#

😭

prisma latch
#

ughh i hate the radial gradient tool in aseprite

long bobcat
#

Where this blind is from

#

What mod

willow wolf
fathom gust
#

talisman try not to cause 200 different issues challenge (impossible)

long bobcat
#

Im really curious where that bind is from

distant badge
#

ball ball ball

digital jungle
keen knoll
oak kernel
quartz wasp
#

I'm Going Straight Up

long bobcat
distant badge
#

why is free will here

trail berry
fallow bramble
distant badge
#

i keep pulling spectral soul-likes in arcana packs with this joker

willow wolf
#

help

#

im trying to make it so if there's 3 of any kind of face card individually, it gives 3.14 mult

#
    calculate = function(self, card, context)
        if context.cardarea == G.jokers and context.joker_main  then
            if ((function()
    local jackCount = 0
    for i, c in ipairs(context.scoring_hand) do
        if c:get_id() == 11 then
            jackCount = jackCount + 1
        end
    end
    return jackCount >= 3
end)() 

or (function()
    local queenCount = 0
    for i, c in ipairs(context.scoring_hand) do
        if c:get_id() == 12 then
            queenCount = queenCount + 1
        end
    end
    return queenCount >= 3
    
end)() and (function()
    local kingCount = 0
    for i, c in ipairs(context.scoring_hand) do
        if c:get_id() == 13 then
            kingCount = kingCount + 1
        end
    end
    
    return kingCount >= 3
end)()) then
                return {
                    Xmult = card.ability.extra.Xmult
                }
            end
        end
    end
}```
#

pls help

prisma latch
#

loop through the hand one time, if it's a face card add to the specific count for that rank

#

also i believe you should be returning x_mult instead of Xmult?

fathom gust
#

next(context.poker_hands[card.ability.extra.type] (three of a kind)) and context.other_card:is_face()?

prisma latch
#

ah ok

willow wolf
fathom gust
#

oh

willow wolf
#

so if u play a full house with 3 kings and 2 jacks, it still scores

tidal terrace
#

💔💔

willow wolf
prisma latch
#

yeah just loop through the hand, check for face cards, if its a face card add to the correct counter, if any of the counters are above 3 give the xmult

tidal terrace
#

Why the fuck do you have a then after return

#

Why do you even return that

#

Are you stupid

willow wolf
fathom gust
willow wolf
tidal terrace
#

Remove return

#

Add extra if

prisma latch
#

yknow what ill just code it for you this code is a mess

#

give me like 2 mins

tidal terrace
#

If kingcount ==3 then
Return

woven crag
#

or does that not exist

#

in lua

tidal terrace
#

It does

woven crag
#

okay

willow wolf
woven crag
#

then do that

prisma latch
#

or no i cant be asked acc

woven crag
plush hound
#

@wraith seal bepis

#

hi

woven crag
#

math.pi literally is just pi

plush hound
#

helpme

wraith seal
#

hi

plush hound
#

possible?

tidal terrace
#

What the fuck is this pfp

willow wolf
#

surely it cant be that easy right

wraith seal
#

tooltip?

#

which tooltip

plush hound
tidal terrace
woven crag
wraith seal
#

oh

#

yeah its easy

plush hound
willow wolf
plush hound
#

tell

woven crag
#

you can just put mathematical constants

willow wolf
plush hound
#

haaaaaaiiiiiiii

prisma latch
#

guys should i make the text pokemon font as well

woven crag
#

math.e also exists for example

#

i think

prisma latch
#

i mean maybe they just want to give x3.14 to make the card easier to understand or smth

#

irrational xmult isnt very convenient

willow wolf
#

i may be stupid

#

please help

plush hound
#

bepis died

#

rest in piss

tidal terrace
wraith seal
#

iirc you want to hook/patch into info_tip_from_rows

tidal terrace
#

You don’t need a function

fathom gust
#

my laptop may just burn up

wraith seal
#

.

wraith seal
#

why the fuck did i sen that image

tidal terrace
#

Just do a normal for loop

prisma latch
#

oh ok

wraith seal
wraith seal
willow wolf
unkempt relic
#

hi

#

are there any mods like Deck Sleeves

tidal terrace
plush hound
wraith seal
tidal terrace
#

After the if context

willow wolf
prisma latch
#

then yeah just. loop through the cards ONE time, check the card for face card, if it is add one to the correct variable. and if any of the 3 face card variables are 3 or higher return pi

unkempt relic
wraith seal
tidal terrace
wraith seal
#
if (condition) then
   (code)
end
prisma latch
#

for mod compat you should probably use a table actually

tidal terrace
prisma latch
#

if is face card then table[rank] = table[rank] + 1

#

so modded face cards are counted

plush hound
#

i think

unkempt relic
#

carde sleeves?

plush hound
#

wait

#

are you looking for more

#

deck sleeve

#

or like

unkempt relic
#

ohh

plush hound
#

a mod similar to it

unkempt relic
#

card sleeves

#

like I mean

willow wolf
unkempt relic
#

card sleeves is vanilla like

willow wolf
#

i am NOT using chat gpt

unkempt relic
#

so I want some more like it

plush hound
#

yeah only that mod existed

tidal terrace
unkempt relic
plush hound
tidal terrace
willow wolf
plush hound
#

dont tell tem to use ai

#

😭

tidal terrace
tidal terrace
#

Ii literally didn’t

wraith seal
#

you probably want to look around in Card:generate_UIBox_ability_table or generate_card_ui

plush hound
#

atp im having a hookup

wraith seal
#

back to working

#

see you in the next year chat

willow wolf
#

I FUCKING HATE SYNTAX!!!

wraith seal
#

i will complete bsr one day

plush hound
fathom gust
plush hound
#

im fucking geeking

fathom gust
#

im being real here

lime siren
#

Something something latest pinned message

willow wolf
#

I PREFER JORKING MY FORGE RATHER THAN HAVE A FILTHY GENERATIVE AI TOUCH IT

lime siren
#

Ooh I'm forging it

oak kernel
willow wolf
#

THE ONLY ROBOT I WANT TO TOUCH ME IS @forest knoll AND HER ALONE-

#

can i not love my gf?

lime siren
#

Illegal

#

💥

prisma latch
lime siren
prisma latch
#

hm. idk how i feel about this

willow wolf
lime siren
#

Why all E tho

tidal terrace
#

E

prisma latch
#

its an old kinda shitty pokemon creepypasta

tidal terrace
#

Pokemon creepypasta 💔

#

Feels like a roblox game

fathom gust
#

urrGHH

prisma latch
#

fym feels like a roblox game

fathom gust
#

it took so damn long to figure out you could just

#

do that

willow wolf
#
calculate = function(self, card, context)
        if context.individual and context.cardarea == G.play  then
            if context.other_card:get_id() == 11 then
                card.ability.extra.jackCount = (card.ability.extra.jackCount) + 1
            elseif context.other_card:get_id() == 12 then
                card.ability.extra.queenCount = (card.ability.extra.queenCount) + 1
            elseif context.other_card:get_id() == 13 then
                card.ability.extra.kingCount = (card.ability.extra.kingCount) + 1
            end
        end
        if context.cardarea == G.jokers and context.joker_main  then
            if card.ability.extra.jackCount or card.ability.extra.queenCount or card.ability.extra.kingCount >= 3 then
                return {
                    Xmult = card.ability.extra.Xmult
                }
            end
        end
    end```
prisma latch
#

you cant use comparisons like that

willow wolf
#

why not

prisma latch
#

you cant do a or b or c <= 3

woven crag
#

also just

#

do context.other_card:is_face()

prisma latch
#

you have to do a <= 3 or b <= 3 or c <= 3

plush hound
prisma latch
#

im using the wrong operator but you get the idea

tidal terrace
#

😭

prisma latch
tidal terrace
#

@main path

#

Please help

tidal terrace
#

This is torture

woven crag
#

ok

willow wolf
fathom gust
willow wolf
#
calculate = function(self, card, context)
        if context.individual and context.cardarea == G.play  then
            if context.other_card:get_id() == 11 then
                card.ability.extra.jackCount = (card.ability.extra.jackCount) + 1
            elseif context.other_card:get_id() == 12 then
                card.ability.extra.queenCount = (card.ability.extra.queenCount) + 1
            elseif context.other_card:get_id() == 13 then
                card.ability.extra.kingCount = (card.ability.extra.kingCount) + 1
            end
        end
        if context.cardarea == G.jokers and context.joker_main  then
            if ((card.ability.extra.jackCount) >= 3 or (card.ability.extra.queenCount) >= 3 or (card.ability.extra.kingCount) >= 3) then
                return {
                    Xmult = card.ability.extra.Xmult
                }
            end
        end
    end```
woven crag
tidal terrace
#

Do you have trust issues 💔

fathom gust
oak kernel
#

I was going to say who tf is responsible for that

wind token
#

what did i do to deserve this

main path
fathom gust
#

it's easier than using jokerslop

main path
#

oh

tidal terrace
woven crag
main path
#

i see whats goin on here

tidal terrace
#

Torture

woven crag
#

🥀

lime siren
willow wolf
#

IT WORKS NOW

#

HAHA

main path
#

as soon as i show up

woven crag
#

i mean

willow wolf
#

IT CAN PROBABLY BE CHEESED WITH RETRIGGERS THOUGH

#

lets be real here

woven crag
#

yeah

#

it can

willow wolf
#

the way i did it is just... very wrong

tidal terrace
#

Ofc it can

willow wolf
#

yep

#

i cheesed it with my ooown joker

tidal terrace
#

You can do a for loop and make it not cheeseable

woven crag
#

its like very much jank currently

plush hound
#

jankman

willow wolf
#

i think i should get a real coder to reimplement it rather than pretend to be able to do anything except art

#

@main path

lime siren
#

Ooh I'm janking it

woven crag
#

more fluff

willow wolf
#

cause i am so r*tarded lets be fr

main path
#

correct?

willow wolf
plush hound
#

much better

willow wolf
#

individually

willow wolf
main path
#

k
and it makes the cards give xmult,
not just a static xmult
correct?

#

or is it supposed to be a static xmult

tidal terrace
willow wolf
woven crag
#

why the fuck does morefluff on mod manager say it needs talisman
it literally doesnt

main path
willow wolf
#

@main path gonna put my jank in latest commit

tidal terrace
#

Can we end the bmm

lime siren
willow wolf
#

so why even try if im never gonna be good at it

#

or have the patience to learn

#

i should give up

main path
tidal terrace
#

Bro you’re not going to be good if you don’t try

lime siren
tidal terrace
#

Persistence beats talent

willow wolf
tidal terrace
#

That’s dumb

willow wolf
distant badge
#

why learn how to read when AI can read

willow wolf
#

what's it to you?

tidal terrace
#

It takes 10 minutes to learn lua 😭

willow wolf
#

yeah i tried learning c++ as a child

#

wasnt that easy

distant badge
willow wolf
tidal terrace
#

Do as you please man

willow wolf
#

just consume yuri rather than deal with my suicidal tendencies

#

❤️

fathom gust
#

or comms

tidal terrace
#

It takes so much time to art

lime siren
woven crag
willow wolf
woven crag
#

you didnt do anything dw

willow wolf
tidal terrace
#

How about you do something productive today and learn lua

tidal terrace
dusty token
tidal terrace
#

All you need is basics

willow wolf
#

WHAT KINDA CRACK FUCK TUTORIALS ARE YOU WATCHING

#

TO LEARN LUA

#

IN

#

10 MINUTES.

tidal terrace
#

I haven’t watched any actually

lime siren
woven crag
tidal terrace
#

My other programming language translated

dusty token
#

idk then

woven crag
#

why would fluff do thois

lime siren
willow wolf
tidal terrace
#

Web stuff is cooked

fathom gust
tidal terrace
#

You’re not going to be making a software with php

willow wolf
#

fuck

fathom gust
#

./genq

willow wolf
#

imma gonna learn lua

willow wolf
#

who uses php

#

what do you think i am, competent?

quartz wasp
#

I love Python! I love Python! Wooo! Woooo!!!

tidal terrace
#

The 8 other people using arch

willow wolf
#

i'm a mac user

#

i abandoned arch when i realized i was reinstalling and ricing it for the 5th time in a week

#

how do i learn lua

#

in 10 minutes

tidal terrace
#

You do rice but can’t understand lua

#

😭😭😭

willow wolf
tidal terrace
#

That’s not ricing that’s changing themes

willow wolf
#

fffuck man.

#

imma just

tidal terrace
willow wolf
#

i just guess for smods

#

smods documentation is infamously shit

#

and every modder can attest to that

lime siren
#

Almost all

#

And it don't vanillaremade repo

#

It has its own small wiki for beginner questions, and the source code is peam

quartz wasp
normal hollow
normal hollow
#

incomplete but good

willow wolf
#

a lot of it isnt documented

normal hollow
#

i think people exaggerate the amount that isn't documented

lime siren
willow wolf
#

ok i'll try to code it from scratch

#

what was that about a for loop?

#

for my joker

#

@tidal terrace what do i use to make it uncheeseable

lime siren
#

You want to count kings and queens and jacks in a played hand, yes?

#

Separately or together?

willow wolf
#

yes

#

seperately

lime siren
#

Okay

willow wolf
#

dont give me any code snippets

lime siren
#

If you check calculate functions in the wiki

#

There's context.joker_main

#

Or main joker I keep forgetting

#

With context.full_hand / context.scoring_hand

fathom gust
lime siren
#

And then return
Xmult if your condition is met

willow wolf
plush hound
lime siren
willow wolf
#

ok so

fathom gust
dusty token
lime siren
# willow wolf

Yeah that looks fine, don't forget the end to close the if tho

plush hound
#

it works now!

willow wolf
fathom gust
#

oops

lime siren
willow wolf
#

give me hints on what to do next then

#

no code snippets

terse portal
lime siren
willow wolf
#

ok im doing better...

#

now for the function that adds to those variables

main path
# willow wolf
  1. context.scoring_hand is a list
    and u can check the individual contents of the list with a for loop and ipairs()
  2. card:get_id() gets the id of the card (jacks have id 11, queens have id 12, kings have id 13)
lime siren
# willow wolf

you want to do a for loop over context.scoring_hand. Now, context.scoring_hand is a table wit- 🐌

#

im slow as hell

#

but yeah that T' said

lime siren
willow wolf
main path
# willow wolf

btw u dont need a variable in config for counting the number of jacks, queens, and kings scored
you can have a variable defined inaide the function that stores the count

willow wolf
frigid mica
#

I can’t believe I spent a whole day doing nothing.

willow wolf
#

i have to do things shit before i can do them well

lime siren
main path
willow wolf
worn bone
#

rotating a joker idea in my head, still very much not sure about the numbers

Coming Up With Joker Names Is Hard (Common): Gains +5 mult when a card gains an enhancement. Gains +25 mult when a card gains a seal. Gains +50 mult when a card gains an edition. Resets mult at the end of the round. (Currently +0 Mult)

main path
#

when u finish it

willow wolf
#

im kinda stuck

lime siren
willow wolf
#

examples pls

worn bone
lime siren
# willow wolf

okay hold up what are you doing with that if statement

willow wolf
#

or the cards in hand

#

how do i use context.scoring_hand

#

its not documented in smods

lime siren
keen knoll
woven crag
#

wait this challenge is heat

#

holy

main path
lime siren
willow wolf
#

im bruteforcing it

chilly pine
worn bone
#

go learn lua

keen knoll
willow wolf
willow wolf
#

worse

mint flame
#

ok i have a new joker idea

willow wolf
#

im writing incorrect code and showing it to y'all

chilly pine
#

i will now explain what a for loop is and its common uses

willow wolf
#

reinforcement learning type shit

chilly pine
#

its a for loop

#

you use it when you need to use a for loop

#

done

mint flame
#

Soundalike

Gains 0.25X mult per mention of "Joker" on screen

lime siren
willow wolf
chilly pine
#

ok so

willow wolf
#

laugh

chilly pine
#

there are 2 main types of for loops in lua

#

the numeric for and the more common generic for

lime siren
fathom gust
#

why tf is this here 😭

main path
# willow wolf no....

so
context.scoring_hand is essentially a table that maps a number to a card that is scoring
for index, scored_card in ipairs(context.scoring_hand) do ... does the following:
in order from 1 to the highest number in the table
index stores the current number and scored_card is the current card
at the end of the loop it goes to the next number
if there is no next number the for loop ends

plush hound
#

which color is better for this

chilly pine
#

a numeric for is structured like this:
for i = init_value, ending_value, difference do
-- do stuff
end

willow wolf
#

so am i doing the context correctlu

shy nebula
willow wolf
#

for every 11 in context.scoring_hand, increment jackCount by 1

#

right?

#

right?

royal sun
#

lol i managed to add cryptid to my massive mod collection with manual fixes but it does work

lime siren
chilly pine
#
for i = 1, 3, 1 do
 print(i)
end
```will print 1, 2 and 3
keen knoll
#

it runs the for loop once for each entry in the list

#

with i being the current entry

chilly pine
#

its the same as running:

print(1)
print(2)
print(3)
keen knoll
#

so you check i each time

willow wolf
chilly pine
#

and then the more common type of loop:

keen knoll
willow wolf
#

welcome to the world outside joker forge i guess

chilly pine
#

the generic for

shy nebula
# willow wolf
if context.individual and G.play == context.cardarea then 

end
main path
#

😭 and thats why im making a programming guide for absolute beginners

plush hound
shy nebula
shy nebula
#

then == 11

plush hound
#

instead of rawdogging it

willow wolf
#

i refuse to touch the latter

plush hound
#

you're doing this to yourself

willow wolf
#

im scared of it

keen knoll
chilly pine
#
for index, value in pairs(table) --[[or ipairs, depending if you want to use integer indexes or not]] do
 do_stuff()
end
willow wolf
#

would that make sense

shy nebula
chilly pine
#

Card:get_id() returns the rank

keen knoll
shy nebula
#

iirc

#

so ya cant just do shit

#

like that

#

so use :get_id

main path
#

dawg lumiii just learned what a for loop is
i dont think they can comprehend metatables yet

shy nebula
#

@main path hi i can help you on the setting up the development environment part

#

i know how to use lua_ls

lime siren
#

ngl chat is a cacophany of voices rn im surprised lumiii is getting info out of here

main path
#

i have a lesson soon but i can dm ya when i am able to

keen knoll
main path
#

kind of yes

chilly pine
#

for example, if we have the table example:

local example = {
 stuff = 3,
 other_stuff = 13
}
for k, v--[[shorthand for index value in many places]] in pairs(example) do
  print({k,v})
end
``` it will print {stuff, 3} and {other_stuff, 13}
willow wolf
keen knoll
willow wolf
shy nebula
willow wolf
#

Y'ALL WERE SAYING TO USE CARD:GET_ID

chilly pine
#

yes

willow wolf
#

I WASNT SURE HOW

chilly pine
#

for the

keen knoll
chilly pine
#

scored card

chilly pine
#

or context.other_card

willow wolf
#

context.scoring_hand

keen knoll
#

ok

shy nebula
willow wolf
#

i want it to check the array that is context.scoring_hand

chilly pine
#

it should not contain any arguements, it returns a number

keen knoll
chilly pine
#

or pairs

#

doesnt matter

willow wolf
#

just explain why it is

shy nebula
#

that takes an list-like

keen knoll
willow wolf
#

nope lets start with "for _"

#

why for _

chilly pine
#

because index is not used

shy nebula
keen knoll
#

_ can be any variable, we use _ to symbolize that we dont use the first variable

fathom gust
#

thanks github for making abbie's ability readily available for anyone to see

keen knoll
shy nebula
#

runs through (i, v) with i being the index, and v is the value

#

we dont use the i

keen knoll
#

yeah

shy nebula
#

so _ to throw the value away

keen knoll
#

since i is just a number from 1 to whatever the lenghth of the array is

keen knoll
#

it useful in some contexts but not here

keen knoll
shy nebula
#

it iterate until it's key met a nil

chilly pine
#

a for loop is commonly used to:

  1. execute code for every individual member of the table
  2. check if something is in the table with a specific index or value
  3. executing a chunk of code the same amount of times as the length of the table
shy nebula
#

not neccessarily the len

keen knoll
#

thats only for ipairs tho right

chilly pine
#

in this case, we want to check if a card in the table context.scoring_hand has the rank of 11

#

so we would use a for loop with the second use case

keen knoll
#

pairs just loops the entire table regardless of if the key is numerical or string

willow wolf
#

ok so to dumb this down

willow wolf
#

"for _, card in ipairs(context.scoring_hand) do" is like setting up the array to be counted

chilly pine
#

indeed

shy nebula
chilly pine
#

its initiating the for loop

keen knoll
#

and card is what the card is set to for each run through of the block

chilly pine
#

and checks for every member of it

willow wolf
#

and then if card:get_id would be the "if this then that"

shy nebula
#

do you have lua_ls set up

keen knoll
willow wolf
#

and i can fit multiple if this then thats in one of them

#

like a function

keen knoll
#

yea

willow wolf
chilly pine
#

i guess?

keen knoll
#

its not like for loops only take one command

#

its a block of code

shy nebula
#

it gives you autocomplete and shit

#

iirc the lua plugin in vscode use that

chilly pine
#

you mean the lua lsp

#

lua ls plugin

shy nebula
#

@willow wolf in the root of your project (where the .git folder is) create a file called .luarc.json

chilly pine
#

did they not have a manifest json file

#

nvm

shy nebula
shy nebula
shy nebula
#

did you have it points to smods lsp definitions

#

and balatro lsp defs

chilly pine
#

just add the vscode folder in the mods folder

#

i have a copy of balatro source code in the mods folder for convenience but youre not doing things like hooking or patching so its unnecessary

shy nebula
chilly pine
#

file -> open folder -> %appdata%/balatro/mods

#

in vscode

shy nebula
#

the balatro lsp defs is maintained by frostice

shy nebula
#

use a meta instead

#

it's cheaper to scan

#

or just give lua_ls the path

chilly pine
#

i dont think thats of milkys worries

sharp vale
chilly pine
#

we want to make this extremely easy for them, no?

willow wolf
#

i mean it autocompletes smods shit already

shy nebula
shy nebula
thorny dock
#

https://docs.google.com/document/d/1pEygVzGlq2O7chUFjgWT62zQ80kuhAvr6L6hZcyVu8k/edit?usp=drivesdk finished that consumable deck list (only has the consumables from the mods i have installed)

fallow hatch
#

hmmm i should do it

thorny dock
#

what do you mean?

frigid mica
fallow hatch
#

dwi alr did and died a few blinds later

willow wolf
#

did i do well guys?

frigid mica
fallow hatch
#

my boss was clock and i didnt see so uh the req was high

chilly pine
#

revos vault crossmod

chilly pine
shy nebula
frigid mica
chilly pine
#

but from ive read you want this to check for all face cards, rn it just checks for jack, queen and king

shy nebula
chilly pine
#

oh yeah

#

in the return

frigid mica
willow wolf
#

those are all the face cards right

shy nebula
thorny dock
chilly pine
fallow hatch
chilly pine
#

in vanilla as well

fallow hatch
#

chat im happy

chilly pine
#

the infamous paraedolia

deft ore
#

pareidolia is vanilla

chilly pine
#

i cant read im UnusedParadox

shy nebula
thorny dock
deft ore
#

discord just delayed my message

chilly pine
#

ok

fallow hatch
#

ayy i might have a good run here

willow wolf
frigid mica
willow wolf
#

HOW AM I SUPPOSED TO ACCOUNT FOR THAT

prisma latch
#

also. pareidolia

deft ore
prisma latch
#

use a table

fallow hatch
prisma latch
#

table[rank] = table[rank] + 1

deft ore
keen knoll
frigid mica
#

What did the old sync catalyst look like again

chilly pine
#

i dont have it on hand rn but id check midas mask's code in vanillaremade

keen knoll
#

boring

chilly pine
#

since that also checks for face cards

deft ore
#

or literally anything else to do with face cards

#

doesnt have to be midas mask

lunar sluice
#

literally just card:is_face

shy nebula
#

hmmm... prototype manipulation

chilly pine
lunar sluice
#

btw i had a fucked up idea

#

stake sticker on ranks&suits so if you want 100% completion you have to use a 2 of clubs in your last hand on gold stake atleast once

deft ore
chilly pine
#

stake stickers on everything

#

new addition to seals on everything

deft ore
#

stake stickers on finisher blinds 🔥

chilly pine
#

stake stickers on stake stickers

deft ore
#

stake stickers on vouchers

lunar sluice
#

stake stickers now stack on jokers

#

you need every stake sticker on every joker instead of just gold

buoyant kestrel
deft ore
#

stake stickers on consumables

chilly pine
#

steak

#

mmmmmm

lunar sluice
#

steak sticker

#

this joker counts as a food joker

chilly pine
#

wooden stake sticker kills all vampires

full edge
#

i like my jokers well done

frigid mica
#

I imagine a joker that gains xmult based on what stake sticker this joker has on.

buoyant kestrel
#

now that i have two rows i'm going to start implementing these

chilly pine
#

ramona is so peak

fallow hatch
#

FINALLY IVE BEEN WAITING FOR THIS

distant badge
#

togore...

deft ore
#

skateboard sticker makes your jokers attempt to do kickflips and then injure themselves for three rounds

chilly pine
#

ok i should actually make the ramona joker instead of just talking about it now

deft ore
#

i dont like it

distant badge
#

skateboard sticker that randomly flips a card?

chilly pine
#

wtf hotpot leak

lunar sluice
#

they should rename eternal to stickler

shy nebula
# willow wolf HOW AM I SUPPOSED TO ACCOUNT FOR THAT
---@generic T
---@param arr T[]
---@param predicate? fun(item: T): bool
function table.count(arr, predicate)
  local cnt = 0
  predicate = predicate or function(_) return true end

  for _, item in ipairs(arr) do
    if predicate(item) then
      cnt = cnt + 1
    end
  end

  return cnt
end
distant badge
deft ore
balmy lily
#

im stuck on a morton's fork

chilly pine
#

youll find out in 24 hours

fallow hatch
frigid mica
distant badge
#

Tomorrow.

fallow hatch
balmy lily
#

do i switch to beta branch for ortalab or stay on stable smods

chilly pine
#

stable smods all the way

#

if youre not devving of course

deft ore
balmy lily
thorny dock
chilly pine
#

wtf

frigid mica
#

Still gotta figure out what to do with my Murphy joker

chilly pine
#

ok

#

Fuck joker text

#

i fucking hate joker text on jokers

fallow hatch
#

should i ankh energia?

chilly pine
#

i always forget to add them when im done with the art

#

and then i have to add them in again

#

which looks mega weird

fallow hatch
#

ankh or analog hard choice

balmy lily
#

like actually, when will someone update stable to 827c

keen knoll
chilly pine
#

option 3 close balatro

frigid mica
shy nebula
tranquil vessel
shy nebula
#

because anal og

#

(bruh)

shy nebula
balmy lily
chilly pine
#

joker text would be genius for this but unfortunately i do not know any chemical equation with one of the materials being JoKEr or anything alike

balmy lily
#

which im probably gonna forget to update.

fallow hatch
distant badge
#

potassium

chilly pine
#

that would be inaccurate

balmy lily
#

cant use modmanager because it replaces the entire folder

shy nebula
balmy lily
#

therefore making me lose the .lovelyignore

thorny dock
chilly pine
#

modmanager is so jank

frigid mica
fallow hatch
#

i just skill issued lol

keen knoll
shy nebula
chilly pine
balmy lily
#

someone update stable tree or just outright delete it

chilly pine
#

nor is ther Jo

keen knoll
#

jokerium

chilly pine
#

unfortunately

worn bone
#

then yeah just make a chemical formula up

shy nebula
chilly pine
#

this is close

frigid mica
keen knoll
#

problem solved

distant badge
#

JoKRe

chilly pine
#

JkRe

#

jk isnt a thing either probably

distant badge
#

K is on its own

chilly pine
#

ye potassium

keen knoll
#

everyone knows potassium :>

chilly pine
#

The Glop

distant badge
#

nobody knows... the banana element

unkempt current
#

Glop

thorny dock
#

also pro tip more jokers that create consumables or work with consumables man deck.exe looks like this and it’s stupid af

unkempt current
#

Everyone shall know glop

keen knoll
chilly pine
#

im so glad deltarune invented bananas

keen knoll
unkempt current
#

I'm gonna be honest the idea of glop is very good, like a 3rd multiplier would be very nice

chilly pine
#

except they didnt and i invented it instead

#

cuz i invented everything

unkempt current
#

banan

#

Wait

blissful brook
#

Undertale invented child abuse /j

chilly pine
#

i thought you were aikoyori

distant badge
#

aikoyori's doppelganger...

#

aikoyorii?

unkempt current
#

keys
multiplies your money by keys

#

If there's chips and mult why not money and key

chilly pine
#

aikoyorl

keen knoll
chilly pine
#

limbo

unkempt current
#

Akioyroiri

frigid mica
#

I was gonna ask if that pfp was a bejeweled thing until I saw your bio

unkempt current
#

Yeah

#

It is
A supernova gem

chilly pine
#

im so glad limbo invented keys

frigid mica
#

Limbo the Loker

keen knoll
#

im so glad balatro invented poker

frigid mica
#

For Balatreometry Balatrosh

unkempt current
#

im so glad balatro invented jokers

frigid mica
#

I’m so glad balatro is Latin for joker

unkempt current
#

im so glad plants vs zombies invented plants and zombies
im so glad bejeweled invented gems
im so glad cryptid invented latin

chilly pine
#

this is so cursed

keen knoll
#

wait is latin lokalthunks native language

chilly pine
#

lt is canadian

unkempt current
#

im so glad
Uhhh

frigid mica
woven crag
keen knoll
unkempt current
#

if there localthunk why is there no localthinks

chilly pine
#

hi so glad

#

im dad

frigid mica
#

Jerkeo, Janio, Jhicot, Jorick, and Jriboulet

keen knoll
chilly pine
#

iboulet junior

chilly pine
keen knoll
#

lol

keen knoll
visual kindle
#

Don't let bro cook again

frigid mica
#

There should be a collab mod called “J+” where all the jokers are themed around the letter J.

keen knoll
chilly pine
sharp vale
#

where can i get the original card sprite for the jack

keen knoll
#

jj

#

etc

woven crag
#

cryptid code

fallow hatch
#

chat W or L?

keen knoll
civic atlas
#

discord is crashing

frigid mica
civic atlas
#

on my pc

#

so im gonna talk on this acc

unkempt current
keen knoll
civic atlas
#

those who nose

woven crag
fallow hatch
shy nebula
#

WHO WANTS TO BE NUMBERSLOP

sharp vale
#

like

unkempt current
sharp vale
#

i need it for something

frigid mica
keen knoll
sharp vale
#

the sprite for the jack

unkempt current
#

Wdym the jack

frigid mica
#

jjjj jjj jjjj jj jjj jjjj jj jjjj

fallow hatch
#

its fineee

keen knoll
shy nebula
sharp vale
unkempt current
#

oh

frigid mica
unkempt current
#

The small lil jack

chilly pine
#

also discord is back

frigid mica
unkempt current
violet venture
#

@astral vapor @hard plank imagine if it included both as "Aiko's and Milky's Bullshit Shenanigans"

unkempt current
#

I'm gonna try anywyas

chilly pine
#

-3 e^i * pi

sharp vale
shy nebula
violet venture
fallow hatch
unkempt current
chilly pine
#

unironically

fallow hatch
#

if i remember there was a joker that gave chips based on cards remaining in the deck or sum soo

#

im happy if i get it

chilly pine
#

just use the original files in balatro

unkempt current
#

If there chips and mult why not chult and mips

fallow hatch
#

hmm kale or meme pack

chilly pine
#

chat what do i do if im too lazy to sprite another suit

violet venture
#

Well, looks like I've got to time this bitch

frigid mica
chilly pine
frigid mica
#

Wait, ante?

chilly pine
#

close balatro

fallow hatch
frigid mica
fallow hatch
#

the eye

shy nebula
frigid mica
fallow hatch
#

and a hook consumable

frigid mica
#

Hook is powerful

fallow hatch
#

i made the right choice :D

violet venture
#

Hook is crazy

frigid mica
#

Uhh

#

What?

fallow hatch
#

e25 now

frigid mica
#

Did you sell a jolly?

fallow hatch
#

chat do i get this

fallow hatch
#

when i trigger facile M gets multi