From 74b0146bc12d477616b4d004d0dd16303b344512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Sat, 18 Apr 2026 16:19:39 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=84=9A=E6=9C=AC:=20=E9=80=90=E5=AD=97=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=EF=BC=9A=E9=80=82=E5=90=88=E4=BA=8E=E6=96=87=E5=AD=97=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=20=E2=80=94=20by=20ioo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script_library/scripts/basic/script_mo42gfjn.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 script_library/scripts/basic/script_mo42gfjn.py diff --git a/script_library/scripts/basic/script_mo42gfjn.py b/script_library/scripts/basic/script_mo42gfjn.py new file mode 100644 index 0000000..7c21644 --- /dev/null +++ b/script_library/scripts/basic/script_mo42gfjn.py @@ -0,0 +1,17 @@ +# 欢迎使用 PythonIDE!如果觉得好用,请给个好评哦~ +import time +def show(text,s=0.1): + for i in list(text): + print(i,end="") + time.sleep(s) + print("") +def text(text): + if text.startswith("/i"): + show(text[2:]) + return input() + else: + show(text) +L=["你好","欢迎来到这里","/i你的名字?"] +for k in L: + i=text(k) + print(i if i else "",end="\n" if i else "") \ No newline at end of file From 75adefa7d43a2707aab4f7327f1aab42b924a2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=8A=E6=99=9A=E6=89=93=E8=80=81=E8=99=8E?= Date: Sat, 18 Apr 2026 16:19:41 +0800 Subject: [PATCH 2/2] =?UTF-8?q?[=E6=8A=95=E7=A8=BF]=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=20index.json:=20=E6=B7=BB=E5=8A=A0=20=E9=80=90=E5=AD=97?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=EF=BC=9A=E9=80=82=E5=90=88=E4=BA=8E=E6=96=87?= =?UTF-8?q?=E5=AD=97=E6=B8=B8=E6=88=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script_library/index.json | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/script_library/index.json b/script_library/index.json index 6819c2f..a26f2d1 100644 --- a/script_library/index.json +++ b/script_library/index.json @@ -1,7 +1,7 @@ { "format_version": 1, - "data_version": 95, - "updated": "2026-04-17T18:24:51.985Z", + "data_version": 96, + "updated": "2026-04-18T08:19:40.482Z", "announcement": null, "categories": [ { @@ -1654,6 +1654,29 @@ "updated": null, "status": "active", "lines": 26 + }, + { + "id": "script_mo42gfjn", + "name": "逐字显示:适合于文字游戏", + "name_en": "逐字显示:适合于文字游戏", + "desc": "/i开头是问句,正常就是显示,修改L列表就可以做到剧情游戏了", + "desc_en": "/i开头是问句,正常就是显示,修改L列表就可以做到剧情游戏了", + "category": "basic", + "file": "scripts/basic/script_mo42gfjn.py", + "thumbnail": null, + "version": 1, + "file_type": "py", + "author": "ioo", + "author_en": "ioo", + "tags": [ + "community" + ], + "requires": [], + "min_app_version": "1.5.0", + "added": "2026-04-18", + "updated": null, + "status": "active", + "lines": 17 } ] }