Skip to main content

快乐的农场时光

Project description

真寻农场(nonebot_plugin_farm)

你是说可以种地对吧🤔?


如何安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-farm
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-farm
打开 nonebot2 项目根目录下的 `pyproject.toml` 文件, 在 `[tool.nonebot]` 部分追加写入
plugins = ["nonebot_plugin_farm"]

使用指令

指令 描述 Tip
@小真寻 开通农场 首次开通农场
我的农场币 查询农场币
种子商店 [页数] 查看种子商店 数量不填默认为1
购买种子 [种子名称] [数量] 购买种子 数量不填默认为1
我的种子 查询仓库种子
播种 [种子名称] [数量] 播种种子 数量不填默认将最大可能播种
收获 收获成熟作物
铲除 铲除荒废作物
我的作物
出售作物 [作物名称] [数量] 从仓库里向系统售卖作物 不填写作物名将售卖仓库种全部作物 填作物名不填数量将指定作物全部出售
@美波理 偷菜 偷别人的菜 每人每天只能偷5次
更改农场名 [新的农场名] 改名

配置

在 nonebot2 项目的 .env 文件中添加下表中的必填配置

配置项 是否必填 默认值 说明
farm_draw_quality "low" 绘制农场清晰度 分为:"low", "medium", "hight", "original"
farm_server_url "http://diuse.work" 后续签到、交易行、活动等服务器地址

更新日志(详细)

用户方面

  • 新增部分作物
  • 修复一个严重BUG, 该BUG会导致无法重复偷别人菜的问题

代码方面

  • 将作物数据从plant.json迁移至resource/db/plant.db中,并将操作json改为操作数据库

待办事宜 Todo 列表

  • 完善我的农场图片,例如左上角显示用户数据
  • 完善升级数据、作物数据、作物图片
  • 签到功能
  • 添加渔场功能
  • 增加活动、交易行功能
  • 增加交易行总行功能
  • 添加其他游戏种子素材
  • 想不到了,想到再说

关于

本人毫无任何Python经验,也从未正式的、系统的、完整的去学习Python。如有看到写的不对的地方,欢迎指出,也欢迎任何人一起来开发、完善农场。

素材来均源于互联网,侵权请联系我删除


致谢

最后感谢以下框架/作者的提供的技术支持(排名不分先后):

许可证

真寻农场(nonebot_plugin_farm)将采用的是GPLv3许可证进行开源

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_farm-1.3.0.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_farm-1.3.0-py3-none-any.whl (9.1 MB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_farm-1.3.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_farm-1.3.0.tar.gz
  • Upload date:
  • Size: 9.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nonebot_plugin_farm-1.3.0.tar.gz
Algorithm Hash digest
SHA256 ad9b0791a012171903f4da3c8b4104b700cb5138c7f533161af02fc9e5a3dee7
MD5 f63da1a8d01c5bbfd95fbe6245403066
BLAKE2b-256 0e0b6cb41a95c31be9a3bab58ea0df1e4e173117a2de0b12405f12c8b8938b04

See more details on using hashes here.

File details

Details for the file nonebot_plugin_farm-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_farm-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58b68ee9f9b53201dea4234d74f809f6fd89effb78ea3479f05f2b681bc6c1ad
MD5 f31bff972b2152e59a8ddf24f98f5690
BLAKE2b-256 7a1be8014e61beb20d78e4280e6e0b2a1e1212eca8510f6ee691bfeb84ed8ee9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page