openthebox/content/adventures/cosmic/intro.lor
Samuel Bouchet aeae979d05 Fix adventure parsing, add French accents, fix cosmetic translation bug
- Fix Loreline parsing: escape quotes in dialogue, remove [if] bracket
  syntax, remove # in text conflicting with tags
- Add French accents to all 9 .fr.lor translation files (hundreds of fixes)
- Fix cosmetic equip display: use item nameKey lookup instead of
  constructing key from cosmeticValue (fixes StardustLegendary MISSING)
- Deduplicate cosmetics in appearance menu
- Localize all hardcoded strings (welcome, inventory, adventure, cosmetic)
- Add new tests: Loreline parsing (19), cosmetic slot keys, slot+value
  uniqueness (302 total, 0 failures)
2026-03-11 20:40:07 +01:00

256 lines
13 KiB
Text

// Cosmic Adventure - Open The Box
// Theme: Reality is recursive boxes. Existential crisis guaranteed.
character quantum
name: Dr. Quantum
role: Physicist
character entity
name: The Box Entity
role: Cosmic Being
state
comprehension: 0
realitiesVisited: 0
existentialCrisis: 0
acceptedTruth: false
beat Intro
The Large Hadron Collider has detected something impossible. #intro-detection
Deep beneath the Swiss-French border, particles are arranging themselves into right angles. Perfect corners. Ninety-degree edges. #intro-particles
quantum: This can't be right. The particles are forming a... no. That's ridiculous. #quantum-right
quantum: They're forming a box. A subatomic box. Made of quarks arranged in a cube. #quantum-box
Your instruments are screaming. Not metaphorically. The spectrometer is literally making a screaming sound. #intro-screaming
choice
Investigate the subatomic box #opt-investigate
comprehension += 10
-> SubatomicBox
Run diagnostics on the instruments #opt-diagnostics
-> Diagnostics
Panic appropriately #opt-panic
existentialCrisis += 10
-> PanicFirst
beat Diagnostics
You run every diagnostic in the manual. Then diagnostics that aren't in the manual. Then diagnostics you made up. #diag-run
quantum: Instruments are functioning perfectly. Which means the universe is NOT functioning perfectly. #quantum-instruments
quantum: Or it's functioning exactly as intended, and we just didn't know the intention involved boxes. #quantum-intended
The readouts confirm it: reality is boxing itself. At the subatomic level, everything is becoming cubic. #diag-confirm
comprehension += 5
-> SubatomicBox
beat PanicFirst
You panic. It's brief but cathartic. You knock over a coffee cup. #panic-cup
quantum: Feel better? #quantum-feel
quantum: Good. Because the subatomic box just doubled in size. And it's humming Bach's Cello Suite No. 1. #quantum-bach
quantum: In B-flat. Which shouldn't be possible for a collection of quarks. #quantum-bflat
existentialCrisis += 5
-> SubatomicBox
beat SubatomicBox
You zoom in on the quantum box. It's beautiful. Impossibly symmetrical. #subatomic-zoom
quantum: The box is emitting a signal. It's not electromagnetic. It's not gravitational. #quantum-signal
quantum: It's... conceptual? The box is broadcasting an IDEA directly into the measurement apparatus. #quantum-conceptual
The idea is simple: \"Look closer.\" #subatomic-idea
comprehension += 10
choice
Look closer #opt-closer
realitiesVisited += 1
-> LookCloser
Look farther -- zoom out instead #opt-farther
realitiesVisited += 1
-> LookFarther
Refuse to look -- some ideas are traps #opt-refuse
existentialCrisis += 10
-> RefuseToLook
Derive the box's mathematical structure from its signal|||Your mind races with equations that might decode the pattern... #opt-enlightened if hasStat("Intelligence", 10)
-> CosmicEnlightened
beat CosmicEnlightened
markSecretBranch("cosmic_enlightened")
You grab a whiteboard and start writing. Equations pour out of you like water from a cosmic faucet. #enlightened-write
quantum: The signal isn't random. It's a proof. A mathematical proof that boxes are the fundamental topology of reality. #quantum-proof
quantum: Euler's formula, but for boxes. Every vertex, every edge, every face -- they all resolve to cubes. #quantum-euler
quantum: I've just unified quantum mechanics and general relativity. The answer was boxes. It was ALWAYS boxes. #quantum-unified
quantum: Twenty years of research, and the Grand Unified Theory is: put it in a box. #quantum-grand
The instruments recalibrate themselves. They didn't need your help -- they just needed someone to understand. #enlightened-recalibrate
comprehension += 30
realitiesVisited += 1
-> TheEntityAppears
beat RefuseToLook
You refuse. You're a scientist, not a box's puppet. #refuse-puppet
quantum: I'm choosing not to observe the box. Quantum mechanically, that means it doesn't -- #quantum-choose
The box observes YOU instead. #refuse-observe
You feel it. A sensation of being measured. Calculated. Categorized. #refuse-measured
quantum: Okay, THAT is unsettling. I've been quantified by a box. My eigenvalue is... \"adequate.\" #quantum-eigenvalue
quantum: ADEQUATE?! I have THREE PhDs! #quantum-phds
existentialCrisis += 15
-> LookCloser
beat LookCloser
You increase magnification by a factor of ten billion. Then another ten billion. #closer-magnify
Inside the subatomic box, there are smaller boxes. Inside those, smaller still. #closer-smaller
quantum: It's fractal. The box structure repeats at every scale. #quantum-fractal
quantum: Quarks are made of boxes. Those boxes are made of smaller boxes. All the way down. #quantum-alltheway
quantum: My entire career has been studying boxes without knowing they were boxes. #quantum-career
existentialCrisis += 10
comprehension += 20
-> TheEntityAppears
beat LookFarther
Instead of zooming in, you zoom out. Way out. Past the collider. Past Switzerland. Past Earth. #farther-zoom
quantum: If the subatomic level is boxes... what about the macroscopic level? #quantum-macro
You zoom past the solar system. Past the galaxy. Past the observable universe. #farther-past
And there it is. The edge. The universe has an edge, and the edge is... #farther-edge
quantum: It's a corner. The universe has a CORNER. #quantum-corner
quantum: The universe is a box. We live inside a box. Everything I know is inside a box. #quantum-universe
existentialCrisis += 20
comprehension += 20
realitiesVisited += 1
-> TheEntityAppears
beat TheEntityAppears
The instruments go silent. The humming stops. The lights flicker. #entity-silence
And then: a presence. Not visible. Not audible. But THERE, in a way that makes \"there\" feel inadequate. #entity-presence
entity: You found the corner. Most species take longer. #entity-found
quantum: Who-- WHAT are you? #quantum-what
entity: I am the Box Entity. I exist between the folds. In the spaces where the cardboard overlaps. #entity-between
entity: I have always been here. You just didn't have the resolution to see me. #entity-always
comprehension += 15
choice
Ask the Box Entity to explain reality #opt-explain
-> ExplainReality
Ask the Box Entity what's OUTSIDE the universe-box #opt-outside
-> WhatsOutside
Challenge the Box Entity's existence #opt-challenge
existentialCrisis += 10
-> ChallengeEntity
beat ChallengeEntity
quantum: You're not real. You can't be. Physics doesn't allow for cosmic box beings. #quantum-notreal
entity: Physics is the instruction manual printed inside the box. Of course it doesn't mention me. #entity-manual
entity: Do instruction manuals mention the person who wrote them? Exactly. #entity-writer
quantum: That's... actually a decent argument. I hate that it's a decent argument. #quantum-argument
existentialCrisis += 10
-> ExplainReality
beat ExplainReality
entity: Reality is simple. Everything is a box. #entity-simple
entity: Atoms are boxes containing energy. Cells are boxes containing atoms. Bodies are boxes containing cells. #entity-atoms
entity: Planets are boxes containing bodies. Solar systems are boxes containing planets. #entity-planets
entity: Galaxies are boxes containing solar systems. Universes are boxes containing galaxies. #entity-galaxies
quantum: And what contains the universe-box? #quantum-contains
entity: Another box. Obviously. #entity-another
comprehension += 20
choice
Ask what's in the box that contains the universe #opt-meta-box
realitiesVisited += 1
-> MetaBox
Ask if the recursion ever ends #opt-recursion
-> RecursionQuestion
Have the existential crisis you've been putting off #opt-crisis
existentialCrisis += 30
-> ExistentialCrisis
beat WhatsOutside
quantum: What's outside the universe-box? Is there a... meta-universe? #quantum-outside
entity: Outside the box is another box. And outside that box, another. #entity-outsidebox
entity: You're asking \"what's outside all the boxes?\" The answer is: the concept of a box. #entity-concept
entity: Before there was anything, there was the IDEA of containment. The ur-box. The first fold. #entity-urbox
quantum: You're saying the fundamental force of the universe isn't gravity or electromagnetism. It's... boxing? #quantum-boxing
entity: Containment. Organization. The desire to put things inside other things. Yes. Boxing. #entity-containment
comprehension += 25
-> RecursionQuestion
beat MetaBox
entity: Would you like to see? #entity-wouldsee
The walls of reality peel back. You see your universe from outside. It's a glowing box, floating in darkness. #meta-peel
Next to it: another glowing box. And another. And another. Infinite boxes, each a universe. #meta-infinite
quantum: There are infinite universes. Each one a box. #quantum-infinite
entity: And they're all inside a bigger box. Which is inside a bigger box. Which is-- #entity-bigger
quantum: I get it! Boxes! All the way up, all the way down! Can we STOP with the boxes?! #quantum-stop
entity: No. #entity-no
realitiesVisited += 1
comprehension += 20
existentialCrisis += 15
-> RecursionQuestion
beat RecursionQuestion
quantum: Does it ever end? Is there a final box? An ultimate container? #quantum-end
entity: That is the question every physicist, philosopher, and cardboard enthusiast has asked. #entity-question
entity: The answer is: there is one box that contains all other boxes, including itself. #entity-one
quantum: A box that contains itself? That's a paradox! #quantum-paradox
entity: Only if you think about it. So don't. #entity-dont
comprehension += 15
choice
Accept the recursive nature of reality #opt-accept
acceptedTruth = true
-> Acceptance
Reject it and try to find the edge #opt-reject
existentialCrisis += 20
-> RejectReality
Ask if you can open the final box #opt-final
-> FinalBox
beat ExistentialCrisis
quantum: I studied physics for twenty years. TWENTY YEARS. #quantum-twenty
quantum: I memorized the Standard Model. I solved differential equations for FUN. #quantum-standard
quantum: And it turns out the answer to everything is: it's a box. Just a box. #quantum-answer
entity: A very NICE box. #entity-nice
quantum: Oh, well, as long as it's a NICE box, that changes everything! #quantum-sarcasm
entity: Sarcasm. Interesting. That's a coping mechanism I haven't seen in a while. #entity-sarcasm
entity: The last species that discovered the truth just went very quiet for a billion years. #entity-quiet
comprehension += 10
-> FinalBox
beat RejectReality
quantum: No! There must be something that isn't a box! #quantum-reject
You search desperately. You examine circles. They're just boxes with very high polygon counts. #reject-circles
You examine spheres. Boxes with excellent PR. #reject-spheres
You examine abstract concepts like love and justice. Boxes for emotions and morals, respectively. #reject-abstract
quantum: Is my MIND a box?! #quantum-mind
entity: Specifically, a box of thoughts. Some assembled, some still flat-packed. #entity-mind
existentialCrisis += 20
-> FinalBox
beat Acceptance
quantum: You know what? Fine. Reality is boxes. I accept it. #quantum-fine
quantum: And honestly? It's elegant. Everything fits inside something else. Nothing is wasted. #quantum-elegant
quantum: It's the most organized universe possible. Marie Kondo would weep. #quantum-kondo
entity: She did. When she found out. Tears of joy. #entity-kondo
comprehension += 20
-> FinalBox
beat FinalBox
entity: You've come far enough. Would you like to see what's inside the very first box? #entity-first
entity: The box that started everything. The box that was before \"before\" was a concept. #entity-before
quantum: Yes. After everything I've seen, I need to know. #quantum-need
if acceptedTruth
The Box Entity opens the first box. Inside: a tiny spark. Warm. Bright. Alive. #final-spark
entity: That's the desire to know what's inside. The curiosity that makes boxes worth opening. #entity-curiosity
entity: Every box exists because something wanted to be found. Every opener exists because something wanted to find. #entity-every
quantum: That's... actually beautiful. In a box-shaped way. #quantum-beautiful
else
The Box Entity opens the first box. Inside: nothing. And everything. Simultaneously. #final-nothing
entity: The first box contained the possibility of all other boxes. Including you. #entity-possibility
quantum: I was in a box before I knew what boxes were. We all were. #quantum-inbox
entity: Now you understand. #entity-understand
-> Ending
beat Ending
The presence fades. The instruments come back online. The coffee cup is somehow unbroken. #ending-fades
quantum: Realities visited: $realitiesVisited. Comprehension level: $comprehension. Existential crises: $existentialCrisis. #quantum-stats
quantum: I need to rewrite every physics textbook ever published. #quantum-rewrite
quantum: Chapter 1: \"Everything Is A Box.\" Chapter 2: \"No, Really.\" Chapter 3: \"We're Sorry.\" #quantum-chapters
quantum: On second thought, maybe some boxes are better left unopened. #quantum-second
quantum: ...who am I kidding. I'm a scientist. I'll open every box I find. #quantum-kidding
quantum: Even if the box is the universe. Especially if the box is the universe. #quantum-especially
-> .