-
-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
699 additions
and
460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
sidebarDepth: 2 | ||
--- | ||
|
||
# 事件 | ||
|
||
## Event API | ||
|
||
## 扩展事件 | ||
|
||
### adventure/lose(itemMap, session, hints) | ||
|
||
在剧情中失去物品时触发。因售卖、物品数量溢出所导致的物品失去不计。 | ||
|
||
### adventure/gain(itemMap, session, hints) | ||
|
||
在剧情中获得物品时触发。因抽卡、购买所导致的物品获得不计。 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebarDepth: 2 | ||
--- | ||
|
||
# 基本用法 | ||
|
||
::: tip 提示 | ||
本章介绍的功能都由 koishi-plugin-adventure 插件提供。 | ||
::: | ||
|
||
::: danger 注意 | ||
koishi-plugin-adventure 现处于早期开发中,API 随时可能发生破坏性变更,同时也不保证此文档的即时性。 | ||
::: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.