Unlock Conditions - nicholassam6425/balatro-mods GitHub Wiki

Pre-defined joker unlock conditions. OPTIONAL. Only use these if you want your joker to have an unlock condition.

All the "strings" are unlock 'types', the sub-points are what goes along with the unlock type.

Example: {unlock_condition = {type = 'modify_jokers', extra = {polychrome = true, count = 2}}}

  • "modify_jokers": add enhancements to jokers (Bootstraps)
    • extra:
      • "polychrome": bool: check for polychrome modifiers
      • "count": int: number of modifiers to look for
  • "c_cards_sold": sell centers (Burnt Joker)
    • extra: int: number of centers sold
  • "discover_amount": discover cards in the following collections (Astronomer, Cartomancer)
    • "planet_count": how many planets
    • "tarot_count": how many tarots
  • "modify_deck": modify playing cards (Driver's License, Glass Joker, Onyx Agate, Arrowhead, Bloodstone, Rough Gem, Smeared Joker)
    • extra:
      • count: int: how many modified playing cards
      • tally: str: 'total', all modification types
      • enhancement: str: 'Glass Card' 'Wild Card', type of modification
      • e_key: str: 'm_glass' 'm_wild', the P_CENTER key of the modification
      • suit: str: Suit of cards in the deck
  • "play_all_hearts": play all heart cards in your deck in 1 round (Shoot the Moon)
  • "money": have a certain amount of money (Sateillite)
    • extra: int: amount of money
  • "discard_custom": discard a certain hand type (unsure how to define) (Brainstorm, Hit the Road)
  • "win_custom": win while doing a certain thing (unsure how to define) (Invisible Joker, Blueprint)
  • "chip_score": play a hand that gives a certain amount of chips (Stuntman, The Idol, Oops! All 6s)
    • chips: int: the amount of chips to have to unlock
  • "win_no_hand": win without playing a certain hand type (The Duo, The Trio, The Family, The Order, The Tribe)
    • extra: str: define the hand type that was not played: 'Pair', 'Three of a Kind', 'Four of a Kind', 'Straight', 'Flush'
  • "hand_contents": play a certain hand (Seeing Double, Golden Ticket)
    • extra: str: the hand: 'four 7 of Clubs' 'Gold'(5 gold cards)
  • "win": win within a certain number of rounds (Merry Andy, Wee Joker)
    • n_rounds: int: the amount of rounds to win before
  • "ante_up": reach a certain ante (Flower Pot, Showman)
    • ante: int: the ante to reach
  • "round_win": win in 1 round with no discards(Matador)
    • extra: 'High Card', adds condition of certain hand type (Hanging Chad)
    • extra: int: win in 1 round this many times (this might allow discards) (Troubadour)
  • "continue_game": Continue a saved run from the main menu (Throwback)
  • "double_gold": Have a gold seal on a gold card (Certificate)
  • "c_jokers_sold": Sell jokers (Swashbuckler)
    • extra: int: how many jokers
  • "c_face_cards_played": play face cards (Sock and Buskin)
    • extra: int: how many face cards
  • "c_hands_played": play hands (Acrobat)
    • extra: int: how many hands
  • "c_losses": lose runs (Mr. Bones)
    • extra: int: how many runs