I made a turnip-counter
! It reads Super Smash Bros Melee replay data, searches for items pulled by Peach, and records information to a sqlite3 database!
The code looks specifically for items initially owned by me, so the good luck of other Peach players isn't counted:
/// Tokio task to send Peach item records to database worker.
async fn record_items(tx: Sender<DBCommand>, items: ItemLog, game_id: i64, me: Port) -> App<()> {
for (item_id, history) in items {
// only record my turnips