mirror of
https://github.com/TriM-Organization/Linglun-Converter.git
synced 2024-11-28 16:15:25 +08:00
Merge branch 'master' of https://gitee.com/TriM-Organization/Linglun-Converter
This commit is contained in:
commit
67ca76f408
@ -8,7 +8,9 @@
|
|||||||
### [林纳克斯(Linux)与其衍生操作系统](./download%26start/Linux.md)
|
### [林纳克斯(Linux)与其衍生操作系统](./download%26start/Linux.md)
|
||||||
### [安卓(Android)与其衍生操作系统](./download%26start/Android.md)
|
### [安卓(Android)与其衍生操作系统](./download%26start/Android.md)
|
||||||
|
|
||||||
## 使用教程
|
## 命令行版本的使用教程
|
||||||
|
|
||||||
|
> 注意,图形用户界面版本无需查看此内容。
|
||||||
|
|
||||||
1. 参数说明
|
1. 参数说明
|
||||||
|
|
||||||
|
14
llc_cli.py
14
llc_cli.py
@ -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(
|
return isin(
|
||||||
sth,
|
sth,
|
||||||
dict(
|
dict(
|
||||||
[
|
[
|
||||||
(i, v)
|
(i, v)
|
||||||
for i, v in [
|
for i, v in [
|
||||||
0,
|
(0,
|
||||||
("delay", "0", "延迟", "帝蕾"),
|
("delay", "0", "延迟", "帝蕾"),),
|
||||||
1,
|
(1,
|
||||||
("score", "1", "计分板", "积分", "积分板", "计分", "斯阔尔"),
|
("score", "1", "计分板", "积分", "积分板", "计分", "斯阔尔"),),
|
||||||
2,
|
(2,
|
||||||
("repeater", "2", "中继器", "瑞皮特"),
|
("repeater", "2", "中继器", "瑞皮特"),),
|
||||||
]
|
]
|
||||||
if i in in_ok
|
if i in in_ok
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user