43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
import io
|
|
import json
|
|
import pathlib
|
|
import sys
|
|
|
|
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf8", errors="replace")
|
|
sys.path.insert(0, str(pathlib.Path(".").resolve()))
|
|
|
|
import roadmap as R
|
|
|
|
sd = json.loads(pathlib.Path("save_snapshot/AutoSave0.json").read_text("utf8"))
|
|
unlocked = set(sd["BellManager"].get("UnLockBigMapMaskWidgetNames") or [])
|
|
EARLY = ("悲泣溪谷", "血色森林", "陆家村")
|
|
|
|
rows = R.build(R.Save())
|
|
print("当前进度:陆家村(阶段 3 / 10)|已解锁:悲泣溪谷 / 血色森林 / 陆家村\n")
|
|
|
|
print("=== A. 前三张图里还没完成的节点(应该是遗漏或位置错)===")
|
|
n = 0
|
|
for r in rows:
|
|
if r["type"] != "node":
|
|
continue
|
|
if r["map"] not in EARLY:
|
|
continue
|
|
if r["code"] in ("done", "item", "ach"):
|
|
continue
|
|
n += 1
|
|
print(f" {r['code']:<7} {r['name'][:24]:<26} {r.get('quest') or ''}")
|
|
print(f" → 共 {n} 条")
|
|
|
|
print("\n=== B. 未解锁地图里却已完成/进行中的节点(位置可能排太前)===")
|
|
n2 = 0
|
|
for r in rows:
|
|
if r["type"] != "node":
|
|
continue
|
|
if r["map"] in EARLY:
|
|
continue
|
|
if r["code"] not in ("done", "active"):
|
|
continue
|
|
n2 += 1
|
|
print(f" {r['code']:<7} [{r['map']}] {r['name'][:24]:<26} {r.get('quest') or ''}")
|
|
print(f" → 共 {n2} 条")
|