#JokerBlocks

1 messages · Page 1 of 1 (latest)

stone glacier
#

open index.html

normal surge
#

Jlocks

bold timber
#

Jocks

normal surge
#

Boker Jocks

short coyote
#

holy shit balatro scratch

red river
#

holy peak

stone glacier
stone glacier
faint oasis
carmine galleon
#

Peak

stone glacier
#

you can test custom block definitions with the button in options balatrojoker

amber bison
#

this seems pretty interesting

stone glacier
amber bison
#

how stable is it rn? Does it have crossmod compat or is it just vanilla stuff for now

#

oh wait I think you already said custom blocks so

stone glacier
#

very early in development

amber bison
#

ah I see

#

regardless, this is a very interesting project

stone glacier
amber bison
#

interesting

#

honestly I think this looks like a very cool alternative to jokerforge so I might give this a shot

stone glacier
#

Thanks lol

#

suggestions are always welcome!

stone glacier
# stone glacier like users can make custom blocks and choose what code it generates based on inp...

like you can easily change the lua field to [[a]] and the generator replaces all double bracket stuff like that with the input of the a field in fields if it exists, like this is part of the block definition snippet of the properties block in the General category

            lua: 'loc_txt = { name = "[[a]]", text = {"[[b]]"} },\n',
            fields: [
                { name: 'a', label: 'Name', type: 'text' },
                { name: 'b', label: 'Text', type: 'text' }
            ],
#

-# code yap ^

#

yall can report bugs and whatnot here or here

teal sinew
#

if possible you should probably add a default project that automatically loads to teach a new user about how to use it

#

also you cant make a oops all 6 like card

#

there sohuld also be blocks to change chances so we can do that

teal sinew
modest dagger
#

xmult = 0.1

stone glacier
stone glacier
stone glacier
#

like how can you make a custom block? @faint oasis

faint oasis
#

yea

stone glacier
# faint oasis yea

go to options and then there's a button somewhere labeled 'test custom block'

faint oasis
#

how do i use it

faint oasis
stone glacier
teal sinew
#

@stone glacier sorry for ping but is it possible to make oops all 6 type cards yet

stone glacier
#

I'll get right to it

teal sinew
#

it should probably be possible to change both sides of the chances

faint oasis
#

ok i still do not get how to make custom blocks, like how are you gonna make it do custom stuff

robust cloak
#

can i add to joker ^mult or ^chips?

stone glacier
#

but more

stone glacier
robust cloak
stone glacier
stone glacier
stone glacier
stone glacier
#

We finally got a repo!! No need for downloading anymore! Here's the link

stone glacier
atomic acorn
#

reminds me more of scratch. i like it

stone glacier
atomic acorn
#

based

bitter vault
#

feel free to steal whatever you want from the code generation or ui of joker forge for joker blocks, a lot of the overall architecture could be improved but when i originally designed it i had nothing to base it off

#

i will watch this project with great interest...

idle shoal
stone glacier
#

oh

#

i tried before

#

🤷

#

I should probably mention the link to the JokerBlocks project, it's here

faint oasis
#

Sage

#

Nvm

charred raft
#

i was hoping it would get updated more since its a pretty great alternative to joker forge imo

stone glacier
#

I might, though

#

It's super easy to add stuff (blocks).

#

I just hadn't gotten the motivation/energy yet.

charred raft
#

I see

stone glacier
slate owl
#

this is awesome

charred raft
#

joker blocks getting action?

stone glacier
charred raft
#

I meant like

#

Users

#

Theres a new person in the thread for the first time in a billion years

stone glacier
#

v1.0.1a

minor update; 12 changes

  • changed tooltip of Index () of [] block
  • added Jokers list to Index () of [] block
  • added Consumeables list to Index () of [] block
  • changed color of () modulo () block to green like the other math blocks
  • changed tooltip of Random Rank block
  • changed tooltip of Random Suit block
  • added Special Operation (Math Function) block
  • success message for clear data removed
  • added (String) contains (String) block
  • added letter (Number) of (String) block
  • added join (String) (String) block (Concatenate block)
  • Fixed naming inconsistency: the Game Value was called 'Money', but in the 'Change [Game Value] by [Number]' block it was called 'Dollars'. Now the Game Value is consistently named 'Dollars' everywhere.
stone glacier
#

lol

stone glacier
#

What other values should I add to the Card Property block?
All I have is sell value so far.
(the upcoming block that could get the sell value of a Joker, per se.)

charred raft
#

Buy cost probably

stone glacier
charred raft
#

Card.cost

stone glacier
charred raft
#

Dont think so?

stone glacier
#

also is rarity just Card.rarity?

charred raft
#

Card.config.center.rarity

stone glacier
charred raft
#

But for checking if a card is a rarity you should do Card:is_rarity(key)

stone glacier
charred raft
#

I have no idea

#

probably hooking i guess

stone glacier
charred raft
#

yes

#

though for checking enhancements it should be SMODS.has_enhancement(card, key)

stone glacier
charred raft
#

card.ability.set

#

Which will be identical to the set defined on the prototype object

#

Which means you can use it to check for any card type

stone glacier
charred raft
#

Yes

#

All cards have one

#

Vouchers and boosters too because theyre also cards

stone glacier
charred raft
#

the suit key is in card.base.suit (should use card:is_suit(key) instead for checks) rank key in card.base.value, and id in card.base.id (should use card:get_id() for this instead)

stone glacier
#

dk?

charred raft
#

for suits its because well

#

Suitless cards dont work properly without it (card.base.suit isnt changed)

#

Smeared joker uses it

#

theres not an is_xxx for everything but there are quite a lot

#

get_id is also for rankless cards mainly in vanilla to make them actually not count as any rank

#

Similarly is_face exists because of pareidolia if i had to guess

#

And so debuffed cards dont count as face cards unless from_boss is true

#

Also highly recommend you take a look at vanillaremade to see how vanilla jokers would be implemented in steamodded

stone glacier
charred raft
#

Yeah

#

its Card:is_face(from_boss)

stone glacier
charred raft
#

Since normally face cards do not count as such when debuffed, from_boss bypasses the debuff so the debuff doesnt toggle every time it recalculates (since otherwise the already debuffed ones wouldnt be face cards, and therefore would be undebuffed)

stone glacier
#

I'm presuming the former

#

but what's the prefix?

#

oh it's m_ for enhancements, nvm

charred raft
#

its m_ for enhancements

stone glacier