Skip to content

feat(stats): add ore profit and per-type count tracking in mine command#2

Merged
siqnole merged 1 commit into
mainfrom
worktree-agent-a65c4ffa82a8ede7c
Apr 26, 2026
Merged

feat(stats): add ore profit and per-type count tracking in mine command#2
siqnole merged 1 commit into
mainfrom
worktree-agent-a65c4ffa82a8ede7c

Conversation

@siqnole

@siqnole siqnole commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds ore_profit stat tracking (lifetime sum of all ore values collected) in commands/mining/mine.h
  • Adds ore_mined_<ore_name> per-species count stat alongside existing ores_mined aggregate
  • Covers both the main collection loop and the cashout bonus ore path
  • Also removes a now-redundant inline comment

Test plan

  • Compile bot with ./deploy_bot.sh to verify no syntax errors
  • Mine ores in-game and confirm ore_profit and ore_mined_<name> appear in user_stats_ext table

🤖 Generated with Claude Code

Adds ore_profit (lifetime mining earnings) and ore_mined_<name> (per-species
count) stat tracking via increment_stat so the dashboard can display detailed
mining statistics beyond the existing ores_mined aggregate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@siqnole siqnole merged commit 76e0fe2 into main Apr 26, 2026
1 check passed
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