#JokerBlocks
1 messages · Page 1 of 1 (latest)
Jlocks
Jocks
Boker Jocks
holy shit balatro scratch
holy peak
Server's here, I'll still be posting updates here, but there's prolly more there
https://discord.gg/c3Q9jUFZtd
newer version
hmm
Peak
you can test custom block definitions with the button in options 
custom block guide is at my server.. here https://discord.com/channels/1434189284511973518/1435671208485191711
-# forgot something lol
this seems pretty interesting
thank you!
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
very early in development
like users can make custom blocks and choose what code it generates based on input
interesting
honestly I think this looks like a very cool alternative to jokerforge so I might give this a shot
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
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
also wait if add mult = 4 is +4 mult then what the hell is x0.1 mult
xmult = 0.1
well you get xmult=0.1?
Good idea.
new stuff
where is this?
wdym?
like how can you make a custom block? @faint oasis
yea
go to options and then there's a button somewhere labeled 'test custom block'
how do i use it
this is in the server i presume
@stone glacier sorry for ping but is it possible to make oops all 6 type cards yet
Oh not yet.
I'll get right to it
it should probably be possible to change both sides of the chances
ok i still do not get how to make custom blocks, like how are you gonna make it do custom stuff
can i add to joker ^mult or ^chips?
Well what i meant by you have the ability to make custom blocks now is you can make a block like Remove all tags or get the value of the current round, etc.. just like the blocks you already have
but more
Not yet, reminder, Talisman would be required later though.
also, do u have git repo? i think jokerblocks can be hosted on github pages
Oh I keep forgetting, not yet.
Yeah
You can look in the block_defs.js script at ./src/ for reference
Now you can
Example Project: (you can load this project from options btw.)
reminds me more of scratch. i like it
yeah it uses the same exact renderer and library scratch uses 😭😭
based
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...
Send a perma invite 😭
oh
i tried before
🤷
I should probably mention the link to the JokerBlocks project, it's here
do you still work on ts, i feel like it hasnt changed in a while
i was hoping it would get updated more since its a pretty great alternative to joker forge imo
Wow, thanks.
Uh not really
I might, though
It's super easy to add stuff (blocks).
I just hadn't gotten the motivation/energy yet.
I see
If y'all have any ideas, I might as well.
this is awesome
joker blocks getting action?
next week I'll have much more free time and I think it's a good decision to work on this some more.
I meant like
Users
Theres a new person in the thread for the first time in a billion years
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 Rankblock - changed tooltip of
Random Suitblock - 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.
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.)
Buy cost probably
-# uh how do you get that again?; in actual code
Card.cost
is there a list of these values somewhere on the wiki?
Dont think so?
also is rarity just Card.rarity?
Card.config.center.rarity
Idk i feel like i've seen something like it
But for checking if a card is a rarity you should do Card:is_rarity(key)
why not just use Card.config.center.rarity == key?
do playing cards have a .config.center.key value?
how do you check if a consumeable is a tarot/planet/etc ?
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
so you mean even jokers/playing cards have card.ability.set values?
how do you get the rank/suit of a playing card?
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)
same question here for this but why are we using card:is_xxx(key)
dk?
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
does is_face take any arguments?
what's that for?
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)
Ah 👍
for key do you do "prefixIforgot_polychrome" or "polychrome"
I'm presuming the former
but what's the prefix?
oh it's m_ for enhancements, nvm
e_polychrome
its m_ for enhancements