Skip to content

Add v1.1: multiple crops, coin economy, and shop system - #3

Draft
Origin0804 with Copilot wants to merge 3 commits into
mainfrom
copilot/update-version
Draft

Add v1.1: multiple crops, coin economy, and shop system#3
Origin0804 with Copilot wants to merge 3 commits into
mainfrom
copilot/update-version

Conversation

Copilot AI commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Implements core gameplay expansion with new crops, economic system, and shop UI.

New Features

  • Crops: Added Tomato (6 stages, 25 coins) and Corn (7 stages, 35 coins) with distinct colors
  • Economy: Coin system with 100 starting coins, earnings on harvest
  • Shop: Press B to buy seeds, click to purchase
  • Seed selection: Keys 1-3 to switch active seed type
  • Inventory stacking: Items now display as Wheat Seed x3

Changes

  • character.py: Added coins, add_coins(), spend_coins()
  • item.py: Added CURRENCY type to ItemType
  • block.py: Per-crop color via PLANT_COLORS dict
  • main.py: Shop UI, seed selection, item count caching
  • Added .gitignore for __pycache__/

Crop Economics

Crop Seed Cost Stages Sell Price
Wheat 10 5 15
Tomato 20 6 25
Corn 30 7 35
Original prompt

基于你自己的想法,更新一个版本


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits December 2, 2025 16:48
…, and improved UI

Co-authored-by: Origin0804 <189698804+Origin0804@users.noreply.github.com>
… mouse position and item counts

Co-authored-by: Origin0804 <189698804+Origin0804@users.noreply.github.com>
Copilot AI changed the title [WIP] Update application version to latest release Add v1.1: multiple crops, coin economy, and shop system Dec 2, 2025
Copilot AI requested a review from Origin0804 December 2, 2025 16:52
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.

2 participants