#⚙・modding-general

1 messages · Page 47 of 1

toxic solar
#

holy i love that

foggy crag
#

Guys, do you think cooked with these or nay?

fathom pine
#

I think I broke my game ;-;

wanton rapids
#

tried my best to draw the laser

dapper helm
foggy crag
#

Happy to hear that!

dapper helm
#

also black seal sounds really fun

wanton rapids
#

hyperbeam now with the lowres text

foggy crag
round ore
wanton rapids
#

"selected" looks really cursed in this 3x3 "font" i've made for some reason

foggy crag
#

unfortunately

#

HOWEVER

#

If something like that would hypothetically be added, then everything that must be done is to change the text from "contains an X" to "scores an X"

wanton rapids
#

what's the highest handsize you can normally get?

#

theoretically infinite with anaglyph, right?

foggy crag
#

yeah

dapper helm
foggy crag
#

lol

fickle elbow
#

what should this do? Name is love is blind

wanton rapids
#

flush 780 with that one broken deck in sixtysuits

wanton rapids
dapper helm
#

highest realistic handsize imo is about 12-15

fickle elbow
#

how about 4?

wanton rapids
#

idk it's your mod

fickle elbow
#

does x4 seem balanced?

wanton rapids
#

probably

fickle elbow
#

i'll test it

lavish jackal
#

loc_def please work

#
    function SMODS.Jokers.j_note_desolation.locdef(card)
        return { card.ability.mult, card.ability.chips }
    end

this should work so i don't know why it isnt

wanton rapids
#

loc_def

#

not locdef

lavish jackal
#

thank you omg

#

i am blind

cunning silo
#

you know what would be an amazing tool?

#

a "save builder" tool that lets you created saved games with specific jokers already

lavish jackal
#

deck builder exists

cunning silo
#

oh no not a deck builder, but something for testing purposes

#

oh wait i can use the deck builder for that maybe XD

lavish jackal
#

i mean deck builder lets you add custom jokers and all

#

that's how I test Balatrostuck

wanton rapids
#

i have a challenge with lots of money and specific jokers that i forget to comment out most of the time

cunning silo
#

XD

lavish jackal
#

yippee

wanton rapids
#

so this triggers if you play pair twice in a round?

lavish jackal
#

this triggers as long as you keep playing pair

#

and doesn't reset on chain break

#

you just need to play another hand at least twice

fallow bramble
#

Curious about why this mod's name

lavish jackal
#

Homestuck

fallow bramble
#

oh

#

thought so

lavish jackal
#

we're having fun around here

wanton rapids
#

oh sucker is fun

#

and it's thematic with my lollipop joker!

lavish jackal
#

its in reference to this (Homestuck fans will know)

#

i might rework the pattern to the swirl at one point

#

on the sucker itself

fathom pine
#

local name="Round Up" local id="round_up" local loc_txt = { name = name, text = { "{C:blue}Chips{} always round up", "to nearest tens", "when calculating hands" } } local this_v = SMODS.Voucher:new( name, id, {}, {x=0,y=0}, loc_txt, 10, true, true, true ) SMODS.Sprite:new("v_"..id, SMODS.findModByID("BetmmaVouchers").path, "v_"..id..".png", 71, 95, "asset_atli"):register(); this_v:register() this_v.loc_def = function(self) return nil end

How to make this round down?

wanton rapids
#

use ``` for multiline codeblocks

fathom pine
#

I'm trying to understand mods

fathom pine
wanton rapids
#

also the wiki is now #40ish in the queue for being approved

lavish jackal
#

because it has no logic defined on top of it

fathom pine
#
    local id="round_up_plus"
    local loc_txt = {
        name = name,
        text = {
            "{C:red}Mult{} always round up",
            "to nearest tens",
            "when calculating hands"
        }
    }
    local this_v = SMODS.Voucher:new(
        name, id,
        {extra=5},
        {x=0,y=0}, loc_txt,
        10, true, true, true, {'v_round_up'}
    )
    SMODS.Sprite:new("v_"..id, SMODS.findModByID("BetmmaVouchers").path, "v_"..id..".png", 71, 95, "asset_atli"):register();
    this_v:register()
    this_v.loc_def = function(self)
        return {self.config.extra}
    end```

How about this one?
lavish jackal
#

nope still

fathom pine
#

Strange... Because ingame it works

lavish jackal
#

you want a redeem function

#
function SMODS.Vouchers.v_example.redeem(center_table)
    -- center_table has 2 fields: name (the center's name) and extra (the extra field of the voucher config)
    G.GAME.round_resets.discards = G.GAME.round_resets.discards + center_table.extra
    ease_discard(center_table.extra)
end

here's the example redeem function I pulled from Steamodded wiki on GH

#

if you define no redeem logic it doesn't actually have an effect

#

and to define redeem logic you have to have more or less decent undersanding of what goes in G.GAME

#

because you want to modify these values

fathom pine
#

Oh... Just found it... Its right below this code

#

Here

#
    function mod_chips(_chips)
        if G.GAME.used_vouchers.v_round_up then
          _chips = math.ceil(_chips/10)*10
        end
        return mod_chips_ref(_chips)
    end
    local mod_mult_ref=mod_mult
    function mod_mult(_mult)
        if G.GAME.used_vouchers.v_round_up_plus then
            _mult=math.ceil(_mult/10)*10
        end
        return mod_mult_ref(_mult)
    end```
lavish jackal
#

ok so literally if you want to round down instead of up

#

you want to change math.ceil() to math.floor()

#

that's it

#

ceil() rounds up

#

floor() rounds down

fathom pine
#

thx

lavish jackal
#

i think you should brush up on the math library first before asking questions here

#

lua has documentation you know

fathom pine
#

and if I want to round nearest 50s I change what 10?

lavish jackal
#

just read to understand what it does

#

don't be a help vampire

fathom pine
#

math.ceil (x)
Returns the smallest integral value larger than or equal to x.

#

Ok, still didn't understand what '10' I have to change to round up to nearest 50s... English isn't my primary language tho

#

Because in code there is:
math.ceil(_chips/10)*10

If my chips are 123 (example), the result of that math its still 123 because (123/10)*10

lavish jackal
#

no

#

read again

fathom pine
#

OH!!

#

It returns the integral right

#

RIGHT!?

#

So it would have to be (123/10)*50

#

;-;

lavish jackal
fathom pine
#

Ooohhh

#

Mindblowing

dusky reef
#

Has anybody ever used your own global variables in your/their mod?

coarse sorrel
#

Hey, just a question there is a texture mod - I must download assets folder but where does that go - still in mods folder?

dusky reef
#

I was wondering how can we force those variables to be saved

coral shale
#

or you have to create your own saves

dusky reef
#

Damn

white scarab
dusky reef
#

I think I previously tried to do something similar but it was not saved

white scarab
#

Someone used my code as a reference for part of their mod so global variable names were the same

dusky reef
cunning silo
#

Is someone already making a mod that just has references to other games?

dusky reef
cunning silo
#

yeah probably

white scarab
#

Also changed a string ID they reused lol

dusky reef
#

Well I meant saving the variables across game kind of

#

Because now when I reload the game it’s gone

white scarab
#

Oh

#

I have an options system but it’s not profile based

#

I just save it and load it from a file in my mod’s folder

dusky reef
#

I see

white scarab
#

And pretty much reuse the game’s logic for dumping and loading a Lua table

dusky reef
#

Which mod did you use this mechanic? Mind if I take a look?

dusky reef
#

🫡many thanks

sullen crater
shrewd crescent
#

does anyone know if theres like a save manager? found out that theres nothing saying that beta progress will carry over to main and im just wondering if theres a save manager i could use as a fallback kinda thing
theres also nothing saying beta progress wont carry over to main so hopefully i dont need to lol (sent this already in server-chat but i feel like it makes more sense here)

sullen crater
#

i also hate how extremely cool these cards are in both visuals and function

sullen crater
#

woah that's....wacky

#

and...strong

#

maybe not rare strong though

#

hmmm well actually no, it is nevermind

wanton rapids
#

could destroy cards below 7? or whatever number is best for theming

sullen crater
#

nice to buff straight decks

lavish jackal
sullen crater
#

i have a...strange card suggestion

lavish jackal
#

go on

#

also @wanton rapids could you check dm maybe

cunning silo
#

Ummm help

wanton rapids
#

anyways, idk, haven't done that

lavish jackal
#

well crap

sullen crater
# lavish jackal go on

Spectrum: If played hand contains a spade, club, diamond and heart in descending rank order, create a Spectral card

lavish jackal
#

i do need to figure out how to grab the chips value off of the cards though :p

lavish jackal
#

doesn't quite fit HS theming

sullen crater
#

it's mostly a sidegrade to Seance

#

meant to be a reference to the haemospectrum

lavish jackal
#

yeah but thats more like

#

all ranks combined

#

thats hemospectrum

#

thats why dark carnival

sullen crater
#

hmm fair

#

i guess you can't have it both ways lol

lavish jackal
#

i do plan having a Game Over joker btw

#

as in the super cool flash where nobody died and everything went awesome

sullen crater
#

also no idea on effect but you gotta have an unbreakable katana joker in there

lavish jackal
#

yes

#

also wanna see the designated Full House synergy joker

sullen crater
#

Genius

lavish jackal
#

Earth

sullen crater
#

hmmm how hard is it to mod this game

#

like what's the programming difficulty

lavish jackal
#

this shall be a reference to how the Earth got flooded by the Condesce

cunning silo
#

still broken XD

wanton rapids
#

what on earth are you trying to do?

cunning silo
#

copy a glass card when its discarded

wanton rapids
fickle elbow
#

what can you do to make a section of code constantly run, while you have a joker?

sullen crater
#

might try my hand at modding then

#

i have some fun ideas

cunning silo
#

that... half worked

#

i have no idea why they are added to the played hand but ok

fickle elbow
#

or how do you iterate the cards in your deck with a joker

fallow bramble
cunning silo
hardy brook
lavish jackal
#

no that's not what this is

#

im making a homestuck mod

fickle elbow
#

how do i flip specific cards in a deck with a joker

#

like the mark when flips all face cards and hides it from your view

hardy brook
#

Oh

hardy brook
dapper helm
mint stump
#

can I get someone's help?

dapper helm
dapper helm
mint stump
#

With access to the mods folder

dapper helm
#

do you have steamodded installed?

mint stump
#

yes

dapper helm
#

yw

mint stump
coarse sorrel
dapper helm
#

^^^

coarse sorrel
dapper helm
#

can hit win + r to pull up a search thing

#

and copy paste that

mint stump
#

Ok thanks

#

Appreciate that very much

fickle elbow
#

how do you get if you just drew a hand?

haughty hinge
#

i want my Balatro to dox my ip after i lose

wanton rapids
#

you could use a webhook

haughty hinge
#

im too dumb

#

lol

fickle elbow
#

i can't get this to work :/

grand geode
#

i don't think jokers can trigger from deck

fickle elbow
#

fun...

wanton rapids
#

anyways the wiki should be live on miraheze by tomorrow

fickle elbow
#

what does emplace do exactly?

white scarab
#

@shrewd crescent .jkr is an extension just used by localthunk, it just uses the game engine’s compression algorithm

shrewd crescent
#

lmao thats amazing

rare shell
simple venture
#

game keeps crashing because of this

#

sometimes it happens when i use a tarot card sometimes it happens when I open shop, but it only occurs when new cards are being shown like when i reach the shop

#

i have a good few mods btw if you need a mod list

round ore
simple venture
round ore
#

and its been shitty

#

mainly because i cant get the card to even work

dim marsh
#

is this where i do the modding

fickle elbow
simple venture
simple venture
round ore
fickle elbow
#

since im getting close ima post a commuinty vote for the next theme

simple venture
fickle elbow
round ore
simple venture
fickle elbow
simple venture
fickle elbow
#

when hovered over

round ore
simple venture
simple venture
fickle elbow
#

it has no art yet, someone working on it tho

round ore
simple venture
#

yh most of the art on ur mod is sick tho so far so im sure itll b class

simple venture
#

itll just help me try and figure out the problem

fickle elbow
#

i didn't do the art for these ones, and verdant shift

#

the rest i did

simple venture
#

yh its all sick

#

ritual sacrifice is rlly cool

fickle elbow
#

yea, CADIO made that one. he offered to do verdant shift as well, just waiting for him to finish to add it

simple venture
#

ohh ggs

#

cant wait for ur mod to b out

round ore
#

bunch of good mods coming out

fickle elbow
#

its my 2nd mod :]

round ore
#

im stuck on my first

#

i cant get the jokers to work

#

just crashes on sight

fickle elbow
#

thats fair

round ore
fickle elbow
#

one of my jokers works but not exactly how i wanted it to

#

but the html i did for the site worked :]

#

i used a template but added a few things

worn cradle
dapper helm
#

your game is so cursed

#

not even in a blind

worn cradle
#

just playing around

vocal rune
#

How did you achieve rounded edges on buttons (not jagged)? I'm looking in the code, but nothing found yet.

dapper helm
fickle elbow
#

speaking of which how do i turn a local website file into a public website?

worn cradle
#

@vocal runeI guess ui.lua, function at line 853

fallow bramble
#

Mfw I write my mod's README for the past 20 minutes and the page resets despite cancelling the reload...

astral glade
#

chat whats yalls favorite ace card

#

visually

fickle elbow
#

ace of ink

slender forge
#

probably not the right place to ask but i figure you guys probably know the game best

#

is it possible to find the background animation anywhere in the games files?

#

I kind of want to set it as my desktop wallpaper

coral shale
slender forge
#

because linux, if its a shader internally I can probably set it too

lean dune
#

yeah it's a shader

raven rover
#

there should be an auctioneer joker card that gives you $1 on high numbers and -$1 on low numbers

doesnt have to be money but seems fitting

lean dune
#

you can extract the game with 7-zip, you should find it in there under resources/shaders/background.fs

cinder sage
lean dune
#

just find the game executable (not exactly sure where it is on linux, but someone else probably does), then you can literally just unzip it

lean dune
#

yeah

slender forge
#

interesting

foggy crag
fickle elbow
cinder sage
#

do you have a github account?

fickle elbow
#

yep

cinder sage
lean dune
#

but to you, but it does mean these mods will always be incompatible

cursive compass
#

is there anything specific you need to do when it comes to adding support for other mods in a texture pack

fickle elbow
cinder sage
#

use the project site+from scratch

#

and use your files

foggy crag
#

I'm not dead set on that

lean dune
#

for a lot of cases, it's better to define your own spritesheet

cinder sage
#

is there any way to load mods in a specific order?

cursive compass
#

oh do mods that add jokers actually add then to the joker spritesheet??

strong swift
#

because it rhymes

cinder sage
#

i think there's lovely based ones that modify the base game sprites

lean dune
fickle elbow
#

i believed they load alphabetically

lean dune
#

you can modify the base game sprites, but it will cause compat issues with other mods that do this

cursive compass
#

hmm

lean dune
#

negative priority loads first

cursive compass
#

it might be good if there was a list of those mods just for people who wish to make their own texture packs

#

since mine will probably change literally every basegame texture

fickle elbow
cursive compass
#

at least the ones that are stored in image files

lean dune
#

most joker mods do just add jokers and not modify existing ones

foggy crag
#

Haven't seen those for sure

cursive compass
#

i'll probably just have to specify that the pack could be incompatible with other mods that modify basegame things

lean dune
#

other than black and green, all I've seen is silver

lean dune
cursive compass
#

i mean there could be smth that changes a texture without being packaged as a texture pack

#

like a joker rebalance or something that changes the texture to match its new effect idk

#

or the lovely mods that were mentioned before

round ore
#

so does anyone here know how to mess with the stuff outside of blinds?

lean dune
#

specifically I added API functions in steamodded 0.9.8 that lets you have vanilla objects act as and be injected like modded ones

cursive compass
#

i guess thats not my problem to worry about then since if someone avoids that then its their compat issue

round ore
lean dune
#

that could mean anything

astral glade
#

20% discount on all cards in the shop

#

/anything that takes money

#

i believe

round ore
#

yea

lean dune
#

there's G.GAME.discount_percent, but the discount vouchers will overwrite that value

round ore
#

i mean like for an example you lose $20 instead you lose $16 dollars with the joker

lean dune
#

yeah that will only affect stuff you buy from the shop

#

like for example, you don't lose less money off rental jokers

#

you could implement that if you want, you might have to go through every case where you might lose or spend money though

foggy crag
#

how can I scroll to the first message of the thread?

round ore
lean dune
lean dune
round ore
lean dune
#

i guess you'd need to check the value is negative, and round the result of your operation down

fickle elbow
worn cradle
#

well

supple junco
#

windows defender has flagged steamodded sigh

astral glade
fickle elbow
worn cradle
#

not sure what I fucked up in the process

#

but its there and its pretty close

ebon flame
#

3D backgrounds?

worn cradle
#

shaders

ebon flame
#

cool

worn cradle
#

its just problem that I want to replace shader without fucking up and changing whole program

#

but it keeps bitching about unused params for original shader

dapper helm
# worn cradle I really tried

honestly i respect this a lot since it seems entirely different from anything anyone else is doing but at the same time wtffff 💀

rare shell
#

what the hell

worn cradle
#

I already found it being ported to love2d

dapper helm
#

everytime you send a video it gets further and further from being recognizable as balatro

worn cradle
dapper helm
#

you're totally right but its just so funny to see

fallow bramble
#

I can rest now

umbral pilot
#

absolutely not

fallow bramble
#

(until something breaks)

crisp stump
#

is it possible to make our own decks

#

like if i wanted to combine two existing decks into one and change the numbers a bit

exotic shadow
dusky reef
#

oh btw i remembered someone has been working on more enhancements? has that been released?

dapper helm
#

not yet i think

#

this one right?

dusky reef
#

just want to see if we have some sort of standard

fickle elbow
#

is there an easy way to find my github folder

dusky reef
#

for us or for you

fickle elbow
#

for me

dusky reef
#

you can pin it to your github account

#

so it always shows up on top of your account

fickle elbow
#

i mean the folder where the data is stored

#

the project on my pc

dusky reef
#

you can pin that folder to your explorer i think

#

quick access, i think

#

^for windows

fickle elbow
#

but i don't know how to get there

#

to the folder

dusky reef
#

do you remember its name at all? LOL

#

if not, you can also search for .git folder

rare shell
fallow bramble
#

the goons

pale anvil
#

can someone help me with some code?

rigid jewel
rare shell
#

its unfortunately a homestuck reference

#

(or problem sleuth if youre a patrician)

rigid jewel
#

sad

rare shell
#

respect for thinking it was beholder tho

astral glade
dapper helm
#

chat is this real?

astral glade
#

is it?!?!

dapper helm
#

i don't know whats real anymore chat 😔

astral glade
#

well thats not right

granite silo
#

imagine the design space

foggy crag
#

i could only imagine

fickle elbow
#

which means i start the chosen theme this weekend

pulsar parcel
tardy sierra
dusky reef
#

thx

astral glade
#

jellymod breaks so much

#

specifically other mods

#

due to how it overrides a lot of things

tardy sierra
#

I have it pretty much solo (except for a mod to re-enable achievements), and it works perfectly fine.

astral glade
#

yeah its fine if its solo but it is not compatible with other mods

jovial vault
#

does cosmic - Virgo stack if you have two or is it still capped at 70%

strong swift
astral glade
#

yeah i already fixed it

#

chat what do i choose!!! chat chat chat :(

jovial vault
#

id take left and middle

astral glade
#

anyways i made two new vouchers this is so awesome

jovial vault
#

Poggers vouchers

sleek granite
#

a hat in time...

alpine cosmos
#

genuinely interested on how this code works

astral glade
#

for always seals?

alpine cosmos
#

yeahh

astral glade
#

i gotchu

alpine cosmos
#

or just like, guaranteeing an enhancement/edition/seal

#

ive been looking to do the sameish effect for buffoon packs but i cannot figure it out lmao

lavish jackal
#

btw I'm making Zodiac cards and I wanna know your opinion on sth

#
  • Taurus: All 2s give $1 more
  • Gemini: Retriggers all 3s 1 more time
  • Cancer: All 4s gain +0.25 more Mult per card amount played
  • Leo: All 5s gain 5 Chips
  • Virgo: TBA
  • Libra: All 7s gain X0.1 more (base X1)
  • Scorpio: All 8s double probability
  • Saggitarius: All 9s gain 10 Chips
  • Capricorn: TBA

How are these effects

alpine cosmos
#

ooooooooooh

jovial vault
#

I like them!!

alpine cosmos
#

wait is this a reference to something i feel like this is a reference to something

lavish jackal
#

homestuck

alpine cosmos
#

anyways these seem pretty good though what exactly does "give 1 dollar more" mean for taurus

alpine cosmos
sleek granite
#

are these jokers or consumables

lavish jackal
#

consumables

alpine cosmos
#

ew /lh

astral glade
# alpine cosmos genuinely interested on how this code works
local create_card_def = create_card
function create_card(self, _type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)
local card = create_card_def(self, _type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)
local seal_type = pseudorandom('seal_deal')
if seal_type > 0.75 then card:set_seal('Red')
elseif seal_type > 0.5 then card:set_seal('Blue')
elseif seal_type > 0.25 then card:set_seal('Gold')
else card:set_seal('Purple')
return card
end
#

slightly changed

lavish jackal
#

also Libra gives +X0.1 because it's a reference both to Homestuck and Balatro - in Homestuck Libra is associated with Justice, and the Justice card makes glass cards, so Libra gives X Mult

astral glade
#

i also check

if G.STATE == G.STATES.STANDARD_PACK and not G.ARGS.is_alchemical_booster then
lavish jackal
#

It's basically a levelling system for ranks

astral glade
#

but yeah its surprisingly simple!

lavish jackal
#

but each rank becomes stronger in a different way

sleek granite
#

i think the main issue is the player being able to track the usage of the zodiac cards

alpine cosmos
#

smart!

astral glade
#

ty!

sleek granite
#

good luck :)

lavish jackal
#

but yeah, I think rank-based effects are cool

astral glade
#

its very interesting

wheat mantle
#

how do I get crashlogs? it crashes without showing the lua crash screen and I want to know which mod caused it

shy pivot
#

oh nice, that seal code is exactly the stuff i've been looking to tinker around with

astral glade
#

sweet

#

feel free to use it i dont mind

#

oh the only thing that might need changing to make the set seal silent

#

otherwise you might get duplicate sounds + shaking

shy pivot
#

kind of you!

civic grail
# astral glade

may i suggest a fourth wall break and add stamps to the entire voucher?

astral glade
#

BET

civic grail
astral glade
#

yeah ill def do that

#

omg

civic grail
#

🔥🔥🔥🔥

sleek granite
#

me when i tear a seal in half when i redeem the voucher

civic grail
#

isnt it hard to tear a seal? they have lots of blubber

sleek granite
#

too bad we cant do like tier 3 vouchers

astral glade
#

we cant?

#

cant we just make them require the previous two?

civic grail
#

it doesnt seem unfeasible to code in

#

unless im missing something

alpine cosmos
#

where did you find the code for card_create?

#

like which lua file is it-

astral glade
#

common_events

sleek granite
#

the issue is they wont look right

alpine cosmos
#

oh radical

#

thanks again!

astral glade
#

mhm np

sleek granite
#

collection and run info wont show em correctly

astral glade
#

ah thats true

cinder sage
#

i genuinely have no idea why i'm still doing this

sleek granite
#

beangift....

astral glade
#

get beaned idiot

jovial vault
#

im so sad

#

I want brainstorm so bad but I need to get Jimbo

sleek granite
#

jumbo....

cinder sage
#

hope for a negative jimbo piece

#

problem solved !

jovial vault
#

didnt happen

#

:/

#

its okay tho

sleek granite
#

abandon the jimboxodia its not even that good

jovial vault
#

I got combat & secert agent

#

(soilder i mean by combat)

sleek granite
#

soilder

astral glade
#

tf2?

sleek granite
#

SoilDer

jovial vault
#

YO

#

Double secert agent

sleek granite
#

no secerts...

dapper helm
civic grail
alpine cosmos
#
    local create_cardref = create_card
    function create_card(self, _type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)
        local card = create_cardref(self, _type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)
        local edition_type = pseudorandom('super_retro')
        if _type == 'joker' and G.STATE == G.STATES.BUFFOON_PACK and self.ability.name == 'Retro Joker' then
            if G.GAME.modifiers.all_eternal then
                card:set_eternal(true)
            end
            if edition_type > 0.97 then card:set_edition({negative = true}, true)
            elseif edition_type > 0.65 then card:set_edition({polychrome = true}, true)
            elseif edition_type > 0.33 then card:set_edition({foil = true}, true)
            else card:set_edition({holographic = true}, true)
            end
            check_for_unlock({type = 'have_edition'})
        end
        return card
    end
alpine cosmos
#

this looks absolutely fantastic omg

lavish jackal
#

does anyone have any idea how to add a new consumable type into the game? :p

astral glade
#

take a look through codex arcanum

#

its does that AND more

astral glade
alpine cosmos
#

sdjh fair enough

wheat mantle
#

Uhh, does anyone know which mod would cause an immediate game over after sleecting a blind after using continue?

astral glade
alpine cosmos
#

oh

astral glade
#

self doesnt really do anything here

#

card.ability?

alpine cosmos
#

you know that kind of makes sense

#

but im actually not sure what to do in that case jsdhsd

astral glade
alpine cosmos
#

sdjh okok ill try that thank you very much

wheat mantle
astral glade
#

JellyMod?

wheat mantle
#

nope, still does it

#

im gonna have to remove mods one by one until it works to figure it out, arent I

sleek granite
alpine cosmos
#

its supposed to be that retro joker makes other jokers always have an edition

astral glade
#

OH

sleek granite
#

you want to iterate thru G.jokers then

alpine cosmos
#

JSDH wait i guess i didnt make that clear then

alpine cosmos
astral glade
#

thats just gonna make retro joker always be editioned rn

sleek granite
#

check all of G.jokers.cards for retro joker

#

you may also want to skip the check if the created card already happens to have an edition

alpine cosmos
#

ahh fair

sleek granite
#

(otherwise itll play the "Has Edition!" sound effect twice)

astral glade
#

(its really annoying)

alpine cosmos
#

okok fair enough ill try that then!

sleek granite
#

(damn right i am)

sleek granite
#

🗣️🗣️🗣️🗣️

alpine cosmos
#

something like this?

sleek granite
#

i dont know if you can ipairs G.jokers.cards because of dumb table stuff

alpine cosmos
#

oh

#

hm

sleek granite
#

you also don't put self in create_card

#

its not an instance function

terse gulch
#

how does one mod?

astral glade
#

oh it isnt?

#

im silly maxxing again

alpine cosmos
#

oh jsdhsjdh well then

lavish jackal
sleek granite
#

instance functions are Card:draw with the colon

#

all that does is put "self" as the first arg, technically

#

(with "self" being the object the function is being called on)

astral glade
#

interesting

round ore
sleek granite
#

pog

astral glade
#

myst jumpscare

sleek granite
#

yeah actually its early for you myst isnt it

grand geode
#

8:21am

#

i just woke up

alpine cosmos
#

thats not too early

sleek granite
alpine cosmos
#

good morning

grand geode
#

WHAT THE FUCK DO YOU MEAN BY EUROPEAN

terse gulch
#

does anyone have a link to a video explaining how to mod on balatro?

sleek granite
#

idk i didnt check timezones lol

alpine cosmos
grand geode
#

I AM NOWHERE CLOSE

alpine cosmos
#

this is more like

#

asia regions

sleek granite
#

ohhhh

#

sorry im just waking up

#

(9:22pm gang)

alpine cosmos
#

damn

#

you are on the exact opposite side of the world of me

astral glade
#

EST GANG!!!

sleek granite
#

est gang

strong swift
#

its 7:23 pm. all of you are wrong

grand geode
#

anyways power outage today no modding for me bwomp

alpine cosmos
#

actually you're all wrong time is an illusion

#

oof

strong swift
#

yikes

sleek granite
#

everyone send myst your energy

#

(i got that negative energy)

strong swift
grand geode
#

send me your joker slots

strong swift
#

get faster

alpine cosmos
sleek granite
#

hourglass dog!!!!

strong swift
alpine cosmos
#

i send to thee hourglass dog

strong swift
#

do not eat silverware

alpine cosmos
#

do not listen to this liar

sleek granite
#

i have an hourglass dog plushie

alpine cosmos
#

silverware is delicious

alpine cosmos
sleek granite
#

i also have an ena plushie

alpine cosmos
#

amazing

astral glade
#

awesome

grand geode
#

incredible

sleek granite
#

yea i have too many plushies i should get more

alpine cosmos
#

real!!

#

there is no such thing

#

as too many plushies

strong swift
#

actually what is ena though

sleek granite
#

i say as im laying down next to tamariPlush GITDtamariPlush GITDtamariPlush GITDtamariPlush GITDtamariPlush GITDtamariPlush GITDtamariPlush mariyamPlush mariyamPlush mariyamPlush mariyamPlush mariyamPlush mariyamPlush mariyamPlush

alpine cosmos
#

best described as like "weird core"

cinder sage
#

ena mention ?

sleek granite
#

vaporwave but less coherent

cinder sage
#

praying for dream bbq to come out this year

alpine cosmos
#

you know the feeling of really old computers mixed with kind of muddled memories of stuff

#

like a game you vaguely remember playing a long time ago by some probably now defunct company

#

ena is that but video

cinder sage
sleek granite
#

that sounds right

alpine cosmos
sleek granite
#

theres only like 4 vids

alpine cosmos
#

the code,,, doesnt do anything 😭

#

wait

#

Actually nevermind im an idiot

#

I dont have the joker

sleek granite
#

type will be Joker not joker

alpine cosmos
#

oh

#

raaaah why does lua have to be so confusing

sleek granite
#

thats not a lua thing

alpine cosmos
#

okay fair

#

why does balatro have to be so confusing

sleek granite
#

because solo dev

alpine cosmos
#

Fair Point

astral glade
#

balatro gui :

alpine cosmos
#

anyways still nothing,,,

sleek granite
#

nobody to tell him "wait this could be so much simpler"

alpine cosmos
#

hmm

sleek granite
#

its not why its not working, but you might want to only poll pseudorandom if the player has that joker

alpine cosmos
#

fair point

sleek granite
#

(also you could have the code break when it finds retro joker, so it doesnt have to keep going)

grand geode
#

are you spawning the test jokers in from debug

#

or from shop

alpine cosmos
#

opening buffoon packs specifically in shop

grand geode
#

hm

alpine cosmos
# alpine cosmos :(

hmmm
maybe it has something to do with the fact that the card generating code happens after this(???)

sleek granite
#

wait do packs use different code

grand geode
#

buffoon should also use create_card

sleek granite
#

i seem to recall a create catd for pack function

alpine cosmos
#

yeah buffoon also uses create_card

sleek granite
#

i should get up and on my pc at some point tonight

alpine cosmos
#

fair

sleek granite
#

(which is the same as Card.set_eternal(card, true))

astral glade
#

too many seals

grand geode
#

i love how you just copied the seal over and over

alpine cosmos
#

sjdh completely unrelated
is there a context for detecting when a joker is destroyed?

astral glade
#

well it was originally just on the card in the middle but Grassy suggested it be everywhere and thats 10x funnier

alpine cosmos
sleek granite
#

😱 theres a bug in moreconsumables

#

(holding a meteor or comet while not owning observatory makes them nope every played hand)

#

this code sets all jokers to negative

alpine cosmos
#

oh no

sleek granite
#

so either the cards are created before the state is technically considered a buffoon pack, or your check for retro joker isnt working

#

oh ok i just crashed for some reason

alpine cosmos
#

h u h

sleek granite
#

skipped a buffoon pack, game skipped me

alpine cosmos
#

following the code for pack opening it seems like it would register beforehand

#

so its probably just the code for the check

sleek granite
#

idk im not a scientist

alpine cosmos
#

hi not a scientist

sleek granite
grand geode
#

unlocked is false but discovered is true ig

#

iunno

sleek granite
grand geode
#

i am living on 15% battery im going to die </3

sleek granite
#

im too

astral glade
sleek granite
#

yeah but why isnt it the Locked Card sprite

grand geode
#

yeah but that is clearly not a lock

alpine cosmos
#

we'll remember you

sleek granite
#

who's this myst person

alpine cosmos
#

idk

astral glade
#

mysticat famous minecraft youtuber?

sleek granite
#

oh fuck hovering tarot cards crashes me rn

#

hovering modded* tarot cards

#

wait actually what the hell happened here

alpine cosmos
#

okay so im testing a few things and like

#

this code increases edition chances a lot

#

sometimes

sleek granite
#

who broke tarot cards.....

astral glade
#

whoops i forgot the paw

alpine cosmos
#

WAIT THATS SUPPOSED TO BE A PAW??

astral glade
#

YES???

alpine cosmos
#

i always thought it as like

sleek granite
#

local luna just discovered furries

grand geode
#

holographic is holo i think

jovial vault
#

silly question

alpine cosmos
#

weird arms or something

grand geode
astral glade
#

yeah its holo not holographic

jovial vault
#

can someone make a quick mod that just makes it so a deck can have 99 jokers

alpine cosmos
jovial vault
#

I want to screw around XD

alpine cosmos
#

h m

sleek granite
#

deck creator:

jovial vault
#

ah thx thx

alpine cosmos
#

is

#

is that what i did wrong this whole time

astral glade
#

LOL

#

happy coding!

grand geode
#

. maybe

sleek granite
#

neat

#

is a mod by vazkii

alpine cosmos
#

vazkii

#

is a mod by neat

sleek granite
#

true

alpine cosmos
#

that we know to be true

#

the real question

#

is if botania is a tech mod or a magic mod

grand geode
#

magic mod

sleek granite
#

botania is a mod by vazkii

alpine cosmos
sleek granite
#

god i hope i didnt break tarot

jovial vault
#

how do you make a deck with it?

sleek granite
#

planets are fine and spectrals are fine its just tarot

alpine cosmos
#

h m

sleek granite
#

thank jimbo oddities are fine

jovial vault
#

Dysnomia how do you actually go about making the deck?

alpine cosmos
sleek granite
#

thats not my name

#

(/j)

alpine cosmos
#

just

sleek granite
#

uhhh idk ive never actually used deck creator lol

jovial vault
#

oop

alpine cosmos
#

not the whole retro joker check

jovial vault
#

found it lol

#

I ahd to actually click the mod itself

#

im dumb

sleek granite
#

wait you can add stuff to that menu/

grand geode
#

idk

sleek granite
#

best ive got is comedy

grand geode
#

honestly i'm just waiting for actual settings support

sleek granite
#

if r2modman ever actually happens....

#

we can do configs thru that.....

astral glade
#

hell yeah

sleek granite
#

ingame settings would still be cool

astral glade
#

this mod is so much cooler than like 3 months ago

sleek granite
#

newt you literally could just give yourself joker slots im like 90% certain

astral glade
#

or whenever i last played it

sleek granite
#

and cut your deck in half in half in half in half in half in half

astral glade
dapper helm
astral glade
#

^^^^^^^^^^^6

sleek granite
#

house rule to automatically use offering every blind

astral glade
#

now ive banned your spectrals >:(

sleek granite
#

me, forgetting release MoreConsumables only has three spectrals:

astral glade
#

WH

#

THErtRE ARE MORE COMING>

sleek granite
#

yeah i showed phantom earlier

astral glade
#

pogchamp

sleek granite
alpine cosmos
#

i may be an idiot

sleek granite
#

are you jimbomaxxing

astral glade
#

what the fuck

sleek granite
#

-2 red seal repetitions

#

the card doesnt even trigger

alpine cosmos
astral glade
#

21 pages of static modifiers

dapper helm
#

yeah deck creator has some strange options

alpine cosmos
#

ugh

dapper helm
#

funnily enough it doesn't have something i was looking for lmao

sleek granite
dapper helm
#

so real +2

grand geode
#

so fake -2

sleek granite
#

wew i didnt break tarot

#

now to find out who did

grand geode
#

sorry i eated your tarots

alpine cosmos
#

you neednt apologize for your hunger

sleek granite
#

also that house rules jank i found earlier may have been my own fault

#

it works now???

grand geode
#

amazing

#

love the jank

astral glade
#

its beautiful

sleek granite
#

oh that was easy

#

apparently it's Ink and Color

#

what the heck

#

why does Ink and Color have the entire Tarot and Blind APIs copied into itself

astral glade
#

LOL WHAT

alpine cosmos
#

??

sleek granite
#

im not kidding

alpine cosmos
#

h u h

#

maybe its left over from before the consumable api was established??

rigid jewel
#

Probably

sleek granite
#

that version of the tarot function doesnt let you set an atlas, which explains the sprites failing to load

granite silo
astral glade
#

Deck Creator

sleek granite
#

im glad you asked random chat member

granite silo
#

neato

astral glade
sleek granite
#

you're all random

astral glade
#

hes chill

sleek granite
#

i have memory loss

granite silo
#

Ive been in this server since the dawn of time

sleek granite
#

i have the oldest xbox known to man

grand geode
sleek granite
#

good morning lysir

dapper helm
pale pivot
#

Any word on R2 Mod Manager support? Feel like I haven’t heard about it in weeks 😅

sleek granite
#

its never happening

white scarab
#

It’s already there, just needs to be released

sleek granite
#

despair

grand geode
#

it's yeah

sleek granite
#

yeah but no point using it if nobody can use it

white scarab
#

There’s a r2mm build that someone dropped that I’ve been using

sleek granite
#

yeah but no point releasing mods to thunderstore if nobody can use them

no point using r2modman if nobody's releasing mods to thunderstore

grand geode
#

i still don't think i'll release my mods to Risk of Rain 2 Mod Manager unless i really have to

alpine cosmos
#

yeahhh

astral glade
#

ill only do it if i feel as though my mod is completed.,,,,,

#

i honestly dont care about people playing it as long as i feel happy making it

alpine cosmos
#

r2mm is fine but like personally i feel like it loses some of the charm or whatever

grand geode
#

i'm already proud of my mods but damn i do want people to play them

rare shell
#

i dont want to have to keep explaing how to install steamodded to ppl so id rather have it accessible with thunderstore but thats just my philosphy

alpine cosmos
#

fair point

rare shell
#

the amount of comments ive seen on the codex arcanum streams a lot of them were talkin about how hard it is to install stuff

grand geode
#

smh lazy devs just make an exe to install it automatically 🙄

cinder sage
#

do you think workshop support could ever happen? (i mean thunk would have to do it but)

rare shell
#

it could happen

#

happened with slay the spire

grand geode
#

give thunk a few years

astral glade
#

or someone can pay like 100 dollars like with terrraria

rare shell
#

i was a lyboy once a long time ago, i can understand the struggle and confusion of seeing cool things but not being able to properly install them

grand geode
#

someone on balamod did pay 100 buckaroos

rare shell
#

i still need to sit down and see about rewriting the lovely installation method on the wiki

#

ive paid $500 for a sts mod comssion before

#

(and then never released it despair )

grand geode
#

wowie

#

you should pay me $500 instead

rare shell
#

person was a good friend of mine and in a tough spot so i figured it was a win win

sleek granite
sleek granite
#

i'll probably move to mainly doing releases on thunderstore once it's AVAILABLE TO GENERAL USERS because FUCK github's interface fr

strong swift
sleek granite
#

though i guess i still have to maintain the github huh

#

because Rule 6

umbral pilot
#

absolutely do both

#

even if it's annoying imho

sleek granite
#

what if i just use pastebin

#

i know how to use pastebin

umbral pilot
sleek granite
#

and it's possible to learn how to use pastebin

#

unlike github

grand geode
#

my isp blocked pastebin

#

lma

sleek granite
#

skill issue

umbral pilot
#

github isn't that bad :-/

#

but pastebin is better

sleek granite
#

downloading stuff from github confuses 95% of people

#

it's a horrible solution

umbral pilot
#

well it's not really meant for that

dapper helm
umbral pilot
#

yeah though it sucks for people who just want to download something

#

but it's wholly meant to be used in conjunction with git

grand geode
#

okay but how are you uploading assets to pastebin

umbral pilot
#

base128

sleek granite
#

i just need to have the code readable

#

for Rule 6 compliance

cinder sage
#

i mean you could just use google drive at that point

sleek granite
cinder sage
#

the source should still be visible?

#

at worst just copy it into a .txt and upload that too

sleek granite
#

the source is visible from reading the damn lua file

cinder sage
#

yeah

sleek granite
#

so the rule doesn't inherently make sense

umbral pilot
#

git's not that bad ;-;

sleek granite
#

so i have to instead try to extrapolate what they meant

#

because nobody will explain things in clear concise terms

cinder sage
#

if the rule doesn't say something then it's not part of the rule

sleek granite
#

because humanity loves to coat things in 7 layers of abstraction

dapper helm
#

yeah the rules are really odd

cinder sage
#

if they meant something else they should've stated it

grand geode
#

i think it's for like stuff obfuscating the code

sleek granite
#

and i have to peel it apart until it makes sense

grand geode
#

and exes

umbral pilot
#

yeah, don't obfuscate

#

and native binaries should have source

sleek granite
#

oh so i can't write any code then

cinder sage
#

???

umbral pilot
#

it's valuable to have a repository associated with the mod, but it's not as necessary when you're working with lua

sleek granite
#

cuz it's already obfuscated when i write it hhhh

grand geode
#

no more modding everyone go home

umbral pilot
#

the value comes from having code contribution history

cinder sage
#

obfuscation doesn't even seem like part of the rule

fickle elbow
#

some heated converstaion i see

umbral pilot
#

and it makes dev a lot easier

rigid jewel
#

😢

umbral pilot
#

either way as long as you're providing options to people, not obfuscating your code, and not being a dick then you're totally fine

#

if that means you're distributing things on pastebin then go ahead

#

:-)

sleek granite
#

failed on all three, we'll get em next time

umbral pilot
#

valid lol

exotic shadow
umbral pilot
#

I have a directory of lovely-revision-x-x-x-#x

plush sentinel
#

I have process-critical code for work that only exists on my work laptop and a couple different flash drives chad

umbral pilot
#

hilarious

sleek granite
#

i just shitpost in programming form i'm not a CLI nerd who knows how to use git from birth

umbral pilot
#

github desktop is pretty good honestly

cinder sage
#

^^^

umbral pilot
#

I use git from the term but that's because I have no friends

#

and because I've used it since birth

cinder sage
#

i still have no idea how to use git from terminal

umbral pilot
#

it's not that bad really

cinder sage
#

and github desktop is fairly clear

sleek granite
#

theres a what

exotic shadow
#

git cli is a good skill to have but I often use the vscode git for commiting stuff

plush sentinel
#

I like cli and still never use git in a terminal, it's all desktop for me

sleek granite
#

tf is github desktop

sleek granite
#

i was just uploading shit to the website

cinder sage
umbral pilot
#

I use lazygit nowadays and I love it

rigid jewel
#

Github... through a terminal...

#

HUH

umbral pilot
#

git != github, github desktop wraps around git

cinder sage
#

if you just upload directly it's annoying but it still works

umbral pilot
#

yeah, you can upload directly

sleek granite
#

last time anyone actually tried to teach me how git works was like 13-14 years ago so

#

back when i was doing minetest modding

umbral pilot
#

definitely check out that link I shared then

sleek granite
#

as like a entire child

umbral pilot
#

it's a really valuable skill

#

looool

rigid jewel
#

All my knowledge on Github is just on the fly

plush sentinel
#

I never had to do much with git; I basically just do unofficial devops automation and product prototyping stuff with no real collaboration, just push to master, ezpz

umbral pilot
#

that's basically what I do at thunderstore lol, all my projects are my projects

#

so it's alright to trash commit histories

umbral pilot
#

my git skills are very rough lmao

exotic shadow
#

github has a cli, but I only use it for creating repos

sleek granite
umbral pilot
#

nah, you dont need to go that far

exotic shadow
#

I have installed linux

plush sentinel
umbral pilot
#

and you'll need to get comfortable with the terminal at some point, unfortunately

sleek granite
#

no i won't

grand geode
#

i have no github knowledge, i still often search "git how to revert commits"

umbral pilot
#

well fair

sleek granite
#

you assume i'm making a career out of this lmao

umbral pilot
#

ah yeah, that's valid

grand geode
#

your career is now making balatro mods

sleek granite
#

i reiterate: i just shitpost in programming form

umbral pilot
#

the best kind of shitposting

rigid jewel