Skip to main content

快乐的农场时光

Project description

真寻农场(nonebot_plugin_farm)

license Python Nonebot

tencent-qq

你是说可以种地对吧🤔?
该项目由真寻小插件真寻农场移植


目录


农场界面

农场界面


如何安装

使用 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
@小真寻 开通农场 首次开通农场
我的农场 你的农场
农场详述 农场详细信息
我的农场币 查询农场币
种子商店 [筛选关键字] [页数] or [页数] 查看种子商店 当第一个参数为非整数时,会默认进入筛选状态。页数不填默认为1
购买种子 [种子名称] [数量] 购买种子 数量不填默认为1
我的种子 查询仓库种子
播种 [种子名称] [数量] 播种种子 数量不填默认将最大可能播种
收获 收获成熟作物
铲除 铲除荒废作物
我的作物 你的作物
出售作物 [作物名称] [数量] 从仓库里向系统售卖作物 不填写作物名将售卖仓库种全部作物 填作物名不填数量将指定作物全部出售
偷菜 @美波理 偷别人的菜 每人每天只能偷5次
更改农场名 [新的农场名] 改名 农场名称无法存储特殊字符
农场签到 签到 需要注意,该项会从服务器拉取签到数据

配置

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

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

更新日志(详细)

用户方面

  • 新增种子商店筛选功能(如果没有BUG的话后续我的种子、我的作物等也会加入筛选功能
  • 新增签到功能(测试
  • 新增农场详述功能,能通过该功能更加详细的观看农场数据
  • 修复了迁移旧数据库无法正常迁移的BUG
  • 修复了偷菜会导致偷自己的BUG
  • 修正了作物阶段绘制不正确的BUG

代码方面

  • 修正了多阶段作物成长素材计算逻辑
  • 修正了作物数据库字段错乱的问题
  • 作物新增offset字段,用于以后偏移坐标和大小(尚未启用,该模式有商议

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_farm-1.4.2.tar.gz
  • Upload date:
  • Size: 18.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.4.2.tar.gz
Algorithm Hash digest
SHA256 abe5c67a1b426b0bd8d76167870fe3138baeb14730c414023b80f340ca8dcfd2
MD5 7dd9d79ac26fffaf1a5c068b8613503a
BLAKE2b-256 b76d73385c782cf47aa4f782bff5ef2a11052409eafe9296f6d4274a75cfe1db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_farm-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 083eaa0e076c24bf7a2c4b7f2c83ae858562279e53a16ebb813aa5dea61dc29f
MD5 a52b705789f47b724b4dc4ec3a98b971
BLAKE2b-256 081db49cb5f3668ffe56dcedaeb0e5274c4373f82861f0759ac97a83260d9fc8

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