Skip to content

feat: add 11 new jokers with upstream j_cerber merged#7

Open
VX1D wants to merge 13 commits into1srscx4:mainfrom
VX1D:feat/new-jokers
Open

feat: add 11 new jokers with upstream j_cerber merged#7
VX1D wants to merge 13 commits into1srscx4:mainfrom
VX1D:feat/new-jokers

Conversation

@VX1D
Copy link
Copy Markdown

@VX1D VX1D commented Mar 7, 2026

New jokers added:

  • j_angel_neuro (temporary art)
  • j_bwaa (temporary art)
  • j_chimps (temporary art)
  • j_coldfish
  • j_coldfish_unleashed (temporary art)
  • j_koko (temporary art)
  • j_neuro_issues (temporary art)
  • j_paulamarina (temporary art)
  • j_toma
  • j_tomaniacs

Merged j_cerber from upstream (Adesi):

  • Kept Glorp integration improvements
  • Uses helper functions for cleaner code

Also includes:

  • Refactored helper functions throughout
  • Improved code organization
  • Bug fixes for existing jokers

Bug fixes:

1. Frog Hat (content/objects/jokers.lua line 358-360):
   - Fixed seal propagation not rendering visually
   - Changed: set_seal(seal) -> set_seal(seal, nil, true)
   - The nil, true params trigger immediate visual update

2. Glorp deck (content/objects/decks.lua lines 77-90):
   - Added Cerber joker integration
   - When Glorp deck creates cards, checks if j_cerber exists
   - If Cerber is present and card is rank 2, applies Negative edition
   - Uses inline check (no dependency on utility modules)

Testing:
- Verify Frog Hat seal propagation shows visually
- Verify 2s from Glorp deck become Negative with Cerber active
@VX1D VX1D force-pushed the feat/new-jokers branch 2 times, most recently from 7e3e1d4 to 82b4471 Compare March 7, 2026 19:25
VX1D added 5 commits March 7, 2026 20:25
Add nil-safe context and pool checks across jokers, enhancements, suit, blind, and editions to reduce runtime crashes from missing game state tables. Keep probability and scoring-hand operations bounded and defensive without changing intended gameplay flow.

(cherry picked from commit 69496b56b9881daaa3d1cf4aca3ffb13b8f4770c)
Replace strict assert with soft warning for Lovely patch detection to prevent crash when Lovely isn't properly loaded.

(cherry picked from commit 4b8c04f3add1479a5102963a9ebb7e79fdaacd93)
Add safety guards to:
- hooks.lua: jokers.cards iteration in open_booster
- tags.lua: G.CONTROLLER.locks access in both tag apply functions
- modules/hooks/general.lua: jokers.cards check in draw_card hook

Prevents crashes when game areas are not yet initialized.

(cherry picked from commit 9128a9defb8faa6ce8c49854c539f3c1f3d5defb)
Fix j_vedalsdrink2 description typo (remove extra 'equal' word)

Remove 9 commented-out sendDebugMessage calls from handtype.lua

(cherry picked from commit 176638e0decd79f4744858c64404a9585f0ee89e)
@VX1D VX1D mentioned this pull request Mar 22, 2026
VX1D added 3 commits March 23, 2026 12:10
… palette system; add neuro_popup_def; comment out angel_neuro
# Conflicts:
#	content/load/atlas.lua
#	content/objects/jokers.lua
@VX1D VX1D force-pushed the feat/new-jokers branch 3 times, most recently from 82b4471 to b87968c Compare March 23, 2026 13:11
VX1D added 4 commits March 23, 2026 21:04
Paulamarina moves from rarity 3 to the dev rarity so it shows the correct
badge. Tomaniacs desc now mentions that it upgrades Toma.
The neuroCustomJokers2 sheet has 6 driving frames on row 1. Registering it
as an ANIMATION_ATLAS lets Balatro cycle through them instead of showing
a static slice.
@VX1D VX1D force-pushed the feat/new-jokers branch from cfc1e4c to fcbbed5 Compare March 24, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant