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会导致用户经验等级计算异常
  • 修正种子价格,现在不会以单价的形式购买种子了,而是新增的种子价格

代码方面

  • 彻底重构数据库,但是不会像V1.1一样导致用户数据丢失
  • 迁移部分代码结构,使文件名和代码功能更加匹配
  • 加入事件机制,采用类似Qt信号槽机制

待办事宜 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.2.8.tar.gz (8.0 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.2.8-py3-none-any.whl (8.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_farm-1.2.8.tar.gz
  • Upload date:
  • Size: 8.0 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.2.8.tar.gz
Algorithm Hash digest
SHA256 58ad38174702f1678f62c33be791153546f2c7876f0a95fc433868b2ee3cbfc1
MD5 6bdd524d8f5e31db86cd061312c651ee
BLAKE2b-256 b30beee4acf96b811bd04ffb0056bce2b9e93cd187bdbd9ee88978b045db3e04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_farm-1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7295d124c95f5f40593155f06cf44e7d8bcab8f7fd89e3edfd6c27d9a86a45cc
MD5 a1749b5487ea283a4e493a85e75e2641
BLAKE2b-256 4ad2436a4b92659eef447343267bd2f852ab033a0c2a8708741cfe50b8151f4a

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