Sync catalog with vault: engine facet, Jaizu Emerald set, and PC placements.
Add engine annotation + MOC/wiki export support, a PC import staging helper, and refresh catalog.json after placing gated fan-games and new hack notes.
This commit is contained in:
@@ -75,6 +75,7 @@ def load_records(hacks_dir):
|
||||
"base": fm.get("base") or DASH,
|
||||
"version": fm.get("version") or DASH,
|
||||
"status": fm.get("status") or DASH,
|
||||
"engine": fm.get("engine") or DASH,
|
||||
"type": typ,
|
||||
})
|
||||
return recs
|
||||
@@ -159,17 +160,17 @@ def platform_static_table(recs):
|
||||
|
||||
def base_static_table(recs, with_base):
|
||||
if with_base:
|
||||
head = "| Hack | Base | Version | Dev | Type |\n|---|---|---|---|---|"
|
||||
head = "| Hack | Base | Version | Dev | Engine | Type |\n|---|---|---|---|---|---|"
|
||||
rows = [
|
||||
f"| [[{r['stem']}]] | {cell(r['base'])} | {cell(r['version'])} | "
|
||||
f"{cell(r['status'])} | {types_cell(r['type'])} |"
|
||||
f"{cell(r['status'])} | {cell(r['engine'])} | {types_cell(r['type'])} |"
|
||||
for r in sorted(recs, key=key)
|
||||
]
|
||||
else:
|
||||
head = "| Hack | Version | Dev | Type |\n|---|---|---|---|"
|
||||
head = "| Hack | Version | Dev | Engine | Type |\n|---|---|---|---|---|"
|
||||
rows = [
|
||||
f"| [[{r['stem']}]] | {cell(r['version'])} | {cell(r['status'])} | "
|
||||
f"{types_cell(r['type'])} |"
|
||||
f"{cell(r['engine'])} | {types_cell(r['type'])} |"
|
||||
for r in sorted(recs, key=key)
|
||||
]
|
||||
return head + "\n" + "\n".join(rows)
|
||||
|
||||
Reference in New Issue
Block a user