Battlemonsters vendors now spawn with five free basic packs containing seven common cards, which can be used to show people how the game works without spending any money.
You can now draw from card decks and hands by clicking on them with an empty hand while it's in one of your hands.
Mousing over a card that's next to you, or face-side-up, will show a tooltip of what it is.
Drawing a card from a deck now draws a specific card. Dealing a card to someone will pick the first card of the deck, meaning that it has to be shuffled to be random.
Made it so items get their pixel x/y reset on pickup.
Thrown items now also get their pixel placement slightly randomized.
Tweaked the center of mass on a boatload of items to be more accurate to their sprite art.
Replaced a bunch of randomized pixel placement code into a unifying proc; randpixel_xy() that uses an item's randpixel var.
Fixed the vendor sprite being wonky. (Unreported)
Fixes#5267
Adjusted Battlemonster Star calculation.
Slightly lowered the cost of battlemonster cards.
Deck searching speed is now based on the number of cards in the deck.
Fixed the battlemonster coin not having a sprite. (Unreported)
Fixed legendary battlemonster cards not appearing in vendors. (Unreported)
Fixed new battlemonster decks incorrectly displaying 0 cards. (Unreported)
Fixes#5212
Fixed potential powernet issue with surface by removing redundant wires.
Overview
Adds Battle Monster cards. Battle Monsters is a collectable card game clone like Yugioh or magic the gathering. Players can purchase card packs and use them in games with actual rules to them.
Checklist
Card Generation Framework: 100%
Sprites: 80%
Game Rules: 90%
Deck Framework: 5%
Monster Cards: 20%
Spell/Trap Cards: 5%
Obtainable Status: 0%