(set: $counter to 90)
Decide within |amount>[$counter] seconds!
(live: 1s)[(set: $counter to it -1)
(if: $counter is 0)[(go-to: "CollapseEnding")]
(replace: ?amount)[$counter]]
<img src="https://i.postimg.cc/zGjtwjW2/u5418567449-You-awaken-in-a-crumbling-archive-Dust-rains-fro-e6fbd7c3-2e3a-44ba-995e-a582c2c8c805-1.png" />
You awaken in a crumbling archive. Dust rains from the ceiling.
You feel you don’t have much time...
[[Explore the Hall of Equations->Ciphers]]
[[Enter the Shelf Maze->Shelves]]
[[Search the Scriptorium->Scriptorium]]
[[Climb the Astral Observatory->Observatory]]
(set: $ciphersSolved to false)
(set: $shelvesSolved to false)
(set: $scrollSolved to false)
(set: $observatorySolved to false)
(set: $riddlesSolved to false)(set: $counter to 60)
Decide within |amount>[$counter] seconds!
(live: 1s)[(set: $counter to it -1)
(if: $counter is 0)[(go-to: "CollapseEnding")]
(replace: ?amount)[$counter]]
Ciphers
<img src="https://i.postimg.cc/j2mDw4w2/u5418567449-You-find-a-cracked-desk-with-a-manuscript-The-te-c18fba76-39a4-4f1f-8021-9e7b4d9f13c5-1.png" />
You find a cracked desk with a manuscript. The text is encrypted with numbers.
*"To unlock this passage, solve the equation."*
What is **12 × 7 + 4** ?
[[88->CiphersWrong]]
[[90->CiphersWrong]]
[[92->CiphersCorrect]]<img src="" />
The equation resolves into letters—hidden passages open deeper into the archive.
[[Descend into the Shelf Maze->Shelves]]<img src="" />
The numbers blur, collapsing into nonsense. The ceiling groans overhead.
[[Try again->Ciphers]]<img src="https://i.postimg.cc/C1MBW1ph/u5418567449-The-ceiling-gives-way-Dust-and-stone-engulf-you-302b68a1-fc64-4af1-b218-f0f3b376a9d1-0.png" />
The ceiling gives way. Dust and stone engulf you.
***ENDING: Buried in the Archive***<img src="https://i.postimg.cc/vBPgMsGW/u5418567449-You-clutch-the-tome-and-dash-for-the-exit-v-6-5cf638a6-45db-4b06-adfd-e43d20dd0c7f-3.png" />
You clutch the tome and dash for the exit.
Behind you, the archive collapses.
***ENDING: Escape with a Precious Tome***<img src="https://i.postimg.cc/2SpqCTNX/u5418567449-You-sit-upon-the-pedestal-The-tome-glows-and-the-e3e3cc41-9cf5-42bd-8f24-ab21926402c9-1.png" />
You sit upon the pedestal. The tome glows, and the ceiling halts its collapse.
You will remain here, forever, as the archive’s new guardian.
***ENDING: The Eternal Librarian***(set: $counter to 60)
Decide within |amount>[$counter] seconds!
(live: 1s)[(set: $counter to it -1)
(if: $counter is 0)[(go-to: "CollapseEnding")]
(replace: ?amount)[$counter]]
<img src="https://i.postimg.cc/L8f1PwVp/u5418567449-You-climb-a-spiral-stair-The-dome-above-glows-fa-b2364ca5-1aaa-4f9b-bdb1-1e0cf22fb553-0.png" />
You climb a spiral stair. The dome above glows faintly with star charts.
*"Match the constellation to its sum."*
What is **15 + 27** ?
[[32->ObservatoryWrong]]
[[42->ObservatoryCorrect]]
[[44->ObservatoryWrong]](set: $observatorySolved to true)
The chart glows, forming a guiding star.
[[Follow the star into the Hall of Riddles->Riddles]]<img src="https://i.postimg.cc/C1MBW1ph/u5418567449-The-ceiling-gives-way-Dust-and-stone-engulf-you-302b68a1-fc64-4af1-b218-f0f3b376a9d1-0.png" />
The chart burns to ash, the stars vanish.
[[Try again->Observatory]](set: $counter to 60)
Decide within |amount>[$counter] seconds!
(live: 1s)[(set: $counter to it -1)
(if: $counter is 0)[(go-to: "CollapseEnding")]
(replace: ?amount)[$counter]]
<img src="https://i.postimg.cc/wx2pvh42/u5418567449-You-enter-a-narrow-corridor-A-statue-whispers-an-9bb6f653-f756-46db-a737-23ca70ee5d28-0.png" />
You enter a narrow corridor. A statue whispers:
*"Solve my riddle or join the dust."*
**Riddle:** *I speak without a mouth and hear without ears. I have no body, but I come alive with wind. What am I?*
[[An Echo->RiddlesCorrect]]
[[A Whisper->RiddlesWrong]]
[[A Spirit->RiddlesWrong]]<img src="" />
(set: $riddlesSolved to true)
The statue’s eyes close. A hidden door opens to the Vault where there is a hidden manuscript.
(if: $ciphersSolved is true and $shelvesSolved is true and $scrollSolved is true and $observatorySolved is true)[
[[Enter the Vault (all mysteries solved)->TrueEnding]]
]
(else:)[
[[Proceed to the Inner Vault->Vault]]
]<img src="" />
The statue’s mouth cracks wider. Dust showers down.
[[Try again->Riddles]](set: $counter to 60)
Decide within |amount>[$counter] seconds!
(live: 1s)[(set: $counter to it -1)
(if: $counter is 0)[(go-to: "CollapseEnding")]
(replace: ?amount)[$counter]]
<img src="https://i.postimg.cc/ZKXNC4pH/u5418567449-Fragments-of-parchment-lie-scattered-Inked-diagr-baecb195-6a4f-4dcc-9d18-ef605a27d877-3.png" />
Fragments of parchment lie scattered. Inked diagrams show shapes and numbers.
*"To mend the scroll, balance the sum of angles in a triangle."*
[[90 degrees->ScrollWrong]]
[[120 degrees->ScrollWrong]]
[[180 degrees->ScrollCorrect]](set: $scrollSolved to true)
The fragments glow and realign: *"The key to survival is not escape, but remembrance."*
[[Climb toward the Observatory->Observatory]]<img src="https://i.postimg.cc/3Ndyxcwz/u5418567449-You-enter-a-maze-of-toppled-shelves-Dusty-tomes-3335b634-fb0e-4e8b-87d1-41652e079842-3.png" />
The parchment tears further. Dust rains from the ceiling.
[[Try again->Scriptorium]](set: $counter to 60)
Decide within |amount>[$counter] seconds!
(live: 1s)[(set: $counter to it -1)
(if: $counter is 0)[(go-to: "CollapseEnding")]
(replace: ?amount)[$counter]]
<img src="https://i.postimg.cc/PqQv3DcV/u5418567449-The-shelves-grind-into-place-with-a-heavy-click-33ff1b4c-e2c7-48a3-a3b4-dd6d7e820273-2.png" />
You enter a maze of toppled shelves. Dusty tomes are scattered, but three stand upright: Zoology, Botany, Astronomy.
They must be ordered **by their shelf numbers**, revealed in faded chalk: Zoology (12), Botany (5), Astronomy (8).
Which is the correct order (lowest → highest)?
[[Botany (5) - Astronomy (8) - Zoology (12)->ShelvesCorrect]]
[[Astronomy (8) - Zoology (12) - Botany (5)->ShelvesWrong]]
[[Zoology (12) - Botany (5) - Astronomy (8)->ShelvesWrong]]<img src="" />
The shelves grind into place with a heavy click. A stairwell opens downward.
[[Descend into the Scriptorium->Scriptorium]]<img src="https://i.postimg.cc/3Ndyxcwz/u5418567449-You-enter-a-maze-of-toppled-shelves-Dusty-tomes-3335b634-fb0e-4e8b-87d1-41652e079842-3.png" />
The shelves collapse loudly, echoing through the archive.
[[Try again->Shelves]]The archive is collapsing and time is running out.
Ahead lie locked chambers each sealed by puzzles and riddles.
Solve them, or be lost with the ruins.
<img src="https://i.postimg.cc/XJm4j3Y5/u5418567449-The-archive-is-collapsing-and-time-is-running-out-72c3feb7-f7de-4ffc-9b64-0ac0a2c106b3-3.png" />
[[Begin]]<img src="https://i.postimg.cc/8CSKMYj6/u5418567449-The-ceiling-stops-collapsing-A-light-guides-you-48f143d1-07c3-410d-96e9-2e358c936cd5-1.png" />
The tome opens by itself. All fragments, numbers, and riddles converge into a final truth:
*This archive was not meant to be hidden—it was meant to be remembered through you.*
The ceiling stops collapsing. A light guides you out, tome in hand, knowledge preserved.
***ENDING: The True Archivist***(set: $counter to 60)
Decide within |amount>[$counter] seconds!
(live: 1s)[(set: $counter to it -1)
(if: $counter is 0)[(go-to: "CollapseEnding")]
(replace: ?amount)[$counter]]
<img src="https://i.postimg.cc/vHxgRkkV/u5418567449-You-reach-the-Inner-Vault-A-single-tome-glows-on-4481af2c-2edb-4995-a05f-b45a5193b713-1.png" />
You reach the Inner Vault. A single tome glows on a pedestal.
The tome recognizes your mastery. It opens by itself, pages turning.
[[Read the tome->TrueEnding]]
[[Take the tome and flee->EscapeEnding]]
[[Stay and preserve the archive->LibrarianEnding]]
[[Hesitate too long->CollapseEnding]]