Replies: 1 comment 1 reply
-
|
See #838 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Lovely offers a Card:is_suit() function which can then be patched to do whatever we want with our mod. There's no equivalent for ranks, and so if we want to do rank manipulations (for example, Gradient Deck in Multiplayer) it's not only very tedious but also most likely not compatible with other mods.
What I suggest is some SMODS.is_rank(card,rank) function that returns if a card is of the specified rank. Of course base Balatro jokers would also need to be modified to use this function. It's a simple function that anyone could create for their own mod, but if it's implemented in Steamodded then every mod directly has access to it and can use it to make effects that grant a card multiple ranks at the same time (like how Wild grants multiple suits). More importantly, it'd make these effects easily compatible between mods. Using the same example as before, Multiplayer's Gradient Deck is afaik only compatible with Balatro's and Multiplayer's jokers (as well as any mod that makes the effort to be compatible, I imagine)
Beta Was this translation helpful? Give feedback.
All reactions