Files
2026-09-09 14:47:29 +08:00

33 lines
1.0 KiB
PHP

<?php
declare(strict_types=1);
// ID-only registry verified against the original season-01 source:
// miniprogram/data/memoryCards.js and package-game/utils/comicReaderState.js.
// No story text, answers, patient data, or asset URLs belong in this registry.
$chapters = [];
for ($number = 1; $number <= 15; ++$number) {
$chapterId = sprintf('S01-C%02d', $number);
$chapters[] = [
'chapter_id' => $chapterId,
'chapter_number' => $number,
'hotspot_ids' => array_map(
static fn (int $event): string => sprintf('S01-H%02d', $event),
range(($number - 1) * 4 + 1, $number * 4)
),
'page_ids' => array_map(
static fn (int $page): string => sprintf('%s-P%02d', $chapterId, $page),
range(1, 8)
),
'memory_card_id' => $chapterId . '-MC01',
];
}
return [
'game_id' => 'tang-detective',
'schema_version' => 1,
'content_version' => 'season-01',
'max_body_bytes' => 32768,
'chapters' => $chapters,
];