feat(gamebook): screen text cap 1000 + bump fw
Match the firmware's scrolling body (no more clipped passages) and bump ESP32_ZACUS for the scroll fix + DELETE /game/file.
This commit was merged in pull request #184.
This commit is contained in:
+1
-1
Submodule ESP32_ZACUS updated: a70963f64a...0027970907
@@ -139,7 +139,7 @@ def build_book(path: Path, force: bool, dry: bool, ip: str) -> dict | None:
|
||||
manifest["passages"][pid] = {
|
||||
"wav": wav,
|
||||
"screen": fold(p.get("screen", ""))[:47],
|
||||
"text": fold(" ".join(p["text"].split()))[:500],
|
||||
"text": fold(" ".join(p["text"].split()))[:1000],
|
||||
"choices": [{"label": fold(c["label"])[:38], "goto": c["goto"]}
|
||||
for c in choices],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user