Skip to content

Commit

Permalink
chore: update changelog & readme & tooth
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Oct 7, 2024
1 parent de60890 commit feaf78b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 21 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.0] - 2024-10-?
## [1.1.0] - 2024-10-7

### Added

- 支持地皮合并
- 新增 `PlotRoad``PlotCross``Polygon`
- 新增 液体流动、苔藓快蔓延、幽匿 事件处理

### Changed

- 重构 `EconomySystem`
- 重构 `PlotShopGUI` 逻辑
- 重构表单 `_addSharePlayer`
- 重构事件处理
- LegacyMoney 更改为可选依赖 (感谢 @zimuya4153 提供的解决方案)

## [1.0.2] - 2024-8-28

Expand Down Expand Up @@ -61,7 +64,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.6.0] - 2024-07-23

### Added:
### Added

- 配置文件 `plotWorld` 新增 `eventListener` 配置
- 配置文件 `eventListener` 新增 `onSculkSpreadListener` 事件开关
Expand Down
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- 按模板生成地皮
- [x] 模板记录器
- 制作地皮模板
- [x] 地皮合并

## 安装

Expand Down Expand Up @@ -119,22 +120,17 @@ package("xxx")
"templateFile": "TestTemplate.json" // 模板文件名,模板文件必须放置在 config 目录下
},
"economy": {
"enable": false, // 是否启用经济系统
"type": "LegacyMoney", // 经济系统类型 LegacyMoney / ScoreBoard
"scoreName": "", // 计分板名称
"economicName": "金币" // 经济名称
"enabled": false, // 是否启用经济系统
"kit": "LegacyMoney", // 经济系统类型 LegacyMoney / ScoreBoard (如果设置 LegacyMoney 则需要安装 LegacyMoney)
"scoreboard": "", // 计分板名称
"currency": "金币" // 经济名称
},
"plotWorld": {
"maxBuyPlotCount": 25, // 玩家最大持有地皮数量
"buyPlotPrice": 1000, // 购买地皮价格
"inPlotCanFly": true, // 是否启用地皮飞行
"playerSellPlotTax": 0.1, // 玩家出售地皮税率
"spawnMob": false, // 地皮世界是否生成实体

"eventListener": {
"onSculkSpreadListener": true, // 禁止幽匿块蔓延(地皮维度)
"onSculkBlockGrowthListener": true // 禁止幽匿尖啸体生成(地皮维度)
}
"spawnMob": false // 地皮世界是否生成实体
},
"switchDim": {
// 地皮维度和主世界切换传送坐标,此项可在游戏中设置
Expand Down
6 changes: 0 additions & 6 deletions include/plotcraft/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <vector>



namespace plot {

enum class PlotGeneratorType : int { Default, Template };
Expand Down Expand Up @@ -42,11 +41,6 @@ struct Config {
int maxMergePlotCount = 4; // 最大合并地皮数量
int baseMergePlotPrice = 1000; // 基础合并地皮价格
double mergePriceMultiplier = 1.1; // 合并价格倍率,默认为1.0(保持基础价格不变)

struct {
bool onSculkSpreadListener{true};
bool onSculkBlockGrowthListener{true};
} eventListener;
} plotWorld;

struct {
Expand Down
2 changes: 1 addition & 1 deletion include/plotcraft/Global.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


// Config
#define CONFIG_VERSION 9
#define CONFIG_VERSION 10

// PlotMetadata
#define METADATA_VERSION 7
Expand Down
4 changes: 2 additions & 2 deletions tooth.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format_version": 2,
"tooth": "github.com/engsr6982/PlotCraft",
"version": "1.0.2",
"version": "1.1.0",
"info": {
"name": "PlotCraft - 地皮插件",
"description": "地皮世界|地皮购买|地皮出售|地皮共享|地皮评论",
Expand All @@ -14,7 +14,7 @@
"plotcraft"
]
},
"asset_url": "https://github.com/engsr6982/PlotCraft/releases/download/v1.0.1/PlotCraft-windows-x64.zip",
"asset_url": "https://github.com/engsr6982/PlotCraft/releases/download/v1.1.0/PlotCraft-windows-x64.zip",
"prerequisites": {
"github.com/LiteLDev/LeviLamina": ">=0.13.4 <0.14.0",
"github.com/LiteLDev/MoreDimensions": "0.4.1"
Expand Down

0 comments on commit feaf78b

Please sign in to comment.