0a7076d5b9
Rewrites the i18n system introduced in PR #94 to use Next.js App Router [locale] dynamic segments with SSR-rendered translations and proper middleware locale routing. - Add middleware locale detection: / rewrites to /zh-CN/ internally, /en and /ja pass through, /zh-CN/... redirects to bare path - Move all 7 pages under app/[locale]/ with SSR translation injection - Fix server→client serialization: pre-evaluate function-valued translations (makeSerializable) to eliminate hydration flash - Fix language switch key flash: use hard navigation with localStorage- only persistence, avoiding React state update before page reload - Add <link rel="alternate" hreflang> tags for multilingual SEO - Fix Supabase setAll overwriting locale rewrite response - Trim locales from 22 to 3 (zh-CN/en/ja), delete 19 incomplete files - LLM-translate 240 firstact game preset JSONs (en + ja, landscape + portrait) and story titles via gemini-3.5-flash - Delete 11 one-off migration scripts and outdated i18n docs - Add useLocalePath hook and navigation utilities Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 line
6.9 KiB
JSON
1 line
6.9 KiB
JSON
{"sessionId":"s_1780422870855_szcuk2","scene":{"id":"scene_1780422902463_l857","scenePrompt":"Wide establishing shot of a gothic cathedral interior, cold stone altar at center, vertical composition. Stained glass style, translucent jewel-colored panels with bold black leading lines. A single shaft of light illuminates the altar, where a faint crimson stain spreads. Through a large rose window behind the altar, a massive blood-red rose is partially visible, its petals beginning to unfurl. Beyond the glass, the blurry, pale face of a figure on a sickbed can be discerned. The atmosphere is cold, solemn, and ethereal, with the light filtering through the stained glass casting colored patterns on the stone floor.","beats":[{"id":"b1","narration":"The icy stone slab presses against your spine. The slit on your wrist is like a gaping mouth, blood flowing out submissively, seeping through the cracks of the stained-glass window toward the massive, budding crimson rose outside. The rose's stem pulses faintly, as if... breathing.","next":{"type":"continue","nextBeatId":"b2"}},{"id":"b2","narration":"You cast your gaze toward the stained-glass window. Through the multicolored glass, the pale figure on the sickbed seems to stir. It's... Adrian. Yes, Adrian. Just now, it actually took you ten whole seconds to remember his name.","next":{"type":"continue","nextBeatId":"b3"}},{"id":"b3","narration":"A piercing chill washes over your chest, colder than the stone slab. You try to recall his smile, but your memories are like water-soaked paper, blurred and bleeding. Fear wraps around your heart like vines—you are forgetting. You are losing the ability to love him.","next":{"type":"choice","choices":[{"id":"c1","label":"Desperately try to recall his face","effect":{"kind":"advance-beat","targetBeatId":"b4"}},{"id":"c2","label":"Look toward the rose","effect":{"kind":"advance-beat","targetBeatId":"b5"}}]}},{"id":"b4","narration":"Griting your teeth, you desperately try to picture his face in your mind. His brows, his eyes, the corners of his mouth... but the details slip through your fingers like sand. In the end, you can only recall his hollow, lifeless eyes on the sickbed.","next":{"type":"continue","nextBeatId":"b6"}},{"id":"b5","narration":"You turn your gaze outside. The bud of the crimson rose glows with an eerie red light, swelling at a pace visible to the naked eye. It has drunk its fill of your blood, your memories, your emotions. It is beautiful—so beautiful it makes your stomach churn.","next":{"type":"continue","nextBeatId":"b6"}},{"id":"b6","speaker":"You","line":"Is this really... salvation?","next":{"type":"choice","choices":[{"id":"b6__exit","label":"Continue","effect":{"kind":"change-scene","nextSceneSeed":"The story continues"}}]}}],"entryBeatId":"b1","sceneKey":"cathedral-altar-night","imageUuid":"54ba1382-698a-4a65-9c47-82e2c3076618","imageUrl":"/home/firstscene/f6.webp"},"imageUrl":"/home/firstscene/f6.webp","characters":[],"storyState":{"logline":"To save your dying lover, you voluntarily become the church's Blood Sacrifice Saint, only to discover that the price of the healing rose is the gradual loss of all your emotions, turning you into a cold, sacred relic—and the true conspiracy has only just begun.","genreTags":"Gothic Angsty Romance / Melodramatic Twists / Bloody Romance / Self-Sacrifice & Redemption","protagonist":"You are the 'Blood Sacrifice Saint' of the Holy Blood Church, once an ordinary girl. To cure your terminally ill lover, you voluntarily lay upon the altar, nourishing the crimson rose with your blood. Right now, you lie on the altar, feeling your life force and emotions drain away together. You long for your lover to recover and reunite with you, yet you dread that you will ultimately become an emotionless shell. Your secret: you are beginning to suspect that this 'healing' was a scam from the very start.","castNotes":"Adrian: Your deeply beloved partner, who was once on the brink of death from a terminal illness. Now healed by the rose, he is radiant, yet he seems to turn a blind eye to your fading memories and growing coldness, and a strange fanaticism occasionally flashes in his eyes. His recovery is a beacon of hope, but also the first cause for suspicion.\nHigh Priest Cassius: The authoritative clergyman who presides over the blood sacrifice ritual and claims your sacrifice will save everything. He speaks with mercy, but his eyes are cold as iron as he constantly monitors the state of the rose and yourself. His relationship with you is that of 'savior' and 'sacred relic,' but his true motives remain shrouded in the shadows of the church.","synopsis":"As the Blood Sacrifice Saint, you lie on the church altar, your blood nourishing the crimson rose outside the window. The rose is about to bloom, and your lover Adrian is on the verge of recovery, but you are rapidly losing your emotions and memories, struggling even to remember his name. You begin to doubt the truth behind this 'healing.'","openThreads":["Your blood, memories, and emotions are being absorbed by the rose—is this truly a cure?","High Priest Cassius is about to make his entrance; what is his true motive?","How will Adrian view you once he is fully healed?"],"relationships":["Adrian: Your deeply beloved partner, soon to be healed by the rose, though you have already begun to forget his face.","High Priest Cassius: Has not yet appeared; he is the mastermind behind this ritual."],"nextHook":"Next Scene: High Priest Cassius appears before the altar holding a silver dagger, seemingly prepared to perform the next step of the ritual, while the look he casts upon the rose carries a fanaticism you have never seen before."},"cardName":"f6","cardTitle":"Crown of Thorns","cardGender":"Female-oriented","worldSetting":"This is an AI interactive story game targeted at a [Female-oriented] audience, featuring intense dramatic conflicts and rapid plot twists in the style of short-form web dramas.\nStory Style: Multi-branching twists. Pacing: Fast-paced and thrilling.\nOpening setup for the featured story 'Crown of Thorns': To cure her lover, she voluntarily becomes the church's 'Blood Sacrifice Saint.' Her blood flows through the stained-glass window, nourishing a crimson rose capable of healing all ailments. As the rose blooms and her lover recovers, she gradually loses her human emotions, becoming a sacred relic of the church.\nPlease dive straight into this opening to give the player a strong sense of immersion and instant gratification; subsequent branches should maintain the high twist density of short dramas, ensuring players see immediate consequences for every choice.","styleGuide":"Stained glass style, vertical composition. A breathtakingly beautiful angelic female knight with long flowing silver hair and a serene expression, wielding a glowing sword framed by a gothic archway. Translucent jewel-colored panels, bold black leading lines. The light shines through like a cathedral window.","imageUrlRemote":"https://im.runware.ai/image/os/a02d21/ws/3/ii/54ba1382-698a-4a65-9c47-82e2c3076618.png"} |