#(Mod Request, Concept) Too Many Jokers

1 messages · Page 1 of 1 (latest)

paper sparrow
#

#1255696773599592458 message

When mod counts are getting higher and higher, looking for specific cards can be a pain in the ahh.

Too Many Jokers (TMJ, the name came from TMI the Minecraft mod) should be a mod that adds filter and search system in the collection menu, for players to find the desired contents they are looking for.

It's easy to conceptualize but I am noob at mod coding, so I am looking for modders to realize this.

feral ice
#

sounds very interesting

#

ill probably try on this just to learn balatro UI but i wouldn't be able to make anything competent

paper sparrow
#

I am glad the idea is acceptable.

novel copper
#

I actually had same idea, but kinda thought someone else already worked on this

paper sparrow
#

I don't think so no

bleak locust
#

Small nitpick, the correct way would be too many jokers

zealous stirrup
paper sparrow
#

(Mod Request, Concept) Too Many Jokers

paper sparrow
reef finch
#

I kinda thought the error was intentional. Made it funny

dense saffron
#

I like the idea of calling it Roughly Enough Jokers but that's just me

paper sparrow
#

There's many TMI like mods and all have different names

random pendant
#

Make the mod delete the "Collection" tab, problem solved balatrojoker

paper sparrow
#

That's gonna be a mod for a different modpack

dense saffron
#

TMI was for older Minecraft

#

JEI was for like the golden days (1.12)

paper sparrow
#

TMI is the og one

#

So I chose it

#

TMI→NEI→JEI→REI

dense saffron
#

true

tall ferry
#

tbh if someone does make this it might be a good addition to steamodded

novel copper
#

yeah

#

for sure

#

so my idea was that all collection pages have a search bar, that will search in the current context

tall ferry
#

yeah that makes sense

#

also would be nice to search description

#

and tags when I add them

novel copper
#

so you can search through all cards or just jokers

tall ferry
#

there was someone a long time ago that suggested basically this in the DebugPlus thread

dense saffron
#

I swear I suggested the idea at least once

reef finch
#

apperently the way to make ideas get some momentum is just to make a thread for them

#

jammod was picked up instantly when someone did that

tall ferry
#

tbf I was thinking about doing jammod a long time before I commited to it

reef finch
#

very fair

tall ferry
reef finch
#

that was also in May

#

the community's grown a lot

tall ferry
#

Thought I think with the edition of things like cryptid, having 150 of it's own jokers now, it's a bit more important now

reef finch
#

but yes it doesn't always work, still

feral ice
#

mid proof of concept

#

cant seem to figure out how to fetch a cards description from just its center, source code is very confusing on this specific part

tall ferry
#

Yeah I can imagine so

#

Also pro tip click the up button on the keyboard

#

In the console

#

Looks like you can get the descriptions from G.localization.descriptions.Joker.slug

#

Looks like most other sets have keys in the descriptions object too

#

Yeah looks like even modded objects have these

#

This also has the name so you don't need to get that form elsewhere

#

@feral ice

feral ice
#

+i didn't know debugplus console showed actual inspects of a table not just a pointer so that's more good info

feral ice
novel copper
#

Maybe also have search by badge

#

rarity badge*

feral ice
#

good idea yeah

feral ice
#

not gonna bother with another clip but can now filter by rarity and badge (and switching through pages now like doesnt break it i forgot about that functionality)

random pendant
#

By badge you mean stake badge or mod badge name?

novel copper
#

rarity, mod

random pendant
#

neat

feral ice
#

oh I said badge

#

meant to say rarity and mod

paper sparrow
#

Damn this is exciting

feral ice
#

the next couple steps are integrating the filtering fully into the ui, stuff like allowing multiple search terms, and making it work with every collection page

paper sparrow
#

Also since you are the one coding the mod, you can choose your mod name

feral ice
#

yeah i might go with something like "all the cards" since im planning on allowing you to search more than just jokers

paper sparrow
#

Oh yeah that makes sense

#

If you have decided then tell me

feral ice
#

this ui shit is hell, ive tried copypasting what cryptid uses for its textbox popups but the game likes crashing when i click the textbox because it thinks it doesn't exist (despite it being like right there on my screen)

paper sparrow
#

oh you mean some code cards have text input

feral ice
#

ya

#

pointer and ace

#

they do some wicked magic i apparently cant replicate

#

next step is getting rid of this abysmal code

#

fucking O(a lot)

paper sparrow
#

lmao

feral ice
#

like i just realized that i don't need to check against everything only the last one we've seen since duplicates are gonna be next to each other anyways

#

i was on crack writing this

#

idk why but my fps is really low for no apparent reason

#

its definitely because of the UI but like...

#
{
                n = G.UIT.R,
                nodes = {
                    create_text_input({
                        colour = G.C.SET.Code,
                        hooked_colour = darken(copy_table(G.C.SET.Code), 0.3),
                        w = 4.5,
                        h = 1,
                        max_length = 2500,
                        extended_corpus = true,
                        prompt_text = "???",
                        ref_table = G,
                        ref_value = "ENTERED_FILTER",
                        keyboard_offset = 1,
                    }),
                },
            },
      {
        n = G.UIT.R,
        config = { align = "cm" },
        nodes = {
          UIBox_button({
            colour = G.C.SET.Code,
            button = "reloadJoker",
            label = { "Filter" },
            minw = 4.5,
            focus_args = { snap_to = true },
          }),
        },
      },

maybe theres somethign im doing wrong here but hell if i know

#

the rest of the page refusing to load until you click the textbox is also weird

#

okay, the lag was because of the max length being 2500

#

because fucking god knows why

feral ice
#

multiple search terms, no lag, behaves normally!

#

probably not gonna do this with every collection page that would be very time consuming

#

ill add rarity searching with proper modded rarity support and then ill release

feral ice
#

turns out thats convoluted and lame so ill just half-ass the support