#💻・modding-dev

1 messages · Page 70 of 1

earnest creek
#

ty

hardy viper
#

probably search "function juice_up"

tepid crow
#

you could enable regex and search for function .*?:juice_up

stiff locust
hardy viper
stiff locust
#

okay i'm still not sure how exactly the values work but juice up shakes the joker

hardy viper
tepid crow
hardy viper
#

yeah juice up shakes the joker

stiff locust
#

but what do the values do

#

it has two arguments

hardy viper
#

x and y intensity probably?

stiff locust
#

ahhh

#

makes sense

hardy viper
#

nope im wrong

#

intensity and duration is more likely

tepid crow
#

it's amount and rot_amount, whatever that means 🤷

hardy viper
#

oh that makes sense

tepid crow
#

it does?

hardy viper
#

god id be so much more helpful if I wasn't sitting on a bus right now

stiff locust
#

what's <eof> again?

hardy viper
tepid crow
#

well yeah but doesn't tell me anything yet 🤣

hardy viper
tepid crow
#

<end of file>

#

probably unexpected

#

aka you didn't close a bracket

stiff locust
#

but when i add an end it says unexpected end

stiff locust
drowsy tulip
#

nope

#

what should i put in the colors

stiff locust
#

i hate when this happens cause it means I did something stupid and I can't see what it is cause the thing doesn't tell me

#

it means an end or a bracket close is in the wrong place but idk which one or where it should be

tepid crow
hardy viper
#

the lines go up to whichever thing it's "connected" to is the best way of explaining it

drowsy tulip
#

so like if i want to get the suit colors what should i put in

stiff locust
#

okay

drowsy tulip
#

G.C.spades, G.C.hearts, etc?

stiff locust
#

that didn't help

hardy viper
tepid crow
#

sorry

#

globals.lua

stray orbit
#

here are the suit colours in globals.lua

#

not sure what each one does

#

but for example if u want the bottom ones use G.C.SUITS.Hearts

stiff locust
# hardy viper uhhh show screenshot?

these brackets (highlighted line) especially hate me even though they're all properly closed
the red after the end wants me to put a } down but when I put a } down it tells me to get rid of it

#

and the return also wants a } somewhere

stiff locust
#

bruh

tepid crow
#
return a
return b

doesn't make any sense, that's why it's yelling at you

hardy viper
#

oh wait your indentations are completely wrong nvm

stiff locust
#

do i even need the return true

#

i mean it's in the baseball card code but it looks unnecessary

tepid crow
#

you need it in the event function

hardy viper
#

if you hover over all that code that's incorrectly indented and press tab once it'll fix itself btw
also if you right click and hit format document

tepid crow
#

an event function will keep running over and over until it returns true

#

very useful for some stuff

stiff locust
#

okay so I should remove the return true
and move it down to the return box where the other stuff gets returned

#

?

tepid crow
#

when does the second return happen?

#

in the event or outside it

stiff locust
#

currently
in the event

tepid crow
#

true

#

is that your intention?

stiff locust
#

my intention is that it checks if a joker is from my mod or if it's splash

#

and if so it makes that joker give 2x mult

tepid crow
#

so, should the second return be inside the event or outside it?

stiff locust
#

uhhhhhhhhhh

#

I think so

#

wait

#

no it shouldn't

#

should it?

tepid crow
#

idk, "I think so" isn't really an answer to "A or B?"

#

it should be outside

stiff locust
#

okay i moved it outside

tepid crow
#

can you show?

stiff locust
tepid crow
#

alright, seems better

stiff locust
#

okay

tepid crow
#

I have no idea what that comma is doing there or what happens when it stays there though

stiff locust
#

i removed it

tepid crow
#

oh I guess it's in the table so it probaby won't break anything

#

yeah seems good now, try running it

stiff locust
#

im also running another experiment rn

#

seeing if i can make a joker with multiple fusion recipes

drowsy tulip
#

fuck this bitchass game and its bitchass mods man i fucking hate balatro

tepid crow
#

^ me whenever I have to work with balatro UI

stiff locust
#

i seem to have fucked up the local text

#

oh well

earnest creek
#

how can I yoink a singular texture from the vanilla spritesheet? trying to take a legendary joker bg specifically

stiff locust
#

yeah it uh

#

crashes if it checks a vanilla joker

#

cause the mod is nil

tepid crow
#

(you can open it with 7zip or whatever)

tepid crow
#

in lua, you can do that by e.g. if table.key and table.key.sub_key == "something" then ...

stiff locust
#

so i'd do if context.other_joker.config.center.mod and context.other_joker.config.center.mod.id == "Tsunami" then

#

am i getting this right

tepid crow
#

if mod is nil, that will already crash

stiff locust
#

oh

tepid crow
#

you're checking if id exists, not if mod exists

stiff locust
#

edited the message did i get it right

#

okay

#

thanks

tepid crow
#

gotchu

#

also some of the question you ask are really basic lua stuff

#

you should be able to google/stack overflow some of it

stiff locust
#

yeah i'm very new to this

stiff locust
tepid crow
#

that's all part of learning

stiff locust
#

yeah i'm starting to get the hang of things

#

been asking less and less questions about what im doing the more jokers i make

#

i almost got one to work without any outside help

regal wolf
#

read the lua docs

#

they're really informative

#

I guess they could be a little overwhelming if you have no programming experience...? but nothing beats them.

split jungle
#

Is lua like C

#

Actually scratch that everthing is C

tepid crow
#

I'd say it's kinda python-like

#

Lua has some weird quirks though, mostly the "everything is a table" approach

maiden phoenix
#

You're a table

#

{Larswijn = "sleeves"}

tepid crow
split jungle
#

Doing SQL make me fear table

#

And java

#

And springbooy

#

Fuck

edgy reef
#

Huh, conveniently there’s a REMOVE THIS comment right next to it.

tepid crow
#

aint that convenient

frosty dock
#

that was never actually about that, it's about a testhelper unlock functionality that triggers when false and not _RELEASE_MODE aka never

tepid crow
frosty dock
#

stupid merge conflict editor didn't even do it right, i don't think

tepid crow
#

🤔

tepid crow
#

Has this been completely replaced by DEPENDENCIES? I cannot find any references to LOADER_VERSION_ in steamodded's code.

#

should probably still update the wiki 🙃

split jungle
#

Is this new

#

For what

tepid crow
split jungle
#

Ah

tepid crow
#

you can do the same thing using DEPENDENCIES now

stiff locust
#

i was really hoping i would be able to figure this one out on my own but i cant

#

trying to make a tarot card that creates splash
current issue being that the use button can never be pressed

split jungle
#

Keep beating the code

stiff locust
#

i feel like I did everything right

#

but I clearly did not

wintry solar
#

whats above this?

split jungle
#

What does create splash mean

stiff locust
stiff locust
wintry solar
#

almost the entirety of your definition is inside your loc_txt table

stiff locust
#

what

#

oh shit

#

is it

#

oh my god it is

#

lmao

#

okay hold on

stiff locust
#

i knew i did smthn stupid

#

thanks

split jungle
#

You are one sytax away from amagedieon

narrow pollen
#

do you know what is absolutely pissing me off right now?

#

if you have a joker give both chips and mult during the joker_main phrase, it works mechanically

#

but it uses the multhit1 sound... and G.C.CHIPS for the background color.

edgy cedar
#

i can open baltro but there is no mod menu on it but every thing is conceited to the game and i don't know why it is not working any help?

edgy cedar
#

it's working

orchid thunder
#

How can some edit the code to add chips directly

#

I have an idea for a joker and I want to make sure it's possible

brisk rose
#

What do you mean by directly?

orchid thunder
#

It takes %5 of overscored chips and you start with it next blind

#

Like the total score

#

Or whatever it's called

brisk rose
#

Jokers change blind requirements pretty often

#

If that's what you mean

#

Idk how they do it though

orchid thunder
#

I don't want it to change the requirements

brisk rose
#

Lowering the requirement by that amount would so the same thing as adding it to the score

orchid thunder
#

I want it to directly save a value then have the next round start with that value instead of just 0

#

But then it's not so much carrying stuff

#

It's a bucket

brisk rose
#

It's probably possible but idk how you'd do it

orchid thunder
#

Idk what's the value that detects those

elder vapor
#

new to balatro mod dev, is there a way to make a deck only consisting of certain ranks? ex. deck of 3, 5, and 8s

orchid thunder
elder vapor
#

i tried to find it in back.lua

#

but idk if its there

orchid thunder
#

Well I can't help much because I don't have the code on my phone

#

Wait I have an idea

orchid thunder
#

I think it was something kollection

elder vapor
#

hmm

#

do you know what mod?

orchid thunder
#

Idk tho I might be crazy

split jungle
#

Do anyone have details API of steamooded

#

I have no idea what initialization does or what we need example Png for

brisk rose
#

Also sometimes spelled with a c

brisk rose
brisk rose
elder vapor
#

which file is it in?

brisk rose
#

The repo is a bit of a grabbag rather than the mod itself

elder vapor
#

ah found it

#

doesn't appear to be any code 😭 unless i'm looking in the wrong place

split jungle
#

I feel it is a bit intentional

brisk rose
elder vapor
#

ah found it

#

again

brisk rose
orchid thunder
sly sluice
#

hey yall, im trying to make a mod to expose certain pieces of the background.fs shader to the GUI so i can mess with it with original values

#

i want to see these seven values displayed on the GUI in realtime:

extern MY_HIGHP_OR_MEDIUMP number time;
extern MY_HIGHP_OR_MEDIUMP number spin_time;
extern MY_HIGHP_OR_MEDIUMP vec4 colour_1;
extern MY_HIGHP_OR_MEDIUMP vec4 colour_2;
extern MY_HIGHP_OR_MEDIUMP vec4 colour_3;
extern MY_HIGHP_OR_MEDIUMP number contrast;
extern MY_HIGHP_OR_MEDIUMP number spin_amount;

#

can anyone help?

orchid thunder
#

Can you explain any of those values to me

sly sluice
#

time is what LOVE uses to change the background over time, spin_time changes how fast it spins, the three colors change the color of the spiral in the background, contrast makes them more distinct, and spin amount is how many spins have happened onscreen

orchid thunder
#

Oh ok interesting

edgy cedar
#

were is talisman 2.00 beta? cryptid will not work without it

brisk rose
edgy cedar
#

k thanks

rugged loom
#

(currently unfinished)
hi sooo uhhhh what color did hands use again? am i even doing this correctly i dunno how to do planet cards 💀

drowsy tulip
#

might be wrong but you need to put the atlas and name in quotes

#

also you can check localization>en-us.lua for the colors

rugged loom
#

ight

#

1s

rugged loom
#

might be onto something here

frosty dock
#

#8# and #50# should be #3# and #4#, these are variable indices

rugged loom
#

ight

#

fixed

rugged loom
frosty dock
#

so far it will crash

#

because it doesn't have a hand type associated with it

rugged loom
#

the hand type is supposed to be flush wheel

#

i'll try making it but dont expect much lel

stiff locust
#

was actually just about to ask about this

stiff locust
regal wolf
rugged loom
#

🤔

#

what lua docs

regal wolf
#

Definitely read the first 3 chapters

brisk rose
#

quick question, what's the color for the ante counter?

regal wolf
#

All colours will be in self.C inside of globals.lua

regal wolf
brisk rose
#

I'm just trying to edit my trance theme. I need to know what it's called in the game

stiff locust
#

probably {C:attention}?

#

i can check

regal wolf
#

I doubt

#

That’s only used for descriptions iirc

brisk rose
#

Thunk seems to reuse colors in odd places to be fair

regal wolf
#

If you can send a pic of the colour I can guess

#

Just like a screenshot

brisk rose
#

I guess I'd just need to change my theme to default to do that

#

one sec

regal wolf
#

Wait dw

#

Are u talking about the orange?

brisk rose
#

yes

#

which does look like it might just be attention

regal wolf
#

It would be ORANGE

#

G.C.ORANGE

stiff locust
#

angry orange because it's uppercase apparently

regal wolf
#

No it’s uppercase bc it’s a global

brisk rose
#

yeah I don't need to write it out myself anyway. The colors are already in the skeleton of the theme

#

just needed to know which one it was

stiff locust
#

okay

#

function()s hate me and i hate function()s what did I do wrong this time

brisk rose
#

It's not ORANGE

#

this is what ORANGE is in my theme

#

not the very dark blue the ante number is

maiden phoenix
stiff locust
#

card.ability line?

#

is that the config = one

#

that of which is not inside my card eval i dont think

#

i haven't tested anything yet but yeah something is currently wrong with this

#

oh right i need to change the name of splashflag so it doesn't collide with another joker

maiden phoenix
#

The one in your screenshot

brisk rose
#

(Which I think is the same as attention?)

tepid sky
stiff locust
#

ohhhhhhhh

#

now it says return is an undefined global

#

i do need to return something to end the event

#

but yeah moving the brackets solved the other thing

#

i moved the return outside the function and inside the event

#

so now it works

#

okay

#

testing time

#

balatro says unexpected symbol near this end

#

oh right the comma

#

didnt see it

#

anyway how do i refer to card.ability.xmult in description text

brisk rose
#

At least that's how 0.98 jokers did it. Presuming it hasn't changed

stiff locust
#

alright so it didn't inherit the value from throwback, that's fine, i'll just recalculate the value manually so it "inherits" the value regardless

brisk rose
#

do you mean the current xmult, or just xmult in general?

stiff locust
#

no you understood the question

#

this joker has two values, one of which is already referred to

#

the extra value, 0.05, which scales by 0.05 if played hand contains at least 1 extra card
and its xmult value which starts as the value throwback should have and then gets added onto

brisk rose
#

ah okay I see

stiff locust
maiden phoenix
#

Its case-sensitive

stiff locust
#

oh

#

idk it's not working

#

anyway my joker

seems like it's doing something?
i can't tell if the ability is working as intended because i can't see the values

#

it did reach 2.35x mult which means it's definitely doing something different

brisk rose
#

here's the description for a 1.0 joker, seems to still be the same way to do it

stiff locust
#

i'll try #3# and #4# to see what they come out as

#

if i try every number, one of them will work

#

okay this is actually a really tedious and bad idea

#

yeah idk

#

i need one of them to refer to card.ability.extra and one of them to refer to card.ability.x_mult

#

they both come out as nil no matter what numbers i put

#

idk what i'm doing differently

brisk rose
#

wait, x_mult should be part of extra

stiff locust
brisk rose
stiff locust
#

okay i'll switch things around

brisk rose
#

it's extra.x_mult

#

(You really should just be going in your mods folder and referencing other mods like I do)

stiff locust
#

i am

brisk rose
#

oh okay sorry

stiff locust
#

i will test again with these values properly written in

#

this didn't fix my issue, both values still show up as Xnil

brisk rose
#

can I see the code?

stiff locust
#

yeah hold on

brisk rose
#

every card.ability.x_mult needs to be card.ability.extra.x_mult

#

waiy

#

I mighta misreasd it

#

(and mistyped too :P)

#

lemme look again

stiff locust
#

i think i fixed it now

#

it is playing the chips sound when it gives xmult but uhh

#

i can fix that later

brisk rose
#

I think you have #1# and #2# swapped in the description

#

the index should be just the order you define them in extra

stiff locust
#

they still both appear as Xnil

#

swapping them doesnt seem like it will fix that

brisk rose
#

I think you have spaces where you shouldn't

#

wait nvm

stiff locust
#

is there a context i can use for "do this immediately after this joker is obtained"

brisk rose
# brisk rose wait nvm

I really don't see any differences (besides this being a 0.98 mod) that keep your values from displaying

#

but the other mods I was looking at were 1.0 and seem to do it the exact same way

stiff locust
#

yeah thats whats annoying me

#

it exclusively doesn't work for my joker

wintry solar
#

You need the loc_vars function

stiff locust
#

oh

stiff locust
#

oh i didn't end it

#

ayy it worke

#

d

stiff locust
#

this is the last thing that i need and then the effect is functional

#

also why is this message making the chips sound when it gives xmult

#

how do i make it do the xmult sound

frosty dock
#

iirc it's Xmult_mod, not xmult

stiff locust
#

with xmult

#

it just makes the chip sound

#

will xmult_mod fix that

crisp coral
#
add_to_deck = function(self, card, from_debuff)
    -- do stuff
end
stiff locust
stiff locust
crisp coral
#

it's outside

stiff locust
#

huh

crisp coral
#

and i think that one should be using set_ability instead (so it displays the value correctly when created but not picked up, e.g shop)

set_ability = function(self, card, initial, delay_sprites)
    card.ability.eternal = true
end
stiff locust
#

ah okay

#

anyway how is it outside

crisp coral
#

put that next to the calculate function

calculate = function(...)
end,
set_ability = function(self, card, initial, delay_sprites)
    -- do stuff
end
stiff locust
#

ohhh

#

okay i will try this

#

it won't actually appear in the shop because it's a fusion

#

unless you're using reverie or the cryptid equillibrium deck ig

#

this worked though

#

thank you

crisp coral
#

ah actually don't put it in add_to_deck because it will run every time the card gets undebuffed

stiff locust
#

yeah that'd be a bad thing

#

anyway

#

another fusion done

#

do you have a favourite vanilla joker myst

crisp coral
#

uhhhhhhhhhh

#

wait i need to check the list again LOL

#

ah wait. right.

#

riff-raff

opal spade
crisp coral
#

that but too much of a hassle

#

just do set_ability

opal spade
#

true

languid mirage
nocturne garnet
#

EVIL!!

#

AND IT WORKS!!

stiff locust
#

i already fused that with splash

#

can you pick again

crisp coral
#

sock and buskin

crisp coral
nocturne garnet
#

will forever be missed

stiff locust
#

how do i retrigger a card again

#

context.other.card.retrigger?

#

wait i got this

#

return repetitions = card.ability.extra

opal spade
#

context.repetition return {repetitions = <number>}

opal spade
opal spade
stiff locust
#

if this works this will be the fastest functional joker ive made

tepid crow
stiff locust
#

it didn't work

#

alright what did i get wrong this time

stiff locust
#

so

#

where would that go in my code

#

this doesn't make sense to me

#

it doesn't like it when i put it before the return

crisp coral
#

sec

#
if context.repetition and context.cardarea == G.play and context.other_card:is_face() then
  return {
    message = localize('k_again_ex'),
    repetitions = card.ability.extra.retriggers,
    card = card
  }
end
stiff locust
#

am i just misunderstanding context.retrigger

crisp coral
#

context.repetition is what's handling card retriggers

stiff locust
#

okay

#

having issues with the second part of the effect

#

this should retrigger all extra scored cards

#

and also if it's a face card retrigger it an extra time

#

it doesn't currently do anything and i'm not sure why

languid mirage
stiff locust
#

it is something to do with context.retrigger not working here

brisk rose
#

wait nvm

#

you're the reason it was at the top

#

lol

languid mirage
nocturne stratus
brisk rose
stiff locust
stiff locust
#

when i do if context.retrigger on this part of the effect it just doesn't pass

#

if i remove context.retrigger all the if statements and stuff work but it doesn't retrigger because there's no context.retrigger

frosty dock
hardy viper
#

attempt to index nil value egg

stiff locust
#

fuck

#

i'll fix it later i have to fix my fusion first

#

but context retrigger hates me

#

please help

nocturne garnet
zealous glen
languid mirage
#

ya

zealous glen
#

I wonder if it works with Aura

stiff locust
languid mirage
zealous glen
#

Cringe

languid mirage
#

since I don't check for sprite changes, only for center key

brisk rose
#

I mean... it would be ideal if it used whatever sprite the joker in question actually uses in game

loud citrus
#

Gosh this game is difficult at times 💀

I tried making 8 ball a 3 in 8 thinking editing the first number was gonna be very easy, oh boy was I wrong, no matter what I do, if I return G.GAME(don't remember the value), I in k pairs, register the number in vers, it just refuses to be anything but 1.

I hate this game's code at times, there are many redundant things about it but the one time they could have added something to ensure it functions is the one time it isn't there.

brisk rose
#

I've definitely seen plenty of probabilities with a numerator that isn't 1

#

and not just when modified by dice or w/e

loud citrus
#

Is there an example of a mod that does?

zealous glen
#

You just need to multiply that number by 3

#

By default it’s 1

#

O!A6s doubles it

brisk rose
#

yeah you should be able to hard code the modification

zealous glen
#

It’s not hardcoded

loud citrus
brisk rose
zealous glen
#

Hardcoding would be to avoid using G.GAME.probabilities.normal

#

You don’t need to avoid using it

#

Just multiply it by 3

brisk rose
#

I didn't mean make it fixed, though that's up to their use case

#

I just meant modify it themselves the same way oops does

zealous glen
#

No that’s not what I’m suggesting

#

You don’t need to modify it a priori like O!A6s

brisk rose
#

what are you suggesting? They just want the numerator to be 3

zealous glen
#

You can modify it a posteriori

brisk rose
#

by default

#

and then anything after would modify that

loud citrus
tepid crow
#

are you sure your localization is correct?

zealous glen
#

You don’t want to change G.GAME.probabilities.normal

#

You just want to multiply that value by 3

loud citrus
#

Don't, oh

brisk rose
#

As I said plenty of jokers have non 1 numerators on probabilities that are then modified as normal by things like oops

loud citrus
#

That makes a lot more sense why nothing was happening

brisk rose
#

I wasn't suggesting a specific solution

zealous glen
#

For example, let X be the random variable used for determining if a random event happens, and let p be the constant modified by O!A6s

#

Then what you want to check is X < num*p/den to have a num in den chance of happening

loud citrus
zealous glen
#

Paperback

#

I’m pretty sure I told Lars how to do it lol

#

Nope different person

#

Just a blue profile picture too

languid mirage
brisk rose
#

and also some people just use texture packs

#

not me, but still

zealous glen
#

Bunco has the tape

languid mirage
#

mayhaps

zealous glen
#

I think L Corp does too

tepid crow
#

what's this blue-ism

zealous glen
#

I recognize people by profile picture not by name

#

So it’s nameism

tepid crow
#

fair enough, I always get really confused when someone I know changes their profile pic

brisk rose
#

The day Denver changed his from vapereon will live in infamy

zealous glen
#

Who’s Denver

languid mirage
brisk rose
#

now purple thing from some pther media

tepid crow
brisk rose
#

I thought I fixed it

#

but didn't check

#

vaporeon

#

isn't even hazrd to spell

zealous glen
#

Vaperon the Poison Eevolution

brisk rose
zealous glen
brisk rose
#

but to be fair I got up at 3pm

tepid crow
#

... I feel like you should fix that

brisk rose
#

I'm nocturnal like a real raccoon /srs

zealous glen
#

So you’re a fake raccoon?

brisk rose
#

I mean I'm not quite a therian, lol

#

but that's getting dangerously close to FurryDiscourse™️

stiff locust
#

day two

#

(still day one but cooler)
of trying to get context.retrigger to like me

#

¯_(ツ)_/¯

nocturne garnet
#

im having so much trouble thinking of a showdown blind that revolves around modded and vanilla jokers

#

at first it was "Debuff modded jokers on even hands, debuff unmodded jokers on odd hands"

#

but thats just a more powerful Crimson Heart

languid mirage
rough furnace
#

or even debuff a random modded joker each hand

mellow sable
#

Convert all vanilla Jokers into random modded Jokers

rough furnace
#

that could be fun

zealous glen
#

I had a Boss Blind which was just Cerulean Bell

nocturne garnet
rough furnace
#

maybe even as a temportary thing

nocturne garnet
#

i mean if you have a whole build of regular jokers

#

boom,

zealous glen
#

I did tweak it to not be Cerulean Bell, but I’d be fine if it was Cerulean Bell

nocturne garnet
#

you have 5 ouroboroses

rough furnace
#

btw math I was thinking what about a boss blind for crytpid that uses your glitched logic to half the values of all jokers

tepid eagle
#

if number of modded jokers and vanilla jokers are not equal, each hand scores 90% less?

rough furnace
#

tbh for any modded vs non modded joker blind, you should do a check to make sure theres enough modded jokers (or at least provide them with your mod)

zealous glen
#

Or don’t

#

Skill issued player

#

Should’ve skill diff’d and installed more modded Jokers

rough furnace
#

every modded joker is destoryed when blind selected

tepid eagle
#

if you have only modded jokers or only vanilla jokers, all your personal information is shuffled and flipped

nocturne garnet
#

what if Regular Boss Blind on ante 7 that triggers a much more powerful Showdown Blind on ante 8

rough furnace
#

if you on;y have modded jokers crash the game. If you only have vanilla jokers lose

tepid eagle
#

if you only have vanilla jokers all mods are uninstalled permanently

rough furnace
#

if you only have vannilla jokers you die in real life

nocturne garnet
#

open up one of my videos for every modded joker you have, install a virus for every vanilla joker you have

tepid eagle
#

all jokers are debuffed until you install another mod

rough furnace
#

disable one joker for each mod you have installed

zealous glen
#

+2 Treants for each modded Joker, -2 Treants for each vanilla one

rough furnace
#

what if net negative treants?

tepid eagle
#

death

zealous glen
rough furnace
#

the joke moment

nocturne garnet
rough furnace
#

whats you do if over

nocturne garnet
#

ante 8 will be a little worse

tepid eagle
#

don't score more than 0X required score

brisk rose
#

also you definitely need to add a config to disable these blinds, lol

#

they seem unfair and unfun (to me, many people love that shit)

brisk rose
tepid eagle
#

computer explodes

nocturne garnet
brisk rose
#

do you just lose?

#

lol

tepid eagle
#

i assume the storm probably comes

nocturne garnet
#

||i still dont know what it should do lmfao||

tepid eagle
#

all your jokers become splash

stiff locust
#

that'd be a good thing

tepid eagle
#

all your jokers becomes splash but you have to do badly

stiff locust
#

that's evil

hardy viper
#

splash becomes removed from the game

crisp coral
#

x1000 blind size if holding splash

rough furnace
#

splash makes no cards be scored

tepid eagle
#

splash makes all jokers in the collection score as well

earnest creek
#

how do I put textures for jokers in correctly? I got the sprite already, just a bit very much confused on how they work

earnest creek
#

nvm got it working

#

lets go, just finished my first own joker :D

mild night
#

thinking of making an EID (External Item Descriptions) -esque mod for Balatro to explain jokers that have odd wording, odd effects, odd interactions, etc
any suggestions?

#

either with what it should visually look like, i.e should it be like when you hover over jokers like stickers and edition?, or just what information i should include about specific jokers

stiff locust
mild night
#

thats a pretty good suggestion actually, stating if something is retroactive or not

stiff locust
#

yes that is why i made the suggestion

#

anyway day 2 of uhhh

#

okay it's more like day 1.5

#

of trying to get context.repetition to like me

mild night
#

i think that might not be as necessary as i just thought

#

considering the wording is specifically 'this run'

#

in the case of throwback, steel, etc

stiff locust
#

your mod is literally for explaining joker wording

#

you might as well include it

mild night
#

the wording there is clear enough imo, it's not like obelisk where there's an effect that isnt stated; "resets after playing your most played"

mild night
stiff locust
#

i really do need to get this working though i need a lua wizard to get me out of webbed hell
the second part of this code (after the first return) does not work whether i do or don't add context.retrigger into the individual if statements

#

if i do add context.retrigger the if statements don't go off and if i don't then it doesn't retrigger

#

i'm just now thinking of a solution but i have my doubts

#

that thing where you like

#

annotate your own code is really helpful

brisk rose
#

comments?

mild night
#

yeah i was gonna say

stiff locust
#

no like

#

saying what the code is doing out loud

#

it immediately makes me realise what's wrong with it

brisk rose
#

oh you mean logicking it out

mild night
#

flowchart moment

stiff locust
#

i think I solved the problem maybe

#

ill be really proud of myself if i have

#

IT WORKED

#

I FIXED IT

jagged compass
#

something rly wierdis going on with my game

#

i just installed mods, but every run is going the same, same skip tags, same delt hand, even across different decks.

#

i dont know how to fix it

#

i skipped the tutorial where jimbo tells you stuff. am i stuck in some sort of "tutorial hell"?

stiff locust
jagged compass
#

no no

stiff locust
#

if not

#

then that just means you have the same seed every time?

#

¯_(ツ)_/¯

jagged compass
#

i cant even pick the seed

jagged compass
tepid crow
#

steam's?

jagged compass
#

ive done basiclly nothing

jagged compass
tepid crow
#

that does nothing for your savefile btw

#

stored in a different place

jagged compass
#

i mean, the install told me to do it, and i was having crashes so i meant to reinstall stuff anyway

tepid crow
#

yeah no it's fine that you did it - it just doesn't reset your savefile

jagged compass
#

anywho, what could be causing this? it's not even letting me start a new run properlly, it always takes me directlly to the repeated run

tepid crow
#

do you care about anything in your savefile?

stiff locust
#

reset your savefile and play out the tutorial

jagged compass
#

not just that but it always restarts the run

jagged compass
stiff locust
#

reset it how

jagged compass
#

deleting files and checkng integrity to recuperate them

stiff locust
#

that's not resetting the savefile

tepid crow
#

again, checking integrity doesn't do anything to your savefile

jagged compass
#

well it was meant for a diferent purpose. i was having a lot of crashes so i wnated to wipe the files clean

stiff locust
#

resetting the savefile is (turn off steam cloud sync) going to appdata/roaming/balatro/X number file

#

the 1 folder holds profile 1, and the 2 folder holds profile 2,, etc

jagged compass
stiff locust
#

delete that to clear your savefile

#

but steam cloud sync brings it back

jagged compass
#

i turned it off

brisk rose
#

if you're fine with all your stuff being done, all you have to do to get out of tutorial hell is play a few antes. idk how many but somone told me you didn't have to win a run

tepid crow
#

I do recall someone having a similar issue, but I think that was without any mods 🤔

rough furnace
#

I think you just need to go through all the tutorial dialog

jagged compass
#

welp i just deleted the numbered folder and am still stucj

rough furnace
#

its the settings file that keeps track of the tutorial

jagged compass
tepid crow
#

you need to delete settings.jkr

rough furnace
tepid crow
#

there's like 10 lol

jagged compass
#

this is what i get for tryiing to get jimbo to shut up -_-

rough furnace
#

I was meaning to be able to enable/disbale the tutorial in DebugPlus but I forgor

jagged compass
rough furnace
#

well I didn't make it yet

#

but if I did you could just disbale the tutorial

#

I can take a look and see if it's easy to disable

jagged compass
#

interesting. os during the tutorial the hand i received is indeed the same as the stuck seed

tepid crow
#

yeah just try playing it out

rough furnace
#

the tutroail has a forced seed

#

if you install the dev branch od DebugPlus you might be able to just run this in the console
eval G.SETTINGS.tutorial_complete = true G.SETTINGS.tutorial_progress = nil

#

yeah that works though you might need to go back to the title screen after hitting play

jagged compass
#

wait, what are the odds?

#

i just got a negative rly early

#

o k im unstuck

rough furnace
#

Doing a little testing

#

honestly not sure how to handle mods like betmmas

#

cause its multiple mods in a repo

#

but also the repo is technically a lovely mod

edgy reef
#

woa

#

What we cooking

rough furnace
#

thinking mod index/database thing

#

but honestly it's probably too difficult

#

due to everyone and their mothers deciding they want to layout their mod in different ways

tepid crow
#

lmfao

edgy reef
#

xdd

tepid crow
#

mod index? kinda like aura was working on?

rough furnace
#

yeah maybe

#

this could maybe be used in addition to that

#

rn this can clone repos and read the metadata

edgy reef
#

There is plan to switch to mod.json for mod metadata (at least according to recent SMODS commit) which would likely make this much easier.

rough furnace
#

what about repos with multiple mods?

#

tbh we should njust remove smods loading mods from sub dirs

#

would make my life easier

tepid crow
#

wouldn't that disrupt any user accidentally nesting their mods?

rough furnace
#

I mean half the mods already crahs when a user does that do to lovely patches not happening

tepid crow
#

at some point lovely was planning to load patches from sub directories too

#

not sure what happened to that

edgy reef
#

It hasn't been merged yet

rough furnace
#

I think someone made a PR to add a variable to allow it but idk if methrule even wants it and alos that won't help if a user accidentally puts it under 2 paths

tepid crow
#

2 paths? like double nested?

rough furnace
#

like someone cloning a mod to Mods/path/path instead of Mods/path

tepid crow
#

yeah double nested

#

I mean, seems a lot rarer to happen in the first place

brisk rose
tepid crow
#

true

brisk rose
#

doesn't matter atm if they don't have lovely patches

rough furnace
#

yeah

#

though if we made those not load those mods would probably get changed right aay

tepid crow
#

eh

#

I feel like that's optimistic

#

lot of people just adding instructions to readmes and stuff in my experience

brisk rose
#

they'd just say to use the release or smth, and it'd be a headache for modpack makers

#

modpacks work a lot better when you can just include the repo as a submodule. At least if you don't wanna code an installer

rough furnace
#

betmma's is weird in particular

frosty dock
#

haven't thought super much about specifics, and i actually still need to get the automerge to work the way i want it to. interesting question though

#

same for jen's collection

rough furnace
#

also iirc jen's almanac doesn't even exist on git anymore

brisk rose
#

Luckily I don't use any cryptid stuff in my modpack, lol

rough furnace
#

also will it be able to yoink from releases?

#

can we just host a zip somewhere else and use that?

brisk rose
#

how will this mod index work?

frosty dock
#

it might not even use git directly or only have it as an option

brisk rose
#

wait that's what's being discussed

#

I'm a silly

rough furnace
#

love2d has methods to open zips

frosty dock
#

i don't mind having it allow specifying any download link

#

yoinking from releases, why not. pretty sure that requires git though

brisk rose
#

I'd certainly want my mods folder to have unzipped files so they could be modified if needed, but I get this would all be optional

rough furnace
frosty dock
#

yeah ik, but does that work for latest release?

rough furnace
#

uhh not sure

#

I could make a script that goes through and checks the latest releases and updates any mod links

#

run it on a cron job for the index

frosty dock
brisk rose
#

shame Windows is... Windows and y'all don't just have global access to bash (at least I think that's how linux works, I'd be technical for a windows user, not so much as the linux user I am)

#

(I do know bash isn't the only shell)

rough furnace
#

no you run the cron job on a server somewhere and then update the metadata on the webserver

#

side note cryptid's release zip won't work proper for the index cause it includes steamodded and talisman with it

brisk rose
#

I... still don't know why they do that

#

accessibility I guess, but it causes more problems than it solves imo

rough furnace
#

I mean it onl really caused one problem because of a lovely upgrade breaking the included smods

#

other than that I don't recall any issues with it

brisk rose
#

I mean like... it isn't even that good for accessibikity because people don't follow the directions

rough furnace
#

it seems decent

#

also most people just unzip into the mods folder which just works™️ with that zip

brisk rose
#

I guess windows is more consistent in whether it automatically creates a subfolder or not

frosty dock
brisk rose
#

I still see people with everything still in a nested Cryptid folder all the time

rough furnace
frosty dock
#

fair enough

rough furnace
#

I'm willing to donate some compute to have something automatically updating url's

#

yeah I just did some testing and I should be abel to make a zip extracter for steamodded pretty easily

#

we can also inspect stuff about it before extraction it

#

so if we wanted to read the config for deps or wahtever

tepid crow
primal robin
rough furnace
#

habit

#

it's a bit safer for unsafe user data as they can't make prototype modifications, but in this case, it's not going to be an issue I think

rough furnace
#

if you try installing crytpid it should install talisman as well

#

and if it's the wrong steamodded version it should probably abort installing

frosty dock
#

still not entirely sure about this github-based system tbh

#

maybe something database-backed is just better

rough furnace
#

I think it would be nice for people adding stuff

#

we can run a script on it to generate some other files and whatveer we need

frosty dock
#

it surely would provide better potential for UX/frontend

#

(most things would be better than using pull requests)

rough furnace
#

I mean we can built a front end that uses the github for the backend

#

oh for editing

#

yeah probably

#

I think jsut getting something working might be smart

#

then we can adapt the backend

#

probably use github pages for a custom domain

#

then if we need to we just swap out where the domain points when changing

tepid crow
# rough furnace why not?

from the slight amount I've heard about resolving dependencies, it's hell to implement yourself lol

rough furnace
#

so we can know if they aren't met

frosty dock
#

i saw oracle have some free stuff but they didn't accept my fake credit card and i don't have a real one (yet)

rough furnace
#

tbh I was thinking just making a dcript that goes through some stuff, makes some config and then makes a static path and either host that or push it to github pages or smth

#

all you really need is some index file which justh as a bit of info about every mod in the index and then the client can make more requests from there to find out about certain mods

#

or if we need to then we just make a simple backend

frosty dock
#

doesn't sound half bad tbh

rough furnace
#

and if you need to run code, I can run it

#

I have a machine running with a bunch of unused resources that are availbe

frosty dock
rough furnace
#

also actually this thing has a 500GB disk why is only 100GB availbe

frosty dock
#

hm

mild night
rough furnace
#

I mean it wouldn't be a very good raid as it only has one disk

tepid crow
#

redundancy is redundancy!

rough furnace
#

tbh idk what is setup on this thing

#

it seems like sda3 has all the disk space but isn't where root is mounted

brisk rose
#

it's not just a 100g partition on an otherwise empty drive?

tepid crow
rough furnace
#

is there 2 disks in this system?

mild night
#

and is quite easy to setup, especially as you can share modpacks by just importing/exporting a profile code

brisk rose
#

to the OS it's all the same

mild night
#

also means you can push updates and then have people semi-automatically download them

#

instead of doing it manually

rough furnace
#

ok idk what's going on here

#

I guess this is what lets it limit each vm's disk size

brisk rose
#

yeah that's voodoo

#

(I say as a non programmer or system admin)

mild night
#

I really shouldve spoken out about using thunderstore a while ago, would've made things so much easier much earlier

brisk rose
frosty dock
rough furnace
#

does thunderstore have an api?

frosty dock
#

TS was an option but it was never properly picked up

brisk rose
#

I really don't want the mods tro migrate off of github

mild night
brisk rose
#

which thunderstore would probably lead to

rough furnace
#

I never used a mod manager because github is easier and there were no benifits for me

mild night
#

github isn't easier for entering the modding space though

rough furnace
tepid crow
mild night
#

^ that too

#

they're not mutually exclusive

brisk rose
#

but have you met humans?

rough furnace
frosty dock
#

the reason we don't use TS is because modders didn't bother

mild night
#

which most people playing the game arent

brisk rose
rough furnace
mild night
rough furnace
#

esecpfially for something like balatro where we don't need to compile anything for mods

frosty dock
#

hence why we're trying to build a system that integrates directly with the game and doesn't need anything else

mild night
#

how many people struggle with just getting steam modded to work, let alone getting mods to work

rough furnace
brisk rose
#

now these folk know a lot more about their computers

#

lol

mild night
rough furnace
#

also thunderstore or whatever wouldn't make getting steamodded easier

mild night
rough furnace
#

just mods for steamodded

mild night
#

if you think people are actually learning from that rather than getting pushed away by the difficulty

frosty dock
rough furnace
#

how?

mild night
#

Thunderstore already has steam modded on it

brisk rose
mild night
#

and it's a two click install

#

and it works perfectly

rough furnace
mild night
#

you... download thunderstore, and go to balatro, then download steammodded, then click Modded

rough furnace
#

you still need to manually put it in the same spot and install lovely

rough furnace
#

oh theres an app for it?

mild night
#

I have never done that

mild night
brisk rose
#

also you can make a frontend while still keeping the backend and manual option available

mild night
#

good god

brisk rose
#

which is the whole point

frosty dock
brisk rose
#

making it easier for the average user while keeping it the same for modders and powerusers

rough furnace
#

how does the automatic thing work with lovely and antivirus?

brisk rose
#

that's the ideal imo

mild night
mild night
frosty dock
#

at least not for recent lovely

#

the most recent version of lovely on TS is still like 0.3.0 right?

tepid crow
brisk rose
rough furnace
brisk rose
mild night
#

there isn't one here

#

thunderstore works perfectly fine

#

the only disadvantage is that you have to actually... upload and maintain your mods on it

#

crazy concept

brisk rose
#

lmao

mild night
rough furnace
#

seems like the thunderstore manager is windows only so thats not a great option

brisk rose
frosty dock
#

so all you're asking is for me to make my own workflow inconvenient for the sake of having an install process for end users that's maybe slightly easier?

brisk rose
#

the mod manager is optional

rough furnace
#

right but then its no different downlaoding mods from github or thunderstore manually

frosty dock
mild night
tepid crow
brisk rose
#

which I guess I technically am

#

but still as long as it's all github based i'd be fine

mild night
brisk rose
frosty dock
#

that is antivirus issues with lovely

mild night
#

how so

frosty dock
#

downloading a zip file and extracting it into a folder isn't hard

mild night
frosty dock
#

at least not orders of magnitude harder than pressing two buttons

#

if that's what this comes down to

mild night
#

you're really arguing that we shouldn't make it easier for people because it would be slightly harder for you

#

when the whole point should be ease of access?

brisk rose
#

the hardest part for people is literally reading and follow instructions, which is frankly a skill issue

mild night
rough furnace
#

except it can't

#

cause a mod manager can't configure your antivirus

brisk rose
#

if you're using lovely you're using a really old version

frosty dock
#

I'm saying we can't make thunderstore a viable option, mod devs like myself won't bother because they care about their own workflow first

tepid crow
frosty dock
#

I've helped through many installation processes, the key issue is antivirus most of the time

rough furnace
#

that or mods crashing which is often not something that would be able to automatically be fixed

brisk rose
#

just takes a bit of patience to help them troubleshoot

frosty dock
#

tbf i should slap the antivirus warning on the install page right in their face as step zero

frosty dock
#

it's too out of the way

tepid crow
#

in my experience it's actually people not reading the installation instructions well enough

frosty dock
#

it's not clear enough that they definitely need to do it and do it right away

rough furnace
#

Maybe we should link the Anti-virus section in bold under the lovely section

brisk rose
tepid crow
frosty dock
#

fair, but beta releases aren't far

#

I just feel it should include some working version of the index, even if not fully featured

tepid crow
#

you can just add the link back when beta releases happen

rough furnace
brisk rose
#

yeah it's all a bit corporate seeming

rough furnace
mild night
brisk rose
#

Lilo, I use Linux, and many of the users and devs also use linux or mac

#

something windows only is completely irrelevent to balatro modding

#

imo

gaunt thistle
#

I can't provide input on Thunderstore but there is value in having "real" package management

mild night
tepid crow
rough furnace
#

To be fair Linux support isn't too bad as baaltro doesn't really have official Linux support, but macos is probably important

rough furnace
brisk rose
rough furnace
#

The only mod managers I've ever used are custom Minecraft launchers

#

And Olympus which is not a generic one

gaunt thistle
#

r2modman does exist and last time I checked it runs on Linux and Mac, but I agree in that I've rarely felt the need to use a mm for Balatro

mild night
gaunt thistle
#

Being totally transparent: I work for Thunderstore

brisk rose
#

so it's not just about poprotionality

gaunt thistle
#

I feel like Balatro is perfect for an in-game mod store

rough furnace
#

Lovely is also handy as it doesn't get wiped by updates

tepid crow
brisk rose
gaunt thistle
#

if you guys dont want to commit to anything you can go about it like neovim and have package management work entirely around repos

mild night
#

thunderstore won't wipe github out like it's the only source for mods. having most of the stuff on thunderstore or other modmanagers means you don't have to worry about the majority of the problems that come with a fresh modding scene

rough furnace
mild night
#

which is mainly getting people into it

gaunt thistle
#

I think that the way it's currently being done is good, y'all just need proper package dependencies n such

#

I'll reiterate that an in-game solution is totally possible

mild night
#

the best case solution is officially supported mods, but that isn't going to be available, if ever, for at least another 6 months

frosty dock
#

i won't even bring up overwolf because again r2mm exists

brisk rose
frosty dock
rough furnace
#

I mean whatever we use for auto updating, it should have a front end

mild night
tepid crow
gaunt thistle
#

I mean it's a fundamental limitation with how mod manager tools develop and the needs that they fulfill

brisk rose