#💻・modding-dev

1 messages · Page 16 of 1

frosty dock
#

lol

narrow pollen
#

this should at least print the type of card created to the debug, right?

zealous glen
#

If it’s not nil yeah

frosty dock
#

i should make this eternal so it's literally just bait

#

you can never use it

mellow sable
#

lmao

#

The Fool but you're an actual Fool for buying it

zealous glen
frosty dock
#

gonna push the stuff i have in a min, apparently I also forgot to actually save doing the register call in __call, maybe I accidentally did that in the lovely dump

narrow pollen
#

I WAS CODING IN THE WRONG VERSION OF THE FILE

#

ohhhhhhhhhhh myyyyyyyyyy goodnessssssss

frosty dock
#

glad we got that sorted out

narrow pollen
#

yep

#

PEBCAK error, moving on

night pagoda
#

any ideas how to do that?

golden lake
#

slabs my belouved

maiden phoenix
#

Should be

night pagoda
#

these are checked for discards and other things

maiden phoenix
#

looping through context.scoring_hand doesn't work?

night pagoda
#

if I'll loop how I'd make the right timings for each card then?

maiden phoenix
#

So you want context.individual?

night pagoda
#

intended effect is super simple: gain $ for ""scored"" debuffed card

#

yep

random sleet
#

you almost definitely need to use injection there

edgy reef
#

Yeah debuffed cards are excluded from context.individual

night pagoda
edgy reef
#

hmm

night pagoda
#

that's sad

edgy reef
#

A need to check for debuffed cards...

#

Ok nah

#

Way too much lovely patching

#

You are evil for this LocalThunk

night pagoda
#

oof

random sleet
#

oh shit debuffed cards automatically count the blind as triggered?

#

fuck

night pagoda
#

yep debuffed cards shake blinds

random sleet
#

that means 🔂 will trigger matador ughhh

zealous glen
random sleet
#

<@&1133519078540185692>

random sleet
edgy reef
#

Actually

#

yeah I could

austere schooner
#

i think this is more dev channel than general mod chat
how on earth would i go about figuring out what is causing this crash when creating a planet card(? it happens randomly in the shop, opening planet packs, and when using high priestess) when i cannot read the whole error message as it is more than 2 screens long

#

the line of code it points to appears to be in the middle of a vanilla function so (?)

#

aha, it's spat out in the console

frosty dock
#

hm, where is create_card being called from?

austere schooner
#

i do not know since this isn't something i'm trying to develop, this is... some nebulous mod problem, somewhere

edgy reef
#

Steamodded 1.0 has a much better error screen plus you usually don't need the whole thing to figure it out.

austere schooner
#

and i'm trying to figure out which one it is without just resorting to the brute force method of hacking out mods until it starts working

frosty dock
#

if there's no lovely patches to that file, this means G.GAME or G.GAME.banned_keys isn't defined

#

which shouldn't be the case during a run, so maybe that's not it?

edgy reef
#

If only [*temporary] gave us value names...

austere schooner
#

something about the UNAVAILABLE in the _pool seems really suspicious

edgy reef
#

OH YEAH

#

The line right after indexes _pool

frosty dock
#

possibly I'm too tired to make any sense of this crash

frosty dock
edgy reef
#

This is a horrid error to debug

#

Even more horrid without lovely injection brute forcing.

golden lake
#

pretty happy with this so far (mockup, not ingame)

#

the little Mind symbol in the upper right

random sleet
#

hell yeah

golden lake
#

balatrostuck is gonna go hard as hell

#

Aspects, Zodiacs, a bunch of new Jokers

#

new Vouchers, new Tags, new Blinds, new Deck

hoary sand
#

what do zodiacs do?

random sleet
#

unique scaling effects for each rank of card

gilded narwhal
rough furnace
# austere schooner i think this is more dev channel than general mod chat how on earth would i go a...

Some tips for reading crash logs:
The first 2 (labeled [1] and [2]) are not relevant (they are the game's and love2D's crash handler's. (These won't show in the new handler, and only sometimes shows now)
After that, you should look at just the first line's. If there is a steamodded mod, it will be labeled (in this case, 4 is from Deluxe Consumable Cards, and there are other consumable cards after it). If there is a mod here, chances are it's related to the crash. If there isn't any, then you can take a look at some of the other lines. If something modded is going wrong, it may have a string tied to it. In the 3rd one, there is "Spectrum" which i know is a modded hand (and maybe something else). As such, it may be worth taking a look at the mod that provides that.

edgy reef
#

Just to ask, is there a reason why [*temporary] shows up instead of variable name?

golden lake
golden lake
#

examples

random sleet
#

i assume at least one level in cancer is required

golden lake
#

yes

rough furnace
golden lake
#

also get it, Libra because Justice

gilded narwhal
#

Because these are in the consumable slot

golden lake
#

working on them

hoary sand
golden lake
#

it also affects jokers that roll probabilities on 8s

#

ie it will affect bloodstone proc on an 8 of Hearts

hoary sand
#

what rank is missing btw

austere schooner
#

even after I put them all back in

golden lake
hoary sand
#

no like

austere schooner
#

so I'm convinced there are ghosts in my game

hoary sand
#

13 ranks vs 12 zodiacs

golden lake
#

also Aspects also have this cool formula display

golden lake
edgy reef
#

We love nonsensical crashes

golden lake
#

you're forgetting ⛎

hoary sand
#

ohhh

golden lake
#

also you know things are about to get real when you get summation of level hands

#

level 10 -> 55 hands

gilded narwhal
random sleet
#

(if anyone's confused, the important thing is that Matador doesn't count the cards debuffed by 🔂 as being "the Boss Blind triggering")

narrow pollen
#

there we go!

#

bear in mind, it's going to be based on odds

#

this is just for debug purposes to make sure it'll work right when i implement it

#

for context: vagabond spawned a stars card while i had lusty joker

slow ocean
#

awesome stuff

hoary sand
mellow sable
#

idk how these checkboxes are perfectly aligned but it's satisfying somehow

golden lake
#

ok this does it we need a config tab for mods

#

i am NOT cycling 20 menus

mellow sable
#

I think that will be in SMODS API at some point

#

but it isn't now balatrojoker

edgy reef
gaunt thistle
#

I love how dorky steamodded is

mellow sable
#

no

#

that's just the abbreviagtion

gaunt thistle
#

gotvcha

#

(I was drying to vread disgimforgation)

north prairie
#

so i would assume this is the only way to go about making custom joker textures?

#

I just wanna change a single card

#

I don't have an issue with using the whole spritesheet i just wanna see if there's an easier way

#

nvm i just found the wiki

fading blaze
mellow sable
#

putting seals on decks is fun

shell timber
#

+$3 whenever the deck effect triggers

fading blaze
mellow sable
#

in-game this makes all the cards gold seal

fading blaze
#

Oh!

mellow sable
#

the gold seal is purely cosmetic on the deck back

fading blaze
#

insert the Medic from TF2 screaming "FREEEEEE MONEY!!!" here

mellow sable
#

I love how Lua lets you do things like this:

G.playing_cards[c]["set_"..self.effect.config.force_sticker](self);
edgy reef
#

what da

mellow sable
#

basically instead of using separate eternal/perishable/rental functions I can just get the function like this

#

and it just works

azure wraith
#

justice: the deck

short surge
#

meanwhile me trying to destroy every card of the deck

rough furnace
fading blaze
#

I need the opinion of someone more familiar with LUA scripting.

Which is easier:

Making a LUA script to edit the existing effect of an asset (in this case, changing an existing Tarot card's effect) to something else,
or
Creating a duplicate asset (visually looks the same but with a different effect) and removing the vanilla version of the asset from ever seeing play?

rough furnace
#

Steamodded lets you take ownership of an existing asset, which i think also lets you change its effect and text

fading blaze
#

Huh... is there some sort of plugin/interface to Steamodded that I'm just not aware of and not using properly?

rough furnace
#

Although as a warning, Steamodded is in the process of a major update that is going to change like everything, so this might change soonish

fading blaze
#

Ah.

#

Perhaps it's for the best I hold off on making any LUA code...

#

Well then I guess until Steamodded gets that overhaul, I've done everything I can for my own StarSuit mod.

rough furnace
#

well you can use that api now

fading blaze
#

Personally, I can be patient for the 1.0 release of Steamodded if that means less of a headache trying to get things working a second time.

narrow pollen
#

maaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaan

#

i hate how difficult it is to pass localization into 1.0 alpha steamodded

crisp coral
#

does any mod create dummy playing cards and destroy them afterwards

wild gyro
#

i think morefluff blade dance does something like that

#

where it adds temporary steel cards

#

if thats what you mean

crisp coral
#

hm

#

i'll look into that one because that sounds broken lol

#

but not what i meant

wild gyro
#

yeah thats the closest thing i know of

narrow pollen
#

not sure if it's released but

#

there it is

#

also sorry for pinging you on reply

queen scroll
#

guys i figured out how lua’s debug library works, my power has become unlimited

#

i made cards held in hand trigger their played abilities

#

(ignore the fact that it crashes if you add a line space to the start of one of the files)

narrow pollen
#

man

#

i just

#

want to have

#

this text

#

defined in the game

royal ether
crisp coral
#

hmst

gaunt thistle
#

I desperate for need Mac user help shell script lovely arm64 n x86

golden lake
#

morning modding-dev

#

i got my hands on some sour patch kids today

#

the sourness keeps me awake

narrow pollen
#

WE BALLIN

frosty dock
narrow pollen
#

that's what the fourth line is for, but... yeah, fair.

frosty dock
#

yeah ik

#

i just thought maybe it looks cleaner in a separate tooltip

narrow pollen
#

maybe; we'll see if {T:#5#} works like you might hope it would.

golden lake
#

what does the T: do

narrow pollen
#

tooltip

golden lake
#

huh

frosty dock
#

does it? it's only used in decks iirc

#

it inserts the vouchers or whatever that the deck starts with from their key

#

i think you have to add to info_queue for tooltips

golden lake
#

yee

#

info queue is like, literally fine thou

#

also update on sour patch kids: i hate the red ones

crisp coral
royal ether
#

i dont think it does

golden lake
#

raspberry is NOT a sour-compatible flavor

royal ether
#

i think i tried it before

golden lake
royal ether
#

oh gog did i double send i hate mobile

crisp coral
golden lake
#

myst which is your least favorite sour patch kid in sour patch kids

crisp coral
#

i do not know what sour patch is

golden lake
#

you dont know sour patch kids?? the fuck

crisp coral
#

please put down your pitchforks

royal ether
golden lake
#

yeap

narrow pollen
#

yeah, i figured that's how it went

#

so i'm HOPING this works

royal ether
#

i tried it with text colour and it didnt work, hopefully maybe {t:} works

crisp coral
royal ether
#

does this imply i can summon cards from my graveyard in attack position

crisp coral
golden lake
#

you wanna see how the game does colors for planet levels?

#

its fucked

last fractal
golden lake
#
    elseif _c.set == 'Planet' then
        loc_vars = {
            G.GAME.hands[_c.config.hand_type].level,localize(_c.config.hand_type, 'poker_hands'), G.GAME.hands[_c.config.hand_type].l_mult, G.GAME.hands[_c.config.hand_type].l_chips,
            colours = {(G.GAME.hands[_c.config.hand_type].level==1 and G.C.UI.TEXT_DARK or G.C.HAND_LEVELS[math.min(7, G.GAME.hands[_c.config.hand_type].level)])}
        }
        localize{type = 'descriptions', key = _c.key, set = _c.set, nodes = desc_nodes, vars = loc_vars}
royal ether
#

yea i know...

crisp coral
royal ether
#

ive dug into it....

golden lake
#

i still barely get this

golden lake
crisp coral
#

absolutely obliterate booga

royal ether
#

wait theres a colours sub-loc-var?

golden lake
royal ether
#

why the flip am i not using this

crisp coral
#

what the fuck

golden lake
#

here's what Planet localization looks like:

            c_mercury = {
                name = "Mercury",
                text = {
                    "{S:0.8}({S:0.8,V:1}lvl.#1#{S:0.8}){} Level up",
                    "{C:attention}#2#",
                    "{C:mult}+#3#{} Mult and",
                    "{C:chips}+#4#{} chips"
                }
            },
royal ether
#

wait so is that what S and V are

golden lake
#

S is scale

royal ether
#

oh

golden lake
#

V i guess stands for var?

royal ether
#

then im assuming V is 1st var of colours

#

wait this changes everything

#

but im gonna forget by the time i get back xdd

frosty dock
#

{V:n} is nth var of colours

royal ether
#

ya thats what i meant bad wording

golden lake
#

oh god that's awesome

#

i'm gonna cook with this

#

Thank you localized thunk

royal ether
#

localize{thunk}

golden lake
#

people think local thunk
is a joke about

local thunk

when in reality its a more layered

localize {'thunk'}

joke

#

right time to put on some music and add those damn level displays (for now without color)

frosty dock
narrow pollen
#

...you know, i think i do like this more, actually.

#

(and yes, this effect is shared across all other "Suit Mult" effect cards, for their respective tarot card)

#

might even make it affect generated playing cards, as well

calm nova
#

Anyone know how to get the injector for balamod?

golden lake
#

haha no

calm nova
#

Yea I’m confused

narrow pollen
#

what i think was meant by that, is that balamod is quickly falling out of favor with many mod devs

#

and isn't prioritizing cross-compatibility with steamodded or lovely

calm nova
#

Ahh I see oh well wanted to try the seals they have lol

narrow pollen
#

not for anything it did wrong, just that more people used steamodded

calm nova
#

Makes sense

golden lake
#

it did do one thing wrong

#

existed in the same category as steamodded

calm nova
#

Damn 😭😭

frosty dock
#

lmao

royal ether
#

😔

#

it works with lovely guys...

#

i havent limit tested its lovely compat yet tho

#

as for steamodded compat, it kinda works a little...

random sleet
#

balamod ambassador:

golden lake
#

cringe..

royal ether
#

but that one is balamod 1.0+ which breaks older mods

#

i think theres only one (1) balamod 1.0 mod that exists rn

random sleet
#

akai ur cringe

crisp coral
#

i forgor balamod existed

#

uhm i'll update mystblinds for balamod after finishing this mod

royal ether
#

😔 im not cringe i swear...

crisp coral
#

arach ur cringe

royal ether
#

😭

zealous glen
#

why bully arachnei

royal ether
#

oh yea balamod 1.0 makes smod compat way more plausible too

random sleet
#

its ok clodsire has unaware

royal ether
#

:clueless:

crisp coral
random sleet
#

ayo

#

gy and discard pile could both be things in this game... confusing
....

royal ether
#

the secret is that theres nothinf above "^ the actual mod"

crisp coral
#

discard pile is discard pile

#

graveyard is not discard pile

#

done

random sleet
#

i know lol

#

it makes sense to me but would the average balatrian get it

royal ether
#

we're becoming yugioh

crisp coral
#

balatrian? did you mean balapal

random sleet
#

also please please please please make this an api superplead

golden lake
crisp coral
#

i'm totally not doing anything devilish with this

golden lake
#

true colors show

random sleet
#

no aure hates coremods

#

i hate scrollbars

#

i literally made oddityapi lol

#

and will make usable jokers

zealous glen
#

Usable or playable?

random sleet
#

usable

zealous glen
#

👍

frosty dock
crisp coral
#

i guess?

golden lake
frosty dock
#

maybe™️

random sleet
#

component component when

#

Oh!

#

with consumable rarities, Baseball Joker will activate on uncommon consumables. is this changed in smods?

frosty dock
#

you can avoid it by using a key for your rarity that is not 2

#

(rarity keys are allowed to be anything)

#

(note: needs testing)

random sleet
#

ok so its on me if i want to use common/uncommon/rare/legendary

golden lake
#

Aries my beloved

short surge
#

btw guys pls ping me when 1.0 is out officially, if i may request

random sleet
#

no

#

i will unping you

frosty dock
bold osprey
#

what's Aurelius7309 discord name ? He changed a bit my sound.lua but I do not agree with the changes that could cause some problems

bold osprey
#

welp that solves it x)

In sound.lua you changed SMODS.findModByID(modID) to SMODS.current_mod
if people don't call it at the beginning (likein a function tho idk why they would do that lmao) or old mod that depend on it may not work

frosty dock
#

well findModByID doesn't exist anymore in 1.0

bold osprey
#

@_@

frosty dock
#

I don't care about breaking old mods since it has breaking changes anyway

bold osprey
#

There's no replacement to it then I guess ?

frosty dock
#

you could index SMODS.Mods at the provided ID, but I don't see a use in calling register sound global at any time except during load

#

that change was mostly to prevent it from causing crashes because that function doesn't exist

bold osprey
#

DO they call it in init ?
Outside of init ?
Not in a function that's for sure

frosty dock
#

my guy steamodded is getting a full rewrite

#

there is no more init

bold osprey
#

I guess they just put it there okay

random sleet
#

your whole mod is the init function now

golden lake
#

lets gooo

random sleet
#

sick

#

akai i have a dumb idra

random sleet
#

♈ ♎ ♏ etc as balatrostuck emojioker compat...

frosty dock
bold osprey
#

yeah yeah I know

zealous glen
bold osprey
#

I just want to know where they put it so that I can update instructions on my side

#

Unless of course you want to maintain that

#

x)

golden lake
random sleet
frosty dock
zealous glen
# golden lake sure?

“Each [RANK]” avoids pluralization which looks a bit weird especially when a number is highlighted but the S isn’t.

“Level Up” should be highlighted in some way, maybe even in a different box. The level number before level up is also confusing IMO

royal ether
#

isnt nun before level up how base game does it

#

num*

golden lake
#

literally is

zealous glen
#

It might be, I still think it looks weird here

bold osprey
zealous glen
#

Just because the base game does it in a certain way doesn’t mean I have to suggest you follow it

royal ether
#

i think if you do something the user can see, it should be formatted similarly to base game

#

descriptions especially

zealous glen
#

I think you should do as good as or better. If you do better that’s preferable to doing the same

frosty dock
zealous glen
#

Also planets always give the same numerical upgrades, rather than unique text to each of them. I think the amount of information you need there is small compared to this

#

Hand type, base Chips, and base Mult

bold osprey
golden lake
#

this is so gaming

#

also important wording "now give"

#

its showing you what effect it will have after you take it

#

Aspects and Zodiacs start at level 0 due to their weird nature

random sleet
#

i think the "level up" part in planet text is part of the sentence i.e. "level up full house"

golden lake
#

oh true

#

i might move it then

#

to the start

random sleet
#

or just give it a subject

#

like [lvl.4] Level up 4s

#

or whatever the appropriate terminology for your stuff

golden lake
#

lets see then

#

this better then?

zealous glen
#

Now it looks like it will only work if you’re holding 4s

#

Maybe “all future 4s”? “Each future 4”?

random sleet
golden lake
#

that sounds good

random sleet
#

i still vote [lvl4] Level up <rank>

golden lake
#

oh this is tasty

crisp coral
shell timber
#

crazy with glass cards?

frosty dock
crisp coral
golden lake
#

a joker that scales with your graveyard..

#

@frosty dock would running calculation logic in the consumable only work if said consumable is present or

random sleet
# crisp coral 👁️

pleasepleasepleasepleasrpleadrpleaspeleadprlepaslepalaprlepalslrplapsrpls make this an api

golden lake
#

cause idk if i have to manually override calculate func

#

to make my dreams come true

crisp coral
#

dont worry the graveyard will be

#

A Separate Thing

#

™️

golden lake
#

yooo

#

nice

crisp coral
#

also this surprisingly worked first try lol

#

except logic errors but i wouldn't count that

golden lake
#

btw myst how would you solve my conundrum

#

ie. having calculation logic that pertains to playing cards

#

but works very joker-esque

#

but isnt a joker, rather a passive effect

#

im mainly concerned about safely overriding calculate_joker() without breaking it

#

because then I can set up sth like what Observatory does

golden lake
#

ok so how do i safely override calculate_joker

bold osprey
#

By loading it beforer anything else

#

XD

#

Priority to -10000

#

x)

frosty dock
#

well the else block is already patched to using end_calculate_context

zealous glen
#

Can’t you just hook to it?

golden lake
#

no because half the time it ends up breaking

zealous glen
#

↖️Clueless

bold osprey
frosty dock
#

there might be some technicalities, idr if it checks if it's a joker at all?

crisp coral
#

uhm yea just calculate_joker it

zealous glen
#

I mean, I suppose you could use lovely patches to add a custom calculate function in specific places

golden lake
crisp coral
#

or put it as a separate function near the calculate_joker calls

royal ether
#

cant you hook whatever it uses to calculate playing cards then

zealous glen
#

Maybe if you hooked calculate_joker but like

function calculate_joker(context)
    custom_calculate(context)
    return calculate_joker_ref(context)
end
golden lake
#

im stumped by this one because the one time i tried doing an override it just broke everything else

#

could try?

zealous glen
#

Playing cards trigger before Jokers so the timing works well

random sleet
#

use lovely

#

inject stuff

zealous glen
#

After learning how to inject I’m getting worried if I’m doing it too much lol

random sleet
#

never

crisp coral
#

graveyard has 108 lines of lovely.toml rn

random sleet
#

is that all?

crisp coral
#

let's ignore the entirely copied view_deck function in the main lua and say yes

golden lake
#
local calculate_joker_ref = Card.calculate_joker
function Card:calculate_joker(context)

    if self.ability.set == 'Default' or self.ability.set == 'Enhanced' then
        if context.cardarea == G.held and self:get_id() == 4 and G.GAME.BALATROSTUCK.zodiac_levels['Cancer'] >= 1 then
            return {
                mult = 4
            }
        end
    end

    return calculate_joker_ref(self, context)
end
#

should this work

random sleet
#

playing cards dont calculate joker?

golden lake
#

neither do planets yet here we are

crisp coral
#

planets do calculate joker

random sleet
#

planets do calculate joker

golden lake
#

then what am i supposed to do if youre so smart

crisp coral
#

calculate jokers the playing card

golden lake
#

yeah thats what im literally doing

#

aghh

crisp coral
#

oh my god vendetta broke now uggggggg

golden lake
#

im asking if what im doing should theoretically work

crisp coral
#

yes if you call calculate joker on the playing cards

golden lake
#

is that what im doing

#

or are you thinking of sth else

maiden phoenix
crisp coral
#

g.hand.cards[1]:calculate_joker idk

random sleet
#

you have to call the function somewhere yeah

zealous glen
#

Except for the loop, you could loop inside the hook

random sleet
#

also why not just make your own func at that point tho

#

calcjoker on pcards will probably lead to weird incompat

zealous glen
#

Maybe a lovey patch to occur before the loop would better

golden lake
#

im going to cry oh my fucking god i just want to do something on a playing card

crisp coral
#

i'm sorry i'm not much help i'm outside rn 😭

random sleet
#

and im at work

#

you need to inject a call for this im like 90% sure you cant just arbitrarily do random things

golden lake
#

where is the question WHERE

#

this sucks

random sleet
#

in evaluate_play

#

have fun

shell timber
#

what do steel cards do?

#

that'd be where i'd look

random sleet
#

increase a property of the card

#

technically aries could be done with the unused hmult parameter

#

but other ones will need a better solution anyway

crisp coral
frosty dock
#

lmao

random sleet
golden lake
random sleet
#

sup

#

i think thats what its callrd

#

its in functions/state_events.lua i think

#

its an enormous function

queen scroll
#

oh yeah i remember dealing with that one today

#

it has no useful internal functions to wrap so i had to learn actual hooks in lua

random sleet
#

lovely is right there

queen scroll
#

my mod is on steamodded

blissful coyote
queen scroll
#

i don’t want people to have to get lovely to get my mod

frosty dock
#

steamodded is gonna require lovely literally next release

queen scroll
#

oh

#

huh

random sleet
#

might as well learn to lovely now

random sleet
queen scroll
#

can i still copy and paste the source code files into the bottom of main.lua to make it work instead?

#

also how do you just add lovely code to a steamodded mod?

random sleet
#

have a lovely.toml as well

#

technically its more like have a lovely mod and a steamodded mod bundled together

queen scroll
#

yeah that sounds awful

random sleet
#

me when i oppose change for the sake of opposing change

queen scroll
#

i think i’ll just stick to the debug library for now

frosty dock
#

it's better than replacing the function fully in most cases

#

(view deck UI as an exception)

#

(I still converted it to lovely)

#

(it's probably inefficient)

queen scroll
frosty dock
#

that sounds unstable against lovely patches from other mods

queen scroll
#

how so?

frosty dock
#

do you literally give it a line number?

queen scroll
#

yes

random sleet
#

because lovely literally changes the lua code being executed

queen scroll
#

oh

frosty dock
#

yeah that breaks as soon as I chanhe any line before yours with Lovely in that file at all

queen scroll
#

you’re kidding

#

why though?

#

can i request lovely reformats all changes to single lines so i don’t have to reprogram my mod?

frosty dock
#

no

random sleet
#

no

queen scroll
#

:(

random sleet
#

just use lovely

random sleet
queen scroll
#

sorry idk

frosty dock
#

look, say I use a pattern patch to inster initSteamodded(), and you use your method to change some line after that in game.lua

#

your method is now one line off

queen scroll
#

yeah ik

random sleet
#

"can i request that thing with established usage fundamentally change how it works so i dont have to use something every user will have anyway?"

queen scroll
crisp coral
queen scroll
#

just bc i can’t use lovely in my normal coding environment so i won’t be able to work on my mod nearly as much

random sleet
#

whys that

queen scroll
#

i have steam on my pc and use my laptop for coding, so i run love2d’s mac version on the decompiled source code

random sleet
#

uh
cant you just install the game properly

frosty dock
#

^^

random sleet
#

and then install lovelysmods

frosty dock
#

that's not something we can support here unfortunately

random sleet
#

like that sounds questionably legal, even.

queen scroll
#

wait what?

#

how? sorry i genuinely don’t understand

frosty dock
#

there's a rule here that's literally "don't debug source code"

#

it's not piracy since you own the game, but it's not really to be discussed here

random sleet
#

tbf i am not smart

frosty dock
#

your approach is an awful lot like attaching a debugger to the game

#

but tbf no one knows exactly what thunk means by that rule

random sleet
#

and additionally it sounds like the most convoluted way to... do something you could do anyway?

queen scroll
#

last time i checked there was minimal lovely support for mac, has that changed since?

frosty dock
#

that has in fact changed

random sleet
#

theres like seven people who did it yesterday

frosty dock
#

if it's not well documented as of now, it still exists

queen scroll
#

oh, great

random sleet
#

i know because it was like all modding-chat was for a few hours lol

queen scroll
#

if you know anyone who has can you tell me so i can ask?

frosty dock
#

For 1.0 I definitely want to make sure there's easily accessible install instructions for all platforms right on the github page

random sleet
#

@fading blaze seems the most knowledgeable (ping intended)

queen scroll
#

cool, i’ll have to go to sleep soon so i’ll look back at this in the morning

random sleet
#

i didnt even think this many regular people owned macs...

frosty dock
#

lmao

#

now what's a regular person

queen scroll
#

my school requires me to choose between an average macbook and the crappiest windows laptop on the face of the earth

shell timber
#

it can't be that bad

random sleet
#

like fr i have never ever just ran into someone who has a mac as a personal computer (that im aware of ig) until being here

shell timber
#

i used to have a mac

fading blaze
shell timber
#

it lasted quite a while actually

queen scroll
fading blaze
#

I'll try to be back online in a few hours.

random sleet
#

you might be able to search chimi's messages to find help they distilled to other users

#

cheese is heading off anyway so i dont think its much trouble at all

queen scroll
#

i do need to go now, hopefully i’ll be able to figure it out soon

#

i’ll actually probably hold off until smod 1.0 anyway

narrow pollen
random sleet
#

why j_gluttenous_joker wiggle

hoary sand
#

the gluttenous wiggler

random sleet
#

thiccler

crisp coral
#

sticking out your glut for the wiggler

#

(i'm sorry

narrow pollen
random sleet
#

also i figured out an alternative to setting 33 pool flags every frame

narrow pollen
#

not the exact same joker, but it's present on all four of them

#

the seed would have given me a sun card, but the joker effect rerolled it into clubs

random sleet
#

i see

#

maybe a card_eval_status_text would help express that

narrow pollen
#

well, yeah. i'm probably gonna work on that next

#

there's also a timpani sound that plays but i guess the sound got corrupted on that recording

random sleet
wild gyro
gaunt thistle
#

General warning to mod devs - I'll be changing how lovely is distributed for this next update.

#

No more uploading straight binaries, instead they'll be within zip archives

zealous glen
random sleet
#

deck state; ensuring jokers that only work if you have particular cards in your deck only appear if those cards are present

red flower
#

hii I've been making a mod for myself to make joker info visible on the screen
has anyone done something like this? is anyone interested?

maiden phoenix
#

Haven't seen something similar, looks cool!

edgy reef
#

Cool QOL mod for base game

random sleet
#

that looks pretty cool, i'd be down to add support for it to my mod if such is possible

golden lake
#

yippeee

#

ie if you play 3 cards and one of them is a 6, the other 2 cards get +6 chips

#

permamently

random sleet
#

oh does the Zodiac badge do the same thing the Aspect badge does

golden lake
#

yes

random sleet
#

i'd probably try to put the word "permanent" in there somewhere if that's a hiker-like boost

red flower
red flower
random sleet
#

funny boilerplate code

narrow pollen
#

or actually

#

Each scored 6 permanently grants instead of All scored 6s permanently grant

#

that way, it's more clear that it works on retriggers

#

because retriggers are just a second "when scored"

golden lake
#

it distributes

#

a total of 12 chips

#

so if i play 2 cards, that's +12 chips on that other card

#

+6 on 3 cards

narrow pollen
#

ahhhhhhhhhh i see

golden lake
#

+4 on 4 cards

random sleet
#

can it handle 5 other cards?

golden lake
#

+3 on 5 cards

golden lake
random sleet
#

i see

golden lake
#

actually hm

#

i could bump it up to 60 chips

#

then it would

#

it needs to be a number divisible by 2,3,4

#

ok sure actually

#

+60 chips is kinda cool

#

actually no

#

that's gonna be busted with levelling

#

this is my way of saying "screw you 6 hand selection mods"

slow ocean
#

oh swag

golden lake
#

the basic gist of it is that it'll give the chips to every card played but itself

#

but it can also boost other 6s

#

just not itself

#

so 5oak 6s is like, really really good for chips

#

because every 6 is technically getting the full +12

#

and that number grows by 12x where x is level

random sleet
#

i had a weird idea to put more cards in the played hand but i havent even tried implementing it yet so /shrug

golden lake
#

also gonna start working on these @slow ocean

#

Disciple is next

slow ocean
#

🫡

#

please post when done

#

i mentioned disiciple and my wife got activated

mint tundra
#

i want to make a mod how would i get started

golden lake
#

read the source code of other mods

#

read steamodded wiki

#

read Balatro source code

mint tundra
#

where do i find the source code

golden lake
#

btw Lyman what do you think of the new design as a whole

#

for the Zodiacs

slow ocean
#

i really f with them

#

did you change some of the colors

#

it looks more faded (in a good way)

golden lake
#

yeah i contrast adjusted

#

also hm

#

i kind of want to make the LE ability relate to Capricorn ability, Heart ability, Sagittarius ability and give it busted Straight synergy

#

ie trap the 4 souls inside of that damned puppet

#

also I love how this entire card category is literally just a massive Straight buff

#

like, you can play a 6 - 7 - 8 - 9 -10 Straight and get +3 chips on each card, 1.1x Mult, double probability on a Lucky 8, even more Chips, and crazy XMult (provided you have no held 10s)

candid cloak
#

I heard people say creating new enchantments is impossible but apparently people are also doing it in the Ortalab mod place?

frosty dock
#

enhancements are definitely possible

#

editions are a different story

golden lake
#

you cant make enchantments this isnt minecraft

frosty dock
#

^^

wicked brook
candid cloak
broken vine
#

Just look at jellymod (do not do this. But jellymod did make like 10 new enhancements)

golden lake
#

also custom editions are possible, you just need to be well-versed with shader code

frosty dock
#

rule of thumb, don't use jellymod as a reference

broken vine
#

Lol its funny because it was like that at the start and even more so the longer it ages

frosty dock
#

well tbf it hasn't changed

candid cloak
#

negative regular cards

golden lake
#

also Balatrostuck is way too big hot damn

#

look at this

candid cloak
wintry solar
#

shader code is just understanding how to manipulate colour values with maths

golden lake
maiden phoenix
random sleet
candid cloak
maiden phoenix
#

Yes I did

golden lake
#

welcome to Balatrostuck

#

every card is like that

frosty dock
golden lake
#

Everything is like, way too stupid

candid cloak
golden lake
#

thank you I made 95% of it

#

also uhh Aspects

random sleet
#

pictured here: card you didnt do the art for 😂

golden lake
wintry solar
golden lake
#

i did do like a substantial amt on the Aspects and then Yokcos came and did the rest for the bgs

candid cloak
wintry solar
#

yes

random sleet
#

oh i meant the Land of Heat and Clockwork

golden lake
random sleet
#

someone should figure out how to make shaders shiny based on card angle like vanilla ones

candid cloak
#

what's an api

random sleet
#

a word that gets thrown around to make people look cool

slow ocean
#

every steamodded mod is an api

candid cloak
#

Cooler you say?

slow ocean
#

:^)

zealous glen
maiden phoenix
#

Me when I made NoAPI 😏

slow ocean
#

hey i contributed to NoAPI

maiden phoenix
#

True tysm

golden lake
#

btw Lyman I might need your help doing a Joker for GAME OVER

random sleet
#

ughhhh why is the twemoji sorting so bad

golden lake
#

i have the rough idea and some drafts but I might need your assistance

#

(it involves le animatione)

zealous glen
#

For Balatro modding people are calling mods that serve to help other people make mods APIs

candid cloak
random sleet
#

:AAAAAAAA:

slow ocean
#

animations you say?

slow ocean
candid cloak
#

Yeah

#

The body looks very natural

slow ocean
#

the body was hand drawn yeah

random sleet
#

disc portrait jokers....

slow ocean
#

oh discord

#

i was so confused

#

butane fumes meltin my brain

random sleet
#

so true jestie

slow ocean
#

the head is also slightly bigger than normal jimbo

#

its more rounded

golden lake
#

i want to do the fucked up stardust gliches

frosty dock
#

hell yeah

golden lake
#

lets go??

random sleet
#

sick

slow ocean
#

ive ran out of coding juice for the forseeable future but i am always willing to help out with art

golden lake
#

aure would you like an out of date tag

random sleet
#

mod version number should probably be on the mod menu somewhere

zealous glen
maiden phoenix
frosty dock
golden lake
candid cloak
#

I'm only here because I'm a Joker Artist Amatueyr all the fancy cards you all got

random sleet
#

i can't do art either thats why im making this dumb emoji mod

frosty dock
zealous glen
candid cloak
#

Btw Balatrostuck do you have a collection outside of the game of the Jokers/Joker art?

frosty dock
#

assuming semver, that just means I need version 1.x

golden lake
slow ocean
#

you can probably find my art on a couple of mods here and there

frosty dock
#

it can't happen

broken vine
#

Ultimate Jimbo Dating Sim version should increase every time its posted

maiden phoenix
random sleet
#

why is ortalab an anime girl

candid cloak
#

Can you mod in the stickers like eternal or rental

slow ocean
#

its their mascot ig

golden lake
#

duh

maiden phoenix
#

No but like

zealous glen
#

Dig-Dug from Namco High?

maiden phoenix
#

Why a random head

frosty dock
candid cloak
zealous glen
#

Oh “duh” not “dug”

golden lake
frosty dock
#

also i want to sort the list in some way

maiden phoenix
#

huh

wintry solar
#

🤷‍♂️

slow ocean
#

i like the sprite but like

frosty dock
#

like mods that had issues loading will show up first

worldly sapphire
#

can someone help me add a new joker? i am new into lua modding 😅

golden lake
random sleet
#

no i dont think anyone's ever done that before

zealous glen
slow ocean
#

honest critique: i think ortalab would be a lot more of a complete package if it didnt have some design decisions to incorporate some stuff based on like, ocs and stuff im not sure how to articulate

golden lake
#

i think mods with errors should always show up first

fair inlet
slow ocean
#

stuff like that and virtue always struck me as weird

#

the art ive been seeing for it is gorgeous though

hoary sand
#

why did they pick virtue btw

golden lake
#

Neptunia thing

slow ocean
#

yea

#

crimson just likes neptunia

golden lake
#

I honestly dont mind

#

it's fun

slow ocean
#

i dont know what i would have picked to be an inverse of joker so i cant say much

golden lake
#

i literally made this card lmao

maiden phoenix
#

rekoj

slow ocean
#

(maybe jester)

frosty dock
candid cloak
#

What part of Ortalab will take the most time to mod in the gard?

maiden phoenix
fair inlet
#

i mean virtue is indeed an antonym of joker to an extent so that’s a coincidence

slow ocean
#

let me fetch my tier list of modding things into the game

#

its not really an antonym though?

#

like a joker is not inherently sinful

#

one could argue that being mirthful is a virtue in of itself

#

but thats just semantics

golden lake
candid cloak
#

Humour should be punished by death

maiden phoenix
#

How does it look like in negative?

wintry solar
#

I also don't understand the ortalab mascot or some of the design decisions but you roll with it

frosty dock
slow ocean
#

reposting this here

slow ocean
fair inlet
#

i mean it’s an antonym so 🤷‍♂️

slow ocean
#

what website even is this lmao

zealous glen
wintry solar
#

looks like wordhippo

zealous glen
#

Not like sprite animations

#

Event animations

slow ocean
#

probably in ui shenanigans but i'd get newts take on that

wintry solar
#

no editions because glsl lol

zealous glen
#

I haven't touched UI just the event manager

slow ocean
#

i have little knowledge of the event manager tbh

#

i just recite the ancient spells that make it work in source code

zealous glen
#

Me neither

candid cloak
#

I should probably buy the game considering how much time I've spent on fanwork

zealous glen
random sleet
#

i think thats what we all do lol

maiden phoenix
golden lake
#

i know some of the stuff to the extent that i can add custom stuff

hoary sand
fair inlet
#

erosion too

zealous glen
candid cloak
#

Negatives shaders are already a thing, so why aren't negative base cards like King and Ace a thing too?

zealous glen
#

But it's unreleased

wicked brook
#

I'm so excited for a full homestuck deck.

#

:)

hoary sand
golden lake
#

have you seen the Aspect slabs @wicked brook

#

they'll appear here to show you your current Aspect

wicked brook
#

I have not! I only just joined this server because I'm working on a full isaac reskin for basically every card in the game.

random sleet
#

will the aspect slab wiggle when the effect triggers

golden lake
#

and it was my idea /j

maiden phoenix
#

I can't wait to play BalatroStuck with jokers, consumable, badges, trinkets, relics, artifacts, passive items, active items, secondary items, curses, blessing, sacrifices-

wicked brook
#

I love how they're cracked just like the sacrificial slabs in the comic proper.

#

All of them look super cool. Who did the pixel art for it?

golden lake
#

i did

#

like 95% of it

wicked brook
#

They look awesome!

#

I'm really excited for that mod.

golden lake
#

the other 5% are 6 jokers and some aspect backgrounds

#

btw the effects on Aspects are uh

#

very normal

zealous glen
#

@candid cloak

golden lake
#

@wicked brook

maiden phoenix
#

Oh my bad I forgot level ups too

zealous glen
wicked brook
#

All of those are insanely powerful and I am so excited

golden lake
#

summation on Space/Time is really fun

#

level 1 Time is just +1 hand, but level 3 Time is +6 hands

zealous glen
golden lake
#

this is also why Aspects will have a tremendously low shop rate

#

Because they're all broken as all hells

maiden phoenix
#

Just got an idea for a mod from the crap I'm saying but I shall wait for steamodded 1.0

worldly sapphire
#

where exacly i put a new joker?

random sleet
maiden phoenix
#

Mega Aspect Pack 😏

zealous glen
worldly sapphire
#

like, i'm confused, it's my first time modding the game wihtout even knowing the language lol

zealous glen
#

Check the Steamodded wiki

worldly sapphire
#

i was checking it

#

and i'm still confused

zealous glen
worldly sapphire
#

the only thing i know is just replacing the game base images

hoary sand
#

i'm never removing another background ever ever again

broken vine
#

impressive, although curious what it would be for. a enhancement, maybe?

zealous glen
#

a gift?

hoary sand
#

it's so i can turn it into a gift 💀

maiden phoenix
broken vine
#

oh right, i forgot your body of work lmao

wintry solar
long gust
#

edit the coffee circle out of brainstorm and challenge people to see what's wrong with it

broken vine
#

like with literal 40+ gifts made lmao

hoary sand
#

i might release all of the backgrounds i've gotten as a mod in their own

frosty dock
#

how's this

golden lake
#

yesssss

random sleet
frosty dock
#

maybe it's not enough contrast

golden lake
#

now add version as light gray scale 0.8 parenthesized text after mod name

#

btw what do we think about Sag effect chat

#

i think its funny

#

basically if you play a hand and it has a single nonscoring 9, all scoring cards get +25 chips on top of their regular value

hoary sand
#

like hiker style?

golden lake
#

nope

#

hiker style is this

wintry solar
golden lake
#

6s are about slow, but permament growth

#

9s are about quick, flash in the pan power up

golden lake
#

node[2]

hoary sand
golden lake
#

also yeah nyxbird what do you think

fair inlet
hoary sand
#

i think the phrasing is weird for sagittarius

frosty dock
#

UIBox_button doesn't care to support multiple text sizes

golden lake
golden lake
frosty dock
#

also only single color

hoary sand
#

i'm not really sure, it was just hard for me to parse initially

#

also it seems a bit weaker than the other zodiacs

#

it's an interesting effect though

random sleet
worldly sapphire
#

i can't make it work. idk if i need to put a effect to work?

random sleet
#

uhhhh what lol

maiden phoenix
wintry solar
#

is there like a debug console I can spit stuff out to?

random sleet
#

thats better (card description is inaccurate, rn it's set to reduce blind by 100% when sold)

random sleet
wintry solar
#

I am not using Lovely 😦

crisp coral
#

should Graveyard be released early (only the Graveyard itself, no API) or wait until most API features are finalized

random sleet
#

api stuff

crisp coral
#

autumn i expected that answer from you

#

:p

random sleet
random sleet
maiden phoenix
#

Thats neat, know some mods that have blind reducing effect but doesn't instawin afterward

wintry solar
random sleet
#

it requires setting the game state for things to go smoothly, and it's not the most intuitively named thing

maiden phoenix
#

So cool 👍

crisp coral
#

oh heck that's cool

random sleet
#

(granted it's unneeded for the intended effect of this card but i figured i'd get it out of the way early right)

hoary sand
#

brainstorm more like um. braingift?

random sleet
#

(the status text will be fixed lol thats my bad)

narrow pollen
#

anyone know why my played hand sorts itself by rank when played instead of remaining the order they are in the full hand? i have tried everything to sort it by the card's x position, and i haven't even modified the hand type i'm currently playing.

slow ocean
#

youre bepic autumn

wintry solar
#

anyone able to help me understand this code?
self.ARGS.send_to_shader[1] = math.min(self.VT.r*3, 1) + G.TIMERS.REAL/(28) + (self.juice and self.juice.r*20 or 0) + self.tilt_var.amt

#

in card.lua

zealous glen
zealous glen
zealous glen
wintry solar
random sleet
#

juice is what juice_up changes

#

basically any time a card wiggles from an effect proc

zealous glen
#

☝️

wintry solar
#

okay cool

#

so is this value just increasing steadily whilst the card is being drawn?

zealous glen
#

It’s not a value but an array I believe

#

Which contains information about the scale and rotation of the card

random sleet
#

i don't actually know exactly how it works but surely juice_up's function would be helpful to reference

zealous glen
#

Maybe other information too

#

What Autumn said

random sleet
#

i was worried 🗝️ might be overpowered but this seems to indicate otherwise

worldly sapphire
wintry solar
#

wait thats an array?

narrow pollen
#

there we go, i realized i was negating that by sorting the hand in rank order to check for straights

wintry solar
#

man I am so out of practise in lua

worldly sapphire
random sleet
#

"self.juice.r" would indicate that self.juice is a table with named keys

narrow pollen
#

(it's just easier to do coding-wise when the hand is sorted by rank, even with the "next" function)

random sleet
#

one of which is r

worldly sapphire
zealous glen
#

Which I believe is related to the rotation of the card

#

But this is lowercase R not uppercase

#

So idk

wintry solar
#

yeah I was looking for the rotation of the card passed to the shader

zealous glen
random sleet
worldly sapphire
zealous glen
#

What do you think? (I'd also appreciate art comments)

random sleet
#

what swaps

zealous glen
#

"rank 7 or lower"

wintry solar
maiden phoenix
#

rank ace or higher 😏

wintry solar
#

it could be the way that shader is being hacked in I guess

zealous glen
#

It's just "7 or lower" and "8 or higher"

wintry solar
#

let me try loading it properly

random sleet
#

the G.TIMERS.REAL component would be the culprit there

maiden phoenix
#

Awn

random sleet
#

i assume the intention is that the argument is used in a trig function like sin/cos

wintry solar
#

oh snap yeah of course

#

brain fart

maiden phoenix
zealous glen
#

I had this idea during the demo

maiden phoenix
#

Why not make the inactive text (swaps to 8 or higher each hand) or something?

zealous glen
maiden phoenix
#

So that people know what they'll get?