快乐的农场时光
Project description
真寻农场(nonebot_plugin_farm)
你是说可以种地对吧🤔?
如何安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-farm
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-farm
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。如有看到写的不对的地方,欢迎指出,也欢迎任何人一起来开发、完善农场。
素材来均源于互联网,侵权请联系我删除
致谢
最后感谢以下框架/作者的提供的技术支持(排名不分先后):
- Nonebot2 ✨ 跨平台 Python 异步机器人框架 ✨
- zhenxun_bot 最爱真寻的一集
- HibiKier 阿咪为什么是神
- ATTomato 流泪偷码头.jpg
许可证
真寻农场(nonebot_plugin_farm)将采用的是GPLv3许可证进行开源
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_farm-1.3.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_farm-1.3.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa7f3396ccc13f30bd42b3a2cc2a522f832cee9d1c4e4b767bdda74fd9b85544
|
|
| MD5 |
d570b0746b638b07e12bdbc0810a351f
|
|
| BLAKE2b-256 |
11d8c5e16393c738b05c5171bc29681cab9ec1fbe5673d55fd158f944db15dee
|
File details
Details for the file nonebot_plugin_farm-1.3.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_farm-1.3.2-py3-none-any.whl
- Upload date:
- Size: 9.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbeacc8c41ff18a791a4acd29ef5fae4cfa5d074b60297709ed612d6cd55ef83
|
|
| MD5 |
c8d621da45cf6c2bd7c6f7eb3f1b12a0
|
|
| BLAKE2b-256 |
6427fa4b72e8616035e0efcb8692ed428782652659aaacc4752ae67bb61650ad
|