mirror of
https://github.com/motajs/template.git
synced 2026-11-17 09:34:30 +08:00
docs(10-11): 迭代修正读者阻断问题(第1轮)
- 修正 B-01..B-13 共 13 条阻断性理解问题(详见 10-11-READER-REVIEW.md 第 1 轮记录) - src-tour 新增「包从哪来」概念,并在用到包名 import 的篇目交叉引用 - 结构门禁 STRUCT-OK;构建 green、dead link = 0
This commit is contained in:
1 parent
b09da5b129
commit
927611182b
18 files changed
+166
-18
No files matched your search
@@ -25,7 +25,7 @@
|
||||
- `useItem(item)`:使用道具,**仅对 `Constant` 与 `Consumable` 生效**,`Consumable` 使用后数量减一;
|
||||
- `itemCount(item)`:获取指定道具的持有数量。
|
||||
|
||||
`item` 参数可以传道具的图块数字或字符串 id。
|
||||
`item` 参数可以传道具的图块数字或字符串 id(图块数字的含义见[地图图块](./map-tiles.md))。
|
||||
|
||||
```ts
|
||||
// 发一把黄钥匙(+1)
|
||||
|
||||
Reference in new issue
Block a user