Skip to content

Commit

Permalink
docs: 对sc wiki的补充 (#52)
Browse files Browse the repository at this point in the history
Co-authored-by: ybw0014 <[email protected]>
  • Loading branch information
haiman233 and ybw0014 authored Jul 14, 2024
1 parent fc0ee38 commit 939df05
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
8 changes: 7 additions & 1 deletion docs/slime-customizer/common/crafting-recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sidebar_position: 4
- **ORE_CRUSHER** [矿石粉碎机](https://slimefun-wiki.guizhanss.cn/Ore-Crusher)
- **GRIND_STONE** [磨石](https://slimefun-wiki.guizhanss.cn/Grind-Stone)
- **ANCIENT_ALTAR** [古代祭坛](https://slimefun-wiki.guizhanss.cn/Ancient-Altar)
- **JUICER** [榨汁机](https://slimefun-wiki.guizhanss.cn/Juicer)
- **NONE** 无法合成
:::warning 注意
Expand All @@ -87,9 +88,14 @@ sidebar_position: 4
- **PRESSURE_CHAMBER** [压力机](https://slimefun-wiki.guizhanss.cn/Pressure-Chamber)
- **ORE_CRUSHER** [矿石粉碎机](https://slimefun-wiki.guizhanss.cn/Ore-Crusher)
- **GRIND_STONE** [磨石](https://slimefun-wiki.guizhanss.cn/Grind-Stone)
- **JUICER** [榨汁机](https://slimefun-wiki.guizhanss.cn/Juicer)
以下配方类型的合成配方必须所有9格都有物品
以下配方类型的合成配方必须用物品(不包括空气)填满九宫格且数量只能为1
- **ANCIENT_ALTAR** [古代祭坛](https://slimefun-wiki.guizhanss.cn/Ancient-Altar)
以下配方类型的合成配方支持多格多数量合成(即你可以在每一格都设置输入数量为64的物品):
- **SMELTERY** [冶炼炉](https://slimefun-wiki.guizhanss.cn/Smeltery)
:::
6 changes: 6 additions & 0 deletions docs/slime-customizer/common/registering.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ sidebar_position: 1
该顺序与原版 SlimeCustomizer **不一致**

左侧导航栏的[配置文件](../config/)从上而下为注册顺序。

## 后台在注册时的报告

当你装载 SC 的配置时,请盯好后台显示的错误提示,并依据错误提示修改你的 SC 配置。

推荐你在装载SC配置前,先使用 [SCchecker](https://github.com/SlimefunReloadingProject/SCchecker) 通篇检查一遍配置,依据输出报告修改后再安装到服务器中。
34 changes: 34 additions & 0 deletions docs/slime-customizer/config/machines.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,40 @@ EXAMPLE_MACHINE:

:::

:::tip

小技巧:当你给一个输入物品设置的数量为0时,此时该输入物品不会被机器消耗,但是你必须要将此输入物品放入输入槽才能使机器运行,粘液书和配方里不会显示数量为0的物品,所以你需要在lore里额外描述。

如下所示:

```yaml
recipes:
1:
speed-in-seconds: 5
input:
1:
type: VANILLA
id: IRON_INGOT
amount: 9
2:
type: VANILLA
id: APPLE
amount: 0
output:
1:
type: VANILLA
id: IRON_BLOCK
amount: 1
2:
type: NONE
id: N/A
amount: 1
```

此配方将苹果的数量设置为0,如果玩家只将九个铁锭放入机器,机器是不会输出铁块的。玩家必须在放入九个铁锭的同时放入一个苹果,机器才会输出铁块,当机器输出完成后,苹果不会被消耗。在机器配方页中,苹果是被隐藏的。

:::

:::danger 注意

要避免两项配方的输入格出现重复材料。
Expand Down
8 changes: 6 additions & 2 deletions docs/slime-customizer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ sidebar_position: 1

# 自定义粘液附属

SlimeCustomizer 是一个 Slimefun 附属,可以让服主只通过配置文件就能创建一个附属,操作简单易懂。
SlimeCustomizer 是一个 Slimefun 附属(后文简称SC),可以让服主只通过配置文件就能创建一个附属,操作简单易懂。

本 Wiki 由官方 Wiki 翻译而来,并做出适当地扩充。
[haiman233](https://github.com/haiman233)[ybw0014](https://github.com/ybw0014) 编写。

欢迎加入QQ群讨论:231200497

SlimeCustomizer 相较于 RykenSlimeCustomizer,限制较大,可自定义范围较小,如果你想编写拥有更多功能的自定义附属,推荐使用 [RykenSlimeCustomizer](https://github.com/SlimefunReloadingProject/RykenSlimeCustomizer)

点此转到 [RykenSlimeCustomizer wiki](https://rsc.hiworldmc.com)

## 展示

*想要看看SlimeCustomizer的成果如何? 可以看看天璇工艺,天璇工艺就是用SlimeCustomizer编写而成的!或许天璇工艺可以给你带来点启发*
*想要看看 SlimeCustomizer 的成果如何? 可以看看[海曼科技院](https://github.com/haiman233/HaimanTech2),海曼科技院是一个开源的 SlimeCustomizer 和 RykenSlimeCustomizer 配置,希望海曼科技院可以带给你启发*

![展示1](https://user-images.githubusercontent.com/83174104/163699938-8d7c0084-34fd-4d99-9d77-b2454c883669.png)
![展示2](https://user-images.githubusercontent.com/83174104/163699824-97081e94-e31c-4f55-a5a4-3a66e2b68484.png)
Expand Down

0 comments on commit 939df05

Please sign in to comment.