aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/Standard
diff options
context:
space:
mode:
author苏向夜 <fu050409@163.com>2024-01-25 17:46:34 +0800
committer苏向夜 <fu050409@163.com>2024-01-25 17:46:34 +0800
commitc4eb3ae7a74c7c6881540d7d04502600197a8b2a (patch)
treec920c29c383da4d496a0f646e5d4d0f5de10a406 /docs/Standard
parent3c3e121bc845573a2d2408c0db6be6f841fd8efc (diff)
downloadinfini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.tar.gz
infini-c4eb3ae7a74c7c6881540d7d04502600197a8b2a.zip
:fire: feat(docs): remove old documents
Diffstat (limited to 'docs/Standard')
-rw-r--r--docs/Standard/Term/DefaultDice/_counts.md10
-rw-r--r--docs/Standard/Term/DefaultDice/_sides.md7
-rw-r--r--docs/Standard/Term/DefaultDice/index.md11
-rw-r--r--docs/Standard/Term/PlayerCard/index.md11
-rw-r--r--docs/Standard/Term/check/ability.md10
-rw-r--r--docs/Standard/Term/check/index.md14
-rw-r--r--docs/Standard/Term/duration/campaign.md0
-rw-r--r--docs/Standard/Term/duration/index.md1
-rw-r--r--docs/Standard/Term/duration/module.md0
-rw-r--r--docs/Standard/Term/duration/sene.md0
-rw-r--r--docs/Standard/Term/scenario.md0
-rw-r--r--docs/Standard/Term/setting.md0
-rw-r--r--docs/Standard/what-is-rule-package.md40
-rw-r--r--docs/Standard/what-is-standard.md0
-rw-r--r--docs/Standard/why-rule-package.md0
15 files changed, 0 insertions, 104 deletions
diff --git a/docs/Standard/Term/DefaultDice/_counts.md b/docs/Standard/Term/DefaultDice/_counts.md
deleted file mode 100644
index bb6fa83a..00000000
--- a/docs/Standard/Term/DefaultDice/_counts.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: _counts 骰子个数
----
-
-!!! tip
- 这是一个必须的值,根据不同规则书的要求设置相对应的值
-
-### 属性说明
-
-用于规定默认投掷时骰子的个数 \ No newline at end of file
diff --git a/docs/Standard/Term/DefaultDice/_sides.md b/docs/Standard/Term/DefaultDice/_sides.md
deleted file mode 100644
index a5543278..00000000
--- a/docs/Standard/Term/DefaultDice/_sides.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-title: _sides 骰子面数
----
-
-### 属性说明
-
-用于规定默认投掷时骰子的面数 \ No newline at end of file
diff --git a/docs/Standard/Term/DefaultDice/index.md b/docs/Standard/Term/DefaultDice/index.md
deleted file mode 100644
index 812f9504..00000000
--- a/docs/Standard/Term/DefaultDice/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: DefaultDice 默认骰子
-status: new
----
-
-!!! tip
- 这是一个必须的类,根据不同规则书的要求设置相对应的值
-
-### 类说明
-
-用于规定默认投掷时骰子的各种属性,例如默认骰子数量,面数 \ No newline at end of file
diff --git a/docs/Standard/Term/PlayerCard/index.md b/docs/Standard/Term/PlayerCard/index.md
deleted file mode 100644
index f647b284..00000000
--- a/docs/Standard/Term/PlayerCard/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: PlayerCard 人物卡
-status: new
----
-
-!!! tip
- 这是一个可选实现但是{==建议尽量必须实现==}的方法,主要表现在规则书正是检定方法不同而有所不同上。
-
-### 类说明
-
-用于规定人物卡的格式,包括人物属性,属性之间的计算关系等 \ No newline at end of file
diff --git a/docs/Standard/Term/check/ability.md b/docs/Standard/Term/check/ability.md
deleted file mode 100644
index 13e3d83a..00000000
--- a/docs/Standard/Term/check/ability.md
+++ /dev/null
@@ -1,10 +0,0 @@
----
-title: ability 检定
-status: deprecated
----
-!!! info
- 关于这部分内容请[移步正式术语][redirect]: [`check 检定`](/Standard/Term/check/)
-
- [redirect]: https://infini.retrofor.space "我为什么会看到此项内容?"
-
-这部分其实已经移除。
diff --git a/docs/Standard/Term/check/index.md b/docs/Standard/Term/check/index.md
deleted file mode 100644
index ced50585..00000000
--- a/docs/Standard/Term/check/index.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: check 检定
----
-
-!!! tip
- 这是一个可选实现但是{==建议尽量必须实现==}的方法,主要表现在规则书正是检定方法不同而有所不同上。
-
-### 方法说明
-
-使用`check`或者`ability`方法, 必须对检定结果设定一个完整的输出判定范围。
-
-### 检定结果表
-
-如[`方法`](#_1)所言,你必须为检定的结果设计一个完整的输出判定范围,因此你需要严格并且合理的分配划分界限,保证所有情况都在允许范围内有一个类似”成功””失败”的输出。
diff --git a/docs/Standard/Term/duration/campaign.md b/docs/Standard/Term/duration/campaign.md
deleted file mode 100644
index e69de29b..00000000
--- a/docs/Standard/Term/duration/campaign.md
+++ /dev/null
diff --git a/docs/Standard/Term/duration/index.md b/docs/Standard/Term/duration/index.md
deleted file mode 100644
index e2c14ebe..00000000
--- a/docs/Standard/Term/duration/index.md
+++ /dev/null
@@ -1 +0,0 @@
-# duration (时长)
diff --git a/docs/Standard/Term/duration/module.md b/docs/Standard/Term/duration/module.md
deleted file mode 100644
index e69de29b..00000000
--- a/docs/Standard/Term/duration/module.md
+++ /dev/null
diff --git a/docs/Standard/Term/duration/sene.md b/docs/Standard/Term/duration/sene.md
deleted file mode 100644
index e69de29b..00000000
--- a/docs/Standard/Term/duration/sene.md
+++ /dev/null
diff --git a/docs/Standard/Term/scenario.md b/docs/Standard/Term/scenario.md
deleted file mode 100644
index e69de29b..00000000
--- a/docs/Standard/Term/scenario.md
+++ /dev/null
diff --git a/docs/Standard/Term/setting.md b/docs/Standard/Term/setting.md
deleted file mode 100644
index e69de29b..00000000
--- a/docs/Standard/Term/setting.md
+++ /dev/null
diff --git a/docs/Standard/what-is-rule-package.md b/docs/Standard/what-is-rule-package.md
deleted file mode 100644
index da402b6a..00000000
--- a/docs/Standard/what-is-rule-package.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: "什么是规则包?"
----
-
-规则包是水系核心用来加载的对象,可以理解为水系核心加载的一个一个规则实例。
-
-规则包更类似于插件的设计,所以规则包也可以是一个Python文件或者一个Python包,但它必须像插件那样继承一个像Plugin这样的类(不然无法读取,我们姑且叫这个类为Rule),以及在Rule的子类里实现一些像handle()或者rule()这样必须实现的方法(也叫函数),而这些必须实现的方法,就是我们要讨论的,一个通用规则包标准就是明确了一个继承自Rule类的子类它本身应该实现什么方法。
-
-举个例子(随便写的,其中一些必须实现的属性或者类名都是不确定的,以后或许会改):
-
-``` python
-from HydroRolicore import RuLe
-
-class MyRule(Rule):
- """我的自定义规则包
-
- check 函数是必须实现的方法之一
- name属性是必须实现的属性之一,用来定义这个规则包的名字
- priority是可选实现的属性之一,默认0
- """
-
- name = "我的自定义规则包"
- priority = 0 # 优先级
-
- def check(self):
- """检定方法
-
- self.result 是需要检定时计算的结果,可以直接使用
- self.rule.ability 是Rule类里提供的用于判断检定情况的属性
- """
-
- if self.result < 5 and self.result > 0:
- return self.rule.ability.success # 返回大成功时骰主自定义的大成功文本
- else:
- ... # 其他的检定情况
-```
-
-这样就实现了一个水系规则包,当pl使用检定掷骰指令时就会调用check()方法,如果检定结果数值小于5且大于0那么返回大成功。
-
-我们要做的通用规则包标准就是这样一个“到底需要在Rule的子类MyRule里必须实现哪些方法?”的问题。
diff --git a/docs/Standard/what-is-standard.md b/docs/Standard/what-is-standard.md
deleted file mode 100644
index e69de29b..00000000
--- a/docs/Standard/what-is-standard.md
+++ /dev/null
diff --git a/docs/Standard/why-rule-package.md b/docs/Standard/why-rule-package.md
deleted file mode 100644
index e69de29b..00000000
--- a/docs/Standard/why-rule-package.md
+++ /dev/null