docs: add new journal command documentation
Replace the attribute system documentation with new documentation for the variable system, roll command, link command, and spark command.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
---
|
||||
tag: journal-spark
|
||||
icon: 🎰
|
||||
title: 种子表命令
|
||||
description: 在 Journal 中随机生成种子表内容,用于生成随机遭遇、NPC、物品等。
|
||||
syntax: '/spark 种子表键名'
|
||||
props:
|
||||
- name: 种子表键名
|
||||
type: string
|
||||
desc: 在文档中通过 :spark[CSV路径] 指令定义的种子表 slug
|
||||
---
|
||||
|
||||
## 概述
|
||||
|
||||
`/spark` 命令用于从种子表中随机抽取一行并发布结果。种子表在 markdown 文档中通过 `:spark[CSV路径]` 指令定义。
|
||||
|
||||
## 语法
|
||||
|
||||
```
|
||||
/spark 种子表键名
|
||||
```
|
||||
|
||||
## 示例
|
||||
|
||||
```
|
||||
/spark npc
|
||||
/spark encounter
|
||||
/spark loot
|
||||
```
|
||||
|
||||
## 种子表定义
|
||||
|
||||
种子表在文档中定义:
|
||||
|
||||
```
|
||||
:spark[npc]
|
||||
:spark[encounter]
|
||||
:spark[loot]
|
||||
```
|
||||
|
||||
CSV 文件的每一行对应种子表的一个条目,随机选取一行发布。
|
||||
|
||||
## 权限
|
||||
|
||||
- **GM**:可使用
|
||||
- **玩家**:不可使用
|
||||
- **观察者**:不可使用
|
||||
Reference in New Issue
Block a user