#⚙・modding-general

1 messages · Page 70 of 1

gilded vortex
#

Maybe four cones if you want to be more specific

lean dune
#

by the same logic, a 3oak can be extended to a 5oak with the right cards, but that doesn't mean every 3oak is also a 5oak

gilded vortex
#

I think it could be fun as a stand-alone Joker, since it works in the Base Game

gilded vortex
#

Like you could have other effects that make hands stop containing other hands

lean dune
#

like I said, it's possible to just go off a specific hand that is designed to not be special and just run the function that checks hand types over that

gilded vortex
#

Three Arms
You can make 4OAK with three cards.

lean dune
#

OH NO

cunning silo
#

Two Noses

#

You can amke 3OAK with two cards.

lean dune
gilded vortex
umbral citrus
#

the way I see code is basically:
Is it a flush 5? If not then
etc etc
if it's not a pair, then it has to be high card

lean dune
cunning silo
#

it checks for each hand, and stores a value saying if it "contains this hand" or not

gilded vortex
#

If you define that hand type

lean dune
#

it checks them all once, the actual hand type is then determined by the highest hand type that's been flagged

umbral citrus
#

Also I completly forogot what I wanted to test

round oar
#

and also full house containing two pair for some reason

gilded vortex
#

Castle
A 4OAK and a Pair

Pair of 3OAK
Two 3OAKs

Parallel
A Straight and a Pair

lean dune
umbral citrus
#

Wasn't there a mod that has a joker that lets you play 6 cards?

gilded vortex
#

Parallel is possible in the base game

#

It’s just not a hand

#

Maybe Straight and Pair should be perpendicular since that’s more unique than parallel lines

gilded vortex
grand geode
gilded vortex
#

By the way, do you know why Thunk changed their mind about Flush Five?

#

During the December test they didn’t want to add Flush Five

hardy brook
#

Gonna give you all a heads up, I won't be able to do anything modding coming soon for a week+

#

I'm finally gonna be able to relax

#

I'll still pop in and check on how everyone's doing and all that

#

Most of this week will still be normal

#

Thinking of just making a Generic Consumable type for people to either use as a template to make a new consumable or for people to add random consumables that don't fit the Planets, Spectrals, and Tarots

#

but not rn

wanton rapids
#

so oddities

hardy brook
#

Sure

hardy brook
#

🗿

short sandal
#

moar voucher

hardy brook
#

Yup, tier 3 versions of the originals

#

Final 4 to go

white scarab
#

Hype

hardy brook
#

These 4 are the ones I definitely will need help with. I want to try and avoid changing major code so that other mods work as intended is all

#

I'll have to find where the one old versions of the boss blind rerolls are

#

Because that one changes it from $10 to free

strange frigate
#

sup, my game crashes once i buy the joker that i coded in. can anyone help?

hardy brook
#

Found out someone's working on an API

gilded vortex
strange frigate
#

do u want me to send the log?

gilded vortex
#

And the collection?

hardy brook
#

oddities API

strange frigate
gilded vortex
gilded vortex
lusty lily
grand geode
hardy brook
#

Don't know if it's out yet

grand geode
#

what's the line with poker_hands

lusty lily
rustic charm
#

can you use steamodded and balamod at the same time?

strange frigate
gilded vortex
lusty lily
hardy brook
#

oh

gilded vortex
strange frigate
#

how would i add it

hardy brook
#

Okay so I don't know where the directors_cut/retcon code is

gilded vortex
# strange frigate alr ill try that

I don't know enough Lua but I think that should work. But in any case, I'd check the code for Runner or something like that to see if it has another check before

fallow bramble
#

Gm Lyman 👋

strong swift
#

hi lyman

rare shell
#

gm king

gilded vortex
hardy brook
#

Morning/afternoon/evening Lyman depending on time

grand geode
#

morning lyman

hardy brook
#

Definitely think I'm gonna have to get someone to assist me in coding the last 4 if i want to get this out before I leave for my vacation

#
  • Omniscience - Tarot and Spectral cards may appear in any pack
  • Exoplanets - At the start of the round, create a Negative Planet Card of the most played hand
  • Gaff Deck - Playing Cards appear 2x more frequently in the shop. Playing cards now cost $0.
  • Reboot - Boss Blind Rerolls cost $5.
rare shell
#

it is 10:54 am

hardy brook
#

oh so you have the same timezone as me

grand geode
strong swift
strange frigate
grand geode
#

the function to take away money is the former one

#

but the "$10" text is hardcoded in the latter

#

so have fun!!!

hardy brook
#

Oh

#

I think I can work around it

grand geode
#

i don't know if you can update the label for the uibox_button

gilded vortex
grand geode
#

even after doing nodes[1] purgatory

gilded vortex
#

Since it checks specifically for the first two Vouchers

grand geode
#

oh true actually

strange frigate
# strange frigate it works, but the game now crashes when the card gets triggered

here's the calculate funcion, might be useful idk

local function calculateOmni6(self, context)
    if context.poker_hands and next(context._poker_hands["Straight"]) then
        local has_a_six = false -- we declare a variable, starting as false
        for k, v in ipairs(context.full_hand) do -- for every card in your full hand
            if v:get_id() == 6 then -- check if the current card we're looking at is a 6
                has_a_six = true -- if it is, we set the variable to true!
            end
        end
        if not has_a_six then -- if its not true...
            return nil -- then we return nothing, this ends our function and ignores the rest of the code
        end
        ease_dollars(5) --other wise we give 5 dollars
        return { --and we return a message showing we got money
          message = localize('$')..self.ability.extra.penalty,
          colour = G.C.MONEY,
          delay = 0.45,
          card = self
        }
    end
end
grand geode
sleek granite
fallow bramble
#

No way you're back

grand geode
#

oh!!!

rare shell
#

chat is there a good way to do this just so i can load specific jonkers?

grand geode
#

welcome back autumn

hardy brook
#

I saw they were in the server earlier. I just didn't say anything

sleek granite
fallow bramble
#

the modsbyId of steamodded?

hardy brook
gilded vortex
rustic charm
#

can anyone give me the base version of the en_us.lua file in the localization directory of balatro

sleek granite
# sleek granite

this technically works i just need to figure out how to make oddities go to consumables from here

#

rn they just get used

gilded vortex
rustic charm
#

installed that one mod that changed each straight to gay but i didn't realize it wasn't updated for the latest update

gilded vortex
grand geode
#

does context.poker_hands["Straight"] return a table of the cards?

gilded vortex
#

But I wrote it this way because I think the order might be important

grand geode
#

if so i can replace my get_straight with that i think

gilded vortex
hardy brook
#

oh

cunning silo
hardy brook
#

No i meant i saw they were in the server like 10 minutes ago

gilded vortex
hardy brook
#

Okay so I'm looking here

#

where am i putting this?

sleek granite
#

itay i have a question

cunning silo
sleek granite
#

why not override use_and_sell_buttons for alch?

#

or w/e that func is called i stepped away for a sec

cunning silo
#

For alch?

sleek granite
#

codex

#

alch packs

#

you could make it so it doesnt even call use_consumeable

gilded vortex
grand geode
hardy brook
#

I copied the UI boss blind select from the UI function thing

sleek granite
#

that way you avoid having the alchemical card start to dematerialize

#

and can directly put it in G.consumeables

cunning silo
#

Huh

#

That’s interesting

rare shell
#

it begins today

cunning silo
#

I never considered that

umbral pilot
#

👀

#

autumn wtf happened to your color

cunning silo
umbral pilot
#

are you ok?

gilded vortex
#

That or do injection

wary moth
umbral pilot
#

that stinks

sleek granite
#

i could set it back ig

umbral pilot
#

I hear being pink is sorta lame nowadays

#

oh fuck nvm

#

pink is cool again

hardy brook
#

I may just release as a beta the ones I got done for now

cunning silo
#

I think the main reason that I didn’t use it was because I didn’t actually know that feature would be possible when making the packs XD

sleek granite
umbral pilot
#

if only we coule be crimson instead

gilded vortex
hardy brook
#

What?

hardy brook
sleek granite
#

since calling use_consumeable with a non-consumeable card has.... side effects

cunning silo
umbral pilot
sleek granite
#

i can send you Usable Jokers if it'd be helpful to see what i mean

#

or i could send you oddityapi once i get it set up in there

#

me and my penchant for not releasing apis until they're feature complete ^^"

gilded vortex
#

I'm interested in the Oddity API

sleek granite
#

im trying to finish it shhhh

stiff summit
#

"worst that she can say is no"
her:

cunning silo
#

Neurons activated

sleek granite
#

the fact that oddity api is like 40% itay's code.... SweatyToad

hardy brook
#

Preview is out

sleek granite
#

btw anyone know how the debugplus booster spawning works? allegedly it supports it but it doesnt seem to work

#

oh nvm it spawns it into shop

#

consumeables

cunning silo
astral glade
#

oddity api,,

sleek granite
#

its getting there

gilded vortex
hardy brook
#

You know what, I may rework some of them

#

What if instead of rerolls costing money... what if i just disabled the boss blind

#

I mean you CAN pay the $10 to reroll it still... but why?

wanton rapids
#

gun: defeat the current boss blind

gilded vortex
wanton rapids
#

also that pack looks so cool

hardy brook
sleek granite
#

lyman's art is so cool superplead

rare shell
#

ok im stupid

#

how do i check if a function is loaded

gilded vortex
wanton rapids
#

just do if thefunction

rare shell
#

oh

#

oh worm?

sleek granite
#

if SMODS.INIT.OddityAPI

hardy brook
rare shell
#

its just that shrimple????

sleek granite
#

yeah

#

if it's nil that'll be false, if there's anything in the variable it's true

#

functions are just variables

gilded vortex
#

You first posted just the UI

hardy brook
sleek granite
#

yeah

rare shell
#

so i can just declare a variable as like

grand geode
#

i used to be a sad SMODS.findModByIDer

sleek granite
#

you just need to know what the init func is called and hope the moddev never changes it

rare shell
#

foobar = if SMODS.INIT.dickandballs

grand geode
#

now i'm a proud SMODS.INIT.FusionJokerser

wanton rapids
sleek granite
wanton rapids
#

oh wait

hardy brook
#

oh shoot. I legit could just make secrets if you have other mods downloaded

rare shell
#

forgot to put the if

wanton rapids
#

you can do foobar = not not SMODS.INIT.randommod

grand geode
#

yaheehy

rare shell
#

thats so delightfully jank

strange frigate
#

i cannot figure out why the game crashes when the joker is triggered. pls help

sleek granite
#

i think you can do foobar == not (SMODS.INIT.Seahorse == nil) too

wanton rapids
#

yeah but not not is funnier

sleek granite
#

not not is funnier

grand geode
#

thunk uses not not

#

get real

rare shell
#

well i just want to have like a shorthand variable list at the top of code

hardy brook
#

if SMODS.INIT.VoucherV3{
Initialize new Tier 3 Vouchers for your mod
}

#

right?

sleek granite
grand geode
#

...odd

sleek granite
#

how do i un-set the oddity pack takeover...

gilded vortex
grand geode
#

ironically disabling the blind is easier than changing it from 10 to 5

wanton rapids
#

paint can art btw

grand geode
#

actually i liedish

astral glade
hardy brook
#

Okay so I think I'm getting this working

#

don't quote me

#

I'm doing the playing card one

#

Since Gaff decks are 2x more common now, I copied the factory abilities but for playing cards

#

That and I'm replicating the function for astronomer but on playing cards and if you have the Gaff Deck Voucher

#

is there a find_voucher like with find_joker?

grand geode
#

if G.GAME.used_vouchers.v_{voucher key} maybe

cunning silo
#

@sleek granite did you want an improved seal API?

rare shell
#

hey

#

myst

cunning silo
sleek granite
#

(even if not geared for joker stamps)

#

(just like in general thatd be really neat)

cunning silo
grand geode
rare shell
#

do i have your blessing to work with mystjokers when including it into jestobiology

grand geode
#

please do

sleek granite
#

(could you make it so i can specify the type of cards the seal is compatible with)

rare shell
#

🫡

#

noted

sleek granite
#

(so i dont have to do weird jank stuff)

rare shell
#

you will be added to the modcheck list

hardy brook
grand geode
#

although not the specific combo of Options + Credits

grand geode
hardy brook
#

oh

grand geode
rare shell
fallow bramble
#

Ooooh

hardy brook
fallow bramble
#

Damn crossover fusions, thats sick

rare shell
#

if you would like to be included i will gladly put you in the modcheck list

grand geode
#

yeah

sleek granite
#

lyman include me in the mod check list

wanton rapids
#

also this is probably implied from me asking for the pipe one but include morefluff

hardy brook
lean dune
#

:0

hardy brook
#

yo, what's up Aure?

rare shell
grand geode
#

just G.GAME.used_vouchers.v_gaff_deck, no need for > 0

sleek granite
# sleek granite heck

@cunning silo i can't determine how you avoid this happening with alchemy packs, any insight?

lean dune
#

the steamodded seal API is extremely basic at this point tbf

sleek granite
#

the name being wrong

cunning silo
grand geode
#

actually i think set is also wrong, no playing card

cunning silo
hardy brook
sleek granite
#

which i think means i need to un-set G.ARGS.is_oddity_pack somewhere

#

but i'm not quite sure where to do that

cunning silo
#

Huh, interesting

grand geode
sleek granite
#

yeah you'd check for self.ability.set == 'Default' or self.ability.set == 'Enhanced'

grand geode
#

thanks autumn

rare shell
#

me on my way to make a myst+morefluff joker that gives autumncircus stamps

sleek granite
#

WOOO

#

the threeway ||compatibility||

hardy brook
hardy brook
#

oh default or enhanced got it

grand geode
hardy brook
#
    if (self.ability.set == 'Default' or self.ability.set == 'Enhanced') and (G.GAME.used_vouchers.v_gaff_deck) then
        self.cost = 0
    end
    Card_set_cost_ref(self)
end```
sleek granite
sleek granite
#

(i have NO idea why that happens but hopefully fixing the oddity pack state fixes that)

#

still confused how alchemical packs don't seem to need to worry about this....

#

WAIT IM DUMB NVM
i forgor to change one of the vars to is_oddity_booster instead of is_alchemical_booster programming

#

okay whew all good now tamariPlush

#

oddities are now able to appear in the video game

rare shell
#

coming along

sleek granite
#

so this and non-consumable oddities are the only things left on the docket

#

oh and actually getting the full gamut of oddity packs :)

rare shell
#

today is going to be a productive day

grand geode
# rare shell

here's all the jonklers' shorthand btw, for keys add j_myst_ in front of them

local joker_list = {
    "miracle_milk",
    "lucky_seven",
    "polydactyly",
    "yield_flesh",
    "pebbler",
    "autism_creature",
    "jimpostor", -- Suspicious Joker
    "options",
    "credits",
    "pap",
    "r_key",
    "exploding_fruitcake",
    "bobm",
    "rdcards", -- Collectible Card
    "prowess",
}
gilded vortex
#

Do I need to specify a key_append if I'm creating a custom Joker? ```lua
function create_card(_type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)

grand geode
#

wait

rare shell
#

bobm fusion time

grand geode
#

WHAT THE FUCK IS JOKER_YURI

sleek granite
#

toxic joker yuri....

gilded vortex
grand geode
#

merry andy and who....

sleek granite
#

chat i already lost track of where i define booster packs

gilded vortex
#

I mean, I can see that Emperor and 8 Ball and etc. pass them to create_card, but I can't find where it keeps a list of keys

sleek granite
#

key_append is just used as part of the pseudoseed

gilded vortex
#

Ah I see now they might be used for Jokers but not for Consumeables

fallow bramble
sleek granite
#

(slash jay)

astral glade
#

microwave

sleek granite
#

newt

#

you can make a microwave

#

if you really want

wanton rapids
#

god this run was fun

sleek granite
#

guh oddityapi is almost 900 lines

wanton rapids
#

jokers btw

sleek granite
#

none of those jokers are in the bible

astral glade
#

that brainstorm goes crazy

wanton rapids
#

pretty good

#

all i need now is pixel joker

rare shell
sleek granite
#

oh god

#

joker yuri

#

you're fr about that

#

god now i need to listen to magnet THANKS

#

(/pos)

stone brook
#

clown fish

hardy brook
white scarab
sleek granite
#

heck it these are good enough for testing

boreal ibex
#

ooo

strong swift
sleek granite
#

didn't someone on tumblr draw you having a life

boreal ibex
#

people on tumblr have drawn like anything

strong swift
sleek granite
#

you're goddamn right

#

im sorry amemelt

jovial notch
strong swift
sleek granite
#

well that was notably unpainful

#

maybe i should let the oddity's creator specify whether it can be instantly used in a pack....

wanton rapids
#

i mean what's the difference

sleek granite
#

needing a consumable slot

gilded vortex
#

The Cow was pretty easy

sleek granite
#

for example, this doesn't really need to enter your consumable slots logically

gilded vortex
#

But really I'd like it to make Milk

strong swift
gilded vortex
astral glade
#

is this real?

sleek granite
#

Beta Art toggle tamariPlush

#

fourtune pack....

#

pog they work right too

#

mmmm visuals are a little janky but it's Fine

#

also cuz i havent properly shared Mr. Bones' Stamp banter:

wanton rapids
#

what's andy now?

sleek granite
#

+1 cons. slot

wanton rapids
#

alr

sleek granite
strong swift
wanton rapids
#

the pool, i'd assume

sleek granite
#

shoutouts to itay for both mr bones stamp and the idea for the new andy effect

astral glade
#

the pool

#

yeah

sleek granite
#

the pool

strong swift
#

ok i get the idea

stone brook
#

mr bones :3

wanton rapids
#

where's the glock that defeats the current blind

sleek granite
#

The Pool (odd numbered cards are drawn face down)

astral glade
#

the pool is avaliable to read in full in the read me

sleek granite
astral glade
sleek granite
#

gdi did you already do that

#

i was gonna do that as Babby's First Blind

#

(is fine tho)

astral glade
#

yeah

sleek granite
#

i should actually download and play your mod lol

#

UH OH

#

i broke alchemical packs SweatyToad

wanton rapids
#

awesome!

#

the way i fixed it is by changing SMODS.Booster to ModName.Booster

#

at least i think that'd fix your issue

sleek granite
#

nah

#

i didnt copy out the booster api stuff

#

doing all that raw

wanton rapids
#

damn

spring fiber
#

maybe the best balatro mod

sleek granite
#

true!

astral glade
#

finally it works

sleek granite
fickle elbow
sleek granite
fickle elbow
#

but to be fair, it's not finished.

strange frigate
astral glade
sleek granite
#

fair!

#

mr bones certified diet cola

#

god the Mr. Bones' Stamp badge is so long lmao

cunning silo
#

I think you can just include Bones' Stamp

fallow bramble
sleek granite
#

itayyyyyy idk how i broke your packs

cunning silo
sleek granite
#

WHAT

#

I START RECORDING AND NOW IT WORKS

#

WHAT THE FUCK

cunning silo
#

hahah

fickle elbow
#

your code is biased

wanton rapids
#

the recording software actually includes a secret function where it live patches balatro to make oddities work

cunning silo
#

biased? more like based

rare shell
#

i gotta make the other oddity packs

sleek granite
astral glade
#

THE MUSIC?

grand geode
#

music goes hard

fallow bramble
sleek granite
#

LISTEN

cunning silo
grand geode
#

what's the song

cunning silo
#

alchemy music

sleek granite
#

LYMAN MENTIONED MAGNET

grand geode
#

oh

sleek granite
#

MAGNET GOES ON

cunning silo
#

did you change my hook?

sleek granite
#

so i think

#

i think the game thinks it's in both an oddity pack and an alchemy pack

cunning silo
#

oh XD

#

that's fun

sleek granite
#

because it's giving the select button

#

"fun"

#

means i need to unset the oddity pack thing when i... close out of the pack, which im not sure where that happens

sleek granite
astral glade
#

chat if you got codex arcanum installed alchemical cards will spawn in fortune and bonus packs

#

isnt this so pog

sleek granite
#

what does the eucalyptus planet do

astral glade
#

increase gold cards held in hand money by 1

grand geode
#

Absolutely not

boreal ibex
#

uh oh

sleek granite
#

BanneD

heavy oasis
#

I mean like is it allowed to exist

sleek granite
#

discussion is illegal regardless

grand geode
#

can't control it outside the server, but it is disallowed here

lean dune
#

uh oh

sleek granite
#

debugplus my beloved

lean dune
#

I'd rather be safe and not discuss here

boreal ibex
grand geode
#

very uh oh indeed

uneven pivot
#

Quick question here, Does anyone use JellyMod and none of the sprites for the cards show up

lean dune
#

rule 1: jelly mod is broken

sleek granite
#

:l this is going to be an annoying bug to quash isnt it

uneven pivot
sleek granite
#

rule 2: oddity api coming winter 2027

#

i say as if im not working on it literally right now

lean dune
#

I mean I do wanna do some heavy revision to pretty much most of steamodded at this point

hardy brook
#

Okay now that i’m here proper

sleek granite
#

Real Extra Consumable API would be pretty based

lean dune
#

I'm just waiting to actually have time for it, can't do it in the middle of finals reasonably

hardy brook
#

What are some crazy mod combos

boreal ibex
grand geode
#

should i upload the rewritten version of mystjokers to my github without making a proper release

sleek granite
#

WEW fixed compat with alchemy packs

#

tamariPlush in chat

lean dune
#

which means I probably will, there's just also the thing that I screwed myself over breaking my keyboard and I'm building a new one first because yes

grand geode
grand geode
strange frigate
#

pls help my game crashes once my joker is triggered and i cannot for the life of me understand whats going on

lean dune
#

if I'm gonna do what I'm gonna do, that also means we don't need steamodded 0.10 but can go straight to 1.0 within reason

gilded vortex
#

Can someone help me? I'm trying to make it so Cows create Negative Consumeables if you have multiple Cows. That works, except they don't spawn if you don't have room. I'm not sure why:

    if self.ability.name == "Cow" then
        local n_cows = 0
        for i = 1, #G.jokers.cards do
            if G.jokers.cards[i].ability.name == "Cow" then n_cows = n_cows + 1 end
        end
        local available_slots = G.consumeables.config.card_limit - #G.consumeables.cards
        if n_cows >= 1 then available_slots = self.ability.extra.milk end
        for i = 1, math.min(self.ability.extra.milk, available_slots) do
            local consumeable_type = pseudorandom_element({'Tarot', 'Planet'}, pseudoseed('cow'))
            G.E_MANAGER:add_event(Event({trigger = 'after', delay = 0.4, func = function()
                if G.consumeables.config.card_limit > #G.consumeables.cards then
                    local card = create_card(consumeable_type, G.consumeables, nil, nil, nil, nil, nil, (consumeable_type == 'Tarot' and 'cow_tar') or (consumeable_type == 'Planet' and 'cow_pla'))
                    if n_cows >= 1 then card:set_edition({negative = true}, true) end
                    card:add_to_deck()
                    G.consumeables:emplace(card)
                end
                return true end }))
        end
    end```
fallow bramble
#

No need to check for available slots if you're sure they'll be negative

grand geode
#

okay

rare shell
lean dune
sleek granite
gilded vortex
fallow bramble
#

Oh

strange frigate
grand geode
#

did dev fix vanilla seals breaking the descriptions

sleek granite
#

0.9.8 has had no issues as far as i can tell in 1.0.1c

stone brook
sleek granite
#

(no new issues, anyway)

gilded vortex
lean dune
gilded vortex
#

Oh I'm illiterate

sleek granite
#

oh that issue

#

right

lean dune
#

that's fixed in dev, I dunno about seals

sleek granite
#

my joker stamps break tooltips too

fallow bramble
#

Maybe check how many cows there are first and then if you got multiple don't check for available slots

lean dune
#

but these are connected to one another, so dev might fix that as well

sleek granite
#

i can try to check with dev build? is there a known "safe" version of dev build

lean dune
#

latest commit on that branch should be "safe"

sleek granite
#

aight i'll give it a shot

stone brook
#

chatroom, the latest version of balatro beta branch is still 1.0.1c right

lean dune
#

yep

stone brook
#

also good morning

gilded vortex
fallow bramble
#

lol

stone brook
#

o7

gilded vortex
#

Anyways, do you know how to make a specific Joker always available to show up?

sleek granite
#

that's gonna be tricky

lean dune
#

In what sense of always?

stone brook
#

oh i know how

sleek granite
#

poggers

gilded vortex
stone brook
#

you modify find_joker

#

make find_joker return true if its asking to find showman

#

and also if it meets your condition

sleek granite
#

(this same Foil Mr. Bones with Mr. Bones' Stamp would only show the tooltip for Mr. Bones' Stamp in release 0.9.8 steamodded)

stone brook
#

here i just want duplicates to always spawn so i just only check if name == "Showman"

#

but you can just put an "and condition2" after that

lean dune
sleek granite
#

pogly

gilded vortex
#

I want a specific Joker to always be available

cunning silo
#

is there a debug option to put on seals?

lean dune
stone brook
#

oh wait i got that mixed up in my head

#

i thought you meant if you have a joker then it spawns duplicates oops

sleek granite
#

debugplus has seals

rare shell
#

my dumb ass

#

"i should go ask the creators of codex for their blessing on jestobiology"

stone brook
gilded vortex
lean dune
#

yeha that should do, that's actually what happens to jokers you hack in with debug

fickle elbow
lean dune
#

they never get added to used_jokers

sleek granite
#

(debuffed not overriding desc?)

gilded vortex
boreal ibex
sleek granite
#

that's because debug

gilded vortex
#

Okay but what does this mean lua elseif not (G.GAME.used_jokers[v.key] and not next(find_joker("Showman"))) and v.unlocked ~= false or v.rarity == 4) then

grand geode
sleek granite
#

oh pinned

#

that's what i forgot

gilded vortex
stone brook
#

1984

sleek granite
#

how did you debuff him tho

grand geode
#

perishable

sleek granite
#

oh that makes sense

#

i used crimson heart lol

gilded vortex
stone brook
grand geode
#

it's technically playable, but art is not finished

#

so not releasing rn

stone brook
#

it checks if you own that joker, if you do, check if you have showman. if either of those pass, then it checks if its unlocked and if its legendary

sleek granite
#

the yapping knife

stone brook
#

legendaries, locked jokers, jokers you own while not owning showman are not added to the pool

gilded vortex
stone brook
#

false

#

currently ERROR mult

grand geode
sleek granite
#

yeah it's not overriding the description

cunning silo
#

i dont wanna work on the seal api

#

i dont like seals

sleek granite
#

i'm not sure why

#

lmao

grand geode
sleek granite
#

seals are very cringe

gilded vortex
# stone brook false

Okay, the game crashed because I guess I tried to set the value in the wrong spot. Where should I set it?

granite silo
rare shell
#

jestobiology coming soon

sleek granite
#

astrojestology

stone brook
fickle elbow
#

jestology

gilded vortex
stone brook
#

yea i was thinking that shouldnt crash

sleek granite
#

should Oddity Packs be a part of Oddity API or should i leave that as an exercise to the reader

#

(i.e. put them in autumncircus)

cunning silo
#

i somehow made seals just not work in the new version of codex XD

solemn rover
gilded vortex
cunning silo
#

feder wtf are you doing

stone brook
#

i think its slug?

#

the one with j_ in it

#

i forget what thats called in steamodded

grand geode
grand geode
#

but i like calling them shorthands

stone brook
#

i just call 'em ids/keys

cunning silo
#

shit

#

i accidentally removed all of the code for Philosopher's stone

rare shell
#

man i should check if fusion jokers is loaded first huh

rare shell
#

hey feder do we have our blessing to use fusion jokers

rare shell
cunning silo
#

i do not support mod compat /j

dapper helm
cunning silo
#

I am jelly in disguise

rare shell
#

ok so like

stone brook
#

who was it that messed with dragging cards around

#

i need some insight on what the flip is happening here

rare shell
#

i just basically have to append FusionJokers.fusions:add_fusion("j_female_todd", nil, false, "j_female_steven", nil, false, "j_f_joker_yuri", 12) near the end of my init code?

dapper helm
#

lmfao

sleek granite
#

joker yuri....

cunning silo
#

lyman what are you doing

fallow bramble
#

Yaoi Jokers mod real

sleek granite
#

joker magnet.....

rare shell
#

jestobiology

cunning silo
#

the based mod

dapper helm
#

lyman is cooking

rare shell
#

do i have to do anything special with the rarity when declaring the joker

cunning silo
#

of all time

rare shell
#

or am i just basically just coding a regular joker

cunning silo
#

that's it

rare shell
#

roger

gilded vortex
cunning silo
stone brook
#

👍

rare shell
#

thus ends my intensive questions

dapper helm
rare shell
#

listen i gotta give feder some relief on the coding side

#

we gotta make ends meet or else they're closing our alchemy shop

cunning silo
#

okay rewrote philosopher's stone

rare shell
#

now we wont starve

cunning silo
#

hey i love coding

rare shell
#

itay when are we adding an EMC system to codex

sleek granite
#

how the hell would that even work

rare shell
#

destroy cards, get emc to ranks, pick cards based on emc

cunning silo
#

wtf is emc?

rare shell
#

emc from equivalent exchange the minecraft mod

cunning silo
#

hey i still wanna make a balatro gacha

#

I WANNA LOSE MY 50/50 TO A 4 OF SPADES

rare shell
#

spend $25 jollars for 5 SR pulls

dapper helm
cunning silo
#

the soul? more like: the based

sleek granite
#

but what if

#

gacha machine that dispenses oddities

rare shell
cunning silo
#

ssssssssssssssssss

#

ssssssssssss

sleek granite
#

(listen the only thing i think i still have to do is figure out how to put oddities in the shop)

sleek granite
#

(nonconsumable oddities can be later)

cunning silo
#

and it requires a really stupid hook that is not compatible with stuff

#

cause it's stupid

#

and dumb

fallow bramble
#

Btw Lyman how will you decide which modded Jokers will be fused?

rare shell
#

what do you mean

#

like how i determine the fusions?

fallow bramble
#

Yea

sleek granite
#

he is going to draw so much fanart of jokers kissing

dapper helm
#

maybe he already has

sleek granite
rare shell
#

i havent really determined it yet but mostly just what comes to mind, good suggestions, and consulting the mod devs themselves to make sure im not stepping on anything they might have planned

rare shell
#

hi

astral glade
#

HUH

cunning silo
#

next up

#

fusion between Myst and Jimbo

astral glade
#

the yuri is real

dapper helm
rare shell
#

im still thinkin about how you said their should be old man + self insert

#

that lives rent free in my head

dapper helm
#

lmao

rare shell
#

drawing myself as an old ass man

grand geode
cunning silo
#

XD

#

a rivalry begins..

grand geode
#

if you have it installed mystjokers will erase your save file

sleek granite
#

feder could i not simply hook create_card_for_shop

cunning silo
#

it's not fun

sleek granite
#

oh that looks way overcomplicated

astral glade
#

strange that this doesnt work for the autumn circus but worked for codex arcanum

strong swift
fickle elbow
#

its with a thorn i think

sleek granite
#

0.2.2 removed all thorns

fickle elbow
#

oh cool

astral glade
#

i got 0.2.2

gilded vortex
#

My Cow works. Maybe I'll add Milk to the game once there's a Consumeable API I can steal from use

sleek granite
#

you could try checking if TheAutumnCircus ~= nil

astral glade
#

unless for some reason the universe is in the used_jokers table for whatever reason

sleek granite
#

uhm it shouldn't be

astral glade
sleek granite
#

that being my global table i use to make a mess of everything

gilded vortex
#

Wait, was there an API hook for when a card was added?

#

Since I had already expanded add_to_deck I just added mine to it, but in hindsight I think there was already a hook IIRC

astral glade
#

unless im getting absurdly unlucky

#

then this aint working

sleek granite
#

dangm

astral glade
#

i also manually placed the universe in the pools, and it showed up just fine

sleek granite
#

huh...

#

idk maybe double check that you have 0.2.2 circus

#

just to be sure /shrug

astral glade
#

i do

sleek granite
#

thats wack

rare shell
#

starting the first fusion

#

and i think im off to the worst thing ive ever drawn already

fickle elbow
#

it be like that sometimes

dapper helm
#

what a great start

sleek granite
#

but im not sure why its not working At All

astral glade
#

if it didnt exist then i wouldve crashed when i manually put it in the pool

sleek granite
#

true

#

but i mean you can disable the universe tarot specifically and then it wont exist for your mod to use

#

you are doing this in your INIT function right?

#

otherwise it'll be down to load order

astral glade
#

whoopsies

sleek granite
#

sillymaxxinh

astral glade
lean dune
#

not that eternal + perishable wasn't cursed enough

sleek granite
#

right

lean dune
#

a lot of this will just be fixed by using lovely instead of an override function, that way there's no cases to be missed

#

I do however need multiline regex support first

gilded vortex
#

is there a way to (conditionally) increase the odds of a specific Joker showing up?

stone brook
#

why cant i hover while dragging

#

grrr

sleek granite
# astral glade yay!

i still want to voice concerns about config options but idk how you might be able to access my config since i have to load it in INIT and then it is once again up to load order

#

ig you could set your mod to positive load priority? maybe a wack solution but whatever works

gilded vortex
cunning silo
#

AAAAAAA a 3rd tab is complete!

sleek granite
#

oh THAT magnet

#

i thought lyman was just talking about joker yuri

grand geode
#

glass looks uhm

cunning silo
#

STOP

grand geode
#

quite peculiar

cunning silo
#

NO

dapper helm
#

magnet looks uhm

grand geode
#

looks really similar to brimstone from tboi

strong swift
cunning silo
stone brook
#

it looks like the fake glasses+nose+mustache disguise!

dapper helm
#

you're so right

grand geode
#

look i am trying so hard not to laugh and wake up my entire family

astral glade
sleek granite
astral glade
#

ohhh

#

yeah that works

#

whimsical

sleek granite
#

me when i disable just joker:

astral glade
#

THATS AN OPTION?

#

oh my hod

#

so much config

sleek granite
astral glade
#

sob

dapper helm
#

it should be the only one you can't disable

dapper helm
# sleek granite

how hard would it be to add a menu in the mods section that lets you toggle these ingame (requiring a restart to work)?

sleek granite
#

yes

#

maybe i can steal all of houserules' code at some point

#

it should be doable i just have no idea how to do it

dapper helm
#

does houserules even have anything in the "mods" button from main menu?

#

deck creator does

sleek granite
#

oh yeah deckcreator is probably more apt

stone brook
#

i think im just gonna go fusion jokers route and add a button to combine pets

sleek granite
#

wooooo

stone brook
#

instead of messing with hovering and dragging and stop hovering and stop dragging and

sleek granite
#

more fuckin buttons!!!!!!

dapper helm
#

buttonapi

sleek granite
#

need Sell + Use + Fuse + ???? all on the same joker....

rare shell
#

chat

#

behold

brittle gorge
#

so , how do i actually add effect to jokers?

dapper helm
brittle gorge
rare shell
#

jimbo failed to score enough points for verdant leaf making him tonights big loser

dapper helm
#

is this jimbo + impractical joker?

rare shell
#

to-do-list + impractical joker

#

(im lazy and i wanted to test out something relatively simple stuff )

dapper helm
#

based

fickle elbow
#

me when mods

sleek granite
#

Seals!

astral glade
#

⁉️

dapper helm
#

Seals!

astral glade
#

third column when

tiny violet
#

🦭 ❗

brittle gorge
#

SEALS!

rare shell
brittle gorge
#

neither of you have my jokers

rare shell
sleek granite
#

me when i image editor

brittle gorge
sleek granite
#

i think shop oddities may come after i become eep

#

gn chat

hardy brook
#

Did you put a planet card in a tarot pack?

fickle elbow
hardy brook
brittle gorge
#

can someone explain how effect on jokers work?

stone brook
#

explaining is really difficult

#

try inspecting other mods code

rare shell
#

me when no one realizes i just took snows image and edited a 4

stone brook
#

things that do things similar to what you want your joker to do

#

and figure out how they do things

brittle gorge
#

that's a good idea

#

does anybody know about someon who made a joker that adds seals?

rare shell
#

we're so barack...

sleek granite
#

me when i image editor

rare shell
#

i know you did

stone brook
#

like it applies seals to cards?

brittle gorge
#

add seals to cards

astral glade
#

with custom pools

brittle gorge
stone brook
#

try looking in the base game's code for j_certificate

#

since that essentially does that

brittle gorge
#

thanks

stone brook
#

like, take certificate's seal applying to new cards, and then look for something that modifies existing cards and combine 'em

#

yknow

rare shell
#

who permitted you to disintegrate here?

hardy brook
#

NOOOO

rare shell
#

now pay the $500 fine

fickle elbow
#

please disintegrate elsewhere.

hardy brook
#

you missed on your "Fine Wheel"

gilded vortex
brittle gorge
#

when they are played

gilded vortex
brittle gorge
#

point is i can't find neither of them in hte source code

astral glade
rare shell
#

i have skill points in gifomancy

gilded vortex
rare shell
#

also chat

brittle gorge
gilded vortex
#

Unzip the source code, open as a project, then search through everything

brittle gorge
#

yeah ik but i can't find the effects

gilded vortex
#

Just search the name of the things

#

For example, “Deja Vu” has 5 matches, 2 of which are in the localization files

astral glade
#

joker effects are in card.lua

gilded vortex
#

In card.lua, the mention of “Deja Vu” is close to a call of conv_card:set_seal, so I’d look at what that is

hardy brook
#

But i'm thinking making it similar to ghost deck where Spectrals appear in the shop and appear 2x as likely

gilded vortex
#

Do you know what function does the Shop uses to choose what it offers?

hardy brook
#

hope this works

astral glade
gilded vortex
#

I want to make a specific Joker more likely to show up

astral glade
#

something like that, it has create_card in it

#

i always see it when searching for it

hardy brook
#

well it crashes if you put the voucher initially in the thing so lemme try something

astral glade
#

DebugPlus lets you spawn vouchers while in the shop

hardy brook
#

I think i just typo'd somewhere is all

#

Ok no crash atm

#

now to get to a shop with cards

#

Why do you cost money

#

You're supposed to be free

lean dune
#

I think cards can't be free by default

#

it will override with $1 somewhere

gilded vortex
lean dune
#

I suggest you look at how stuff like coupon tag make things free

hardy brook
#

Coupon what?

lean dune
#

items in next shop are free

gilded vortex
hardy brook
#

oh right

tranquil roost
#

SylvDance 2.5 cards finished for my mod yippeee

hardy brook
# lean dune items in next shop are free
                G.GAME.shop_free = true
                self:yep('+', G.C.GREEN,function() 
                    if G.shop_jokers and G.shop_booster then 
                        for k, v in pairs(G.shop_jokers.cards) do
                            v.ability.couponed = true
                            v:set_cost()
                        end
                        for k, v in pairs(G.shop_booster.cards) do
                            v.ability.couponed = true
                            v:set_cost()
                        end
                    end
                    return true
                end)
                self.triggered = true
                return true
            end
astral glade
#

shouldnt be too hard

hardy brook
#

How do I convert that to this?

#

Screw it, I'm grabbing the beta code and turning the old voucher into a Tier 3

#

I'm nto gonna waste my time making Tarot and Spectral cards appear in any pack, but instead just give it at the start of round or something

gilded vortex
#

Something went wrong

#

I can move it around too

#

It was on top of the cow at first

astral glade
#

its so funny when that happens

gilded vortex
boreal ibex
#

the cow is all powerful

astral glade
#

but you do you

hardy brook
gilded vortex
#

Oh no they're still here

stone brook
#

the classic double create_card call

hardy brook
#

It's me TRYING NOT TO RIP MY HAIR OUT

astral glade
#

just hook onto the create card function and check if youre in a pack and then return a new card

hardy brook
#

what?

#

hook?

astral glade
#

reference thing

stone brook
#

🪝

#

like that

#

true !

astral glade
#

^

hardy brook
#

local Card_set_cost_ref = Card.set_cost
function Card:set_cost()
Card_set_cost_ref(self)

This thing in code?

astral glade
#

yes

stone brook
#

yea thats a hook

hardy brook
#

oh that's what it's called?

gilded vortex
#

Okay, this one was on top of Uranus, and there was nothing on top of the cow

hardy brook
#

So let's see... in the code I see this for colors but there's "state == G.STATES.TAROT_PACK"

stone brook
hardy brook
#

So if I can't get $0 for playing cards, what should I do?

lean dune
#

can't you set ability.couponed then call set_cost again when a playing card spawns in the shop?

hardy brook
#

uhhhhhhhhhhhhhh

#

I swear I'm getting dumber by the day

lean dune
#

that's what I asked you to look at coupon tag for lmao

hardy brook
#

I did and have no clue how it works!

lean dune
#

I assume set_cost checks for ability.couponed and sets cost to 0 if that's checked?

hardy brook
#

so what, this?

#

Okay... no crash yet

#

OH REAL FUNNY GAME

finite thunder
#

What do you take? (Used mod to put Canio in first shop, used coupon tag to get it for free by skipping small blind). I think I am just running high card tbh.

#

goal is just ante 8

hardy brook
#

where the mod

solemn rover
hardy brook
#

because none of them are playing cards and idk why for the playing card

lean dune
#

don't have it in front of me rn tho

hardy brook
#

You know what

#

I should just play with mods. take a break

fickle elbow
rigid jewel
#

You also don't need to card to be couponed, you can just set self.cost to 0

hardy brook
#

oh

hardy brook
#

Like that?

rigid jewel
#

Yeah

hardy brook
lean dune
#

self.cost =

hardy brook
#

oh .cost

#

okay so it hasn't crashed

#

good start

hardy brook
#

You are a life saver

#

You make me so happy lol

#

Now to find an enhanced card

rigid jewel
#

👍