This commit is contained in:
EillesWan 2024-05-02 00:29:30 +08:00
commit 67ca76f408
2 changed files with 10 additions and 8 deletions

View File

@ -8,7 +8,9 @@
### [林纳克斯(Linux)与其衍生操作系统](./download%26start/Linux.md)
### [安卓(Android)与其衍生操作系统](./download%26start/Android.md)
## 使用教程
## 命令行版本的使用教程
> 注意,图形用户界面版本无需查看此内容。
1. 参数说明

View File

@ -180,19 +180,19 @@ def is_in_bdx_mcpack(sth: str):
)
def is_in_player(sth: str, in_ok: tuple):
def is_in_player(sth: str, in_ok: tuple = (0,1,2)):
return isin(
sth,
dict(
[
(i, v)
for i, v in [
0,
("delay", "0", "延迟", "帝蕾"),
1,
("score", "1", "计分板", "积分", "积分板", "计分", "斯阔尔"),
2,
("repeater", "2", "中继器", "瑞皮特"),
(0,
("delay", "0", "延迟", "帝蕾"),),
(1,
("score", "1", "计分板", "积分", "积分板", "计分", "斯阔尔"),),
(2,
("repeater", "2", "中继器", "瑞皮特"),),
]
if i in in_ok
]