Joker.config - nicholassam6425/balatro-mods GitHub Wiki
Commonly used to store numerical values of your joker, such as bonus mult. (Using config is optional, I THINK)
i.e Misprint's config is {extra = {max = 23, min = 0}}
. The following are variables in config that are NOT in extra.
Personally, I would suggest using config.extra
almost every time. It's more intuitive to use, and sometimes using the keys listed below sometimes just... dont get loaded into card.ability
correctly. Worse case, you can use card.config.center.config
to directly access the table that gets loaded into card.ability
, but messing with these may end up changing values on copies of the card.
mult
: int: multiplier additive bonusextra
: table: put anything else you want in heret_mult
: int: multiplier additive bonus when a certain hand type is playedt_chips
: int: the chips additive bonus when a certain hand type is playedtype
: str: the hand type for t_mult or t_chips to apply ('Pair', 'Three of a Kind', 'Four of a Kind', 'Straight', 'Flush')Xmult
: float: multiplier multiplicative bonush_size
: int: Juggler's bonus to hand size (can be negative)d_size
: int: Drunkard's bonus to discards (maybe can be negative)