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.1.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.1-py3-none-any.whl (9.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_farm-1.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 730b9237612e82b7a2aeeee3ea8b4dbf73c9d8df0053284a4b4d22e7ece94202
MD5 94ebddbce5ae589a5691ec0f11a6fbaf
BLAKE2b-256 df18dabce1c4108035aecfabdf46ec22052c024cae234ed5fcbf05b34a4edc10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_farm-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3af6056bbbe6494d70d3c2d9070d66e73af7dc251719df90292ef6146107b16e
MD5 c82292cd79210a05f412471436e83a70
BLAKE2b-256 21a867e9ada78ab5ea01e8cbe111d219e76c73cd385e9efa43b2702b6c0e275e

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