feat: add native Tomie adapter and strict import compatibility checks

This commit is contained in:
mrleo1nid committed 2026-10-25 11:02:52 +03:00
1 parent c8d83b3fe7
commit 57a4edcbfd
45 files changed
+2985 -71

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ def _build_index(game_hash: str, scripts: tuple[tuple[str, str], ...]) -> TextIn
idx.strings.setdefault(item["text"], "menu")
elif op == "show" and isinstance((node.get("img") or {}).get("text"), str):
idx.strings.setdefault(node["img"]["text"], "text")
elif op in {"say", "nani_add_choice"} and node.get("tid"):
elif op in {"say", "nani_add_choice", "nani_command"} and node.get("tid") and "what" in node:
who = node.get("whoStr") or ""
if not who and node.get("who"):
c = chars.get(node["who"], {})