[PR #2106] [MERGED] feat(otome-forge): each affection level costs 50 more than the last (0.8.6) #2119

Closed
opened 2026-11-07 16:39:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2106
Author: @SpicyMarinara
Created: 11/4/2026
Status: ✅ Merged
Merged: 11/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/otome-affection-curve


📝 Commits (1)

  • e16e38a feat(otome-forge): each affection level costs 50 more than the last (0.8.6)

📊 Changes

20 files changed (+335 additions, -314 deletions)

View changed files

➕ artifacts/otome-forge-0.8.6.zip (+0 -0)
📝 catalog/preview/catalog.json (+8 -8)
📝 catalog/preview/notes.json (+6 -6)
📝 catalog/preview/v2/catalog.json (+8 -8)
📝 catalog/preview/v2/notes.json (+6 -6)
📝 catalog/preview/v3/catalog.json (+8 -8)
📝 catalog/preview/v3/notes.json (+6 -6)
📝 packages/otome-forge/CHANGELOG.md (+4 -0)
📝 packages/otome-forge/README.md (+40 -40)
📝 packages/otome-forge/client.js (+42 -42)
📝 packages/otome-forge/manifest.json (+5 -5)
📝 packages/otome-forge/server.mjs (+136 -136)
📝 packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts (+22 -9)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/otome-forge-beats.regression.ts (+2 -2)
📝 tests/otome-forge-confrontation.regression.ts (+2 -2)
📝 tests/otome-forge-pity.regression.ts (+1 -1)
📝 tests/otome-forge-prestige.regression.ts (+3 -3)
📝 tests/otome-forge-stages.regression.ts (+2 -1)
📝 tests/otome-forge-state-caps.regression.ts (+33 -30)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #2105

Why this change

Every affection level cost a flat 300, so the early levels came slowly and the late ones meant no more than the first. The maintainer's curve: 200 for level 1→2, then 50 more for each level, up to 600 for 9→10. Past level 10, every 300 affection stays a prestige point.

What changed

  • shared/economy.ts: LEVEL_COSTS (200, 250, … 600) and levelFloor(level) replace the flat 300 in levelOf, affectionProgressOf, MAX_LEVEL_POINTS (now 3,600) and affectionFloorOf. Between you now shows the points needed for the next level, which grows each level. POINTS_PER_LEVEL stays 300 for prestige, so prestige works the same past level 10.

    Level 2 3 4 5 6 7 8 9 10
    This level costs 200 250 300 350 400 450 500 550 600
    Reached at 200 450 750 1,100 1,500 1,950 2,450 3,000 3,600
  • Route chapters still open at levels 3, 5, 7, 8 and 10; with the new curve those are 450, 1,100, 1,950, 2,450 and 3,600 affection (were 600, 1,200, 1,800, 2,100 and 2,700).

  • README: the affection progress line names the new costs.

  • Otome Hearth 0.8.6 with its release note; rebuilt client.js, server.mjs, the manifest, the preview catalogs and artifacts/otome-forge-0.8.6.zip. The 0.8.4 and 0.8.5 zips are byte-identical to staging's.

  • Tests that pinned the flat 300 now use the new floors or numbers (state caps, stages, prestige, pity, Confrontation, Side with).

Package and security impact

  • Affected package IDs: otome-forge (0.8.5 → 0.8.6).
  • Engine compatibility impact: none.
  • New or changed permissions/entrypoints: none.

Validation

  • Manually verify Story → Between you shows "x / 200" at level 1 and a growing target at each later level.
  • Manually verify, in a story saved before this update, that the love interests' levels and unlocked route chapters look right after updating.

Agent-run checks (for reference):

  • node scripts/typecheck-packages.mjs otome-forge: no strict errors.
  • pnpm test:otome-forge: 669/669 TypeScript and 13/13 .mjs regressions pass.
  • npm run check: passes.

Known limits:

  • Saved stories: a level is worked out from the love interest's stored affection, so after updating a love interest may show a different level. Below 1,800 affection a love interest keeps their level or gains one. From 1,800 the new curve is steeper, so they can show up to two levels lower: 2,700 (level 10 before) is now level 8, and level-10 features (the Memory Selector, prestige) wait until 3,600. A route stage they already reached stays reached, and extra stories already written stay.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/2106 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 11/4/2026 **Status:** ✅ Merged **Merged:** 11/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/otome-affection-curve` --- ### 📝 Commits (1) - [`e16e38a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e16e38aa406bf603e5a571504ce67e3e46c7948f) feat(otome-forge): each affection level costs 50 more than the last (0.8.6) ### 📊 Changes **20 files changed** (+335 additions, -314 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/otome-forge-0.8.6.zip` (+0 -0) 📝 `catalog/preview/catalog.json` (+8 -8) 📝 `catalog/preview/notes.json` (+6 -6) 📝 `catalog/preview/v2/catalog.json` (+8 -8) 📝 `catalog/preview/v2/notes.json` (+6 -6) 📝 `catalog/preview/v3/catalog.json` (+8 -8) 📝 `catalog/preview/v3/notes.json` (+6 -6) 📝 `packages/otome-forge/CHANGELOG.md` (+4 -0) 📝 `packages/otome-forge/README.md` (+40 -40) 📝 `packages/otome-forge/client.js` (+42 -42) 📝 `packages/otome-forge/manifest.json` (+5 -5) 📝 `packages/otome-forge/server.mjs` (+136 -136) 📝 `packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/economy.ts` (+22 -9) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/otome-forge-beats.regression.ts` (+2 -2) 📝 `tests/otome-forge-confrontation.regression.ts` (+2 -2) 📝 `tests/otome-forge-pity.regression.ts` (+1 -1) 📝 `tests/otome-forge-prestige.regression.ts` (+3 -3) 📝 `tests/otome-forge-stages.regression.ts` (+2 -1) 📝 `tests/otome-forge-state-caps.regression.ts` (+33 -30) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #2105 ## Why this change Every affection level cost a flat 300, so the early levels came slowly and the late ones meant no more than the first. The maintainer's curve: 200 for level 1→2, then 50 more for each level, up to 600 for 9→10. Past level 10, every 300 affection stays a prestige point. ## What changed - `shared/economy.ts`: `LEVEL_COSTS` (200, 250, … 600) and `levelFloor(level)` replace the flat 300 in `levelOf`, `affectionProgressOf`, `MAX_LEVEL_POINTS` (now 3,600) and `affectionFloorOf`. **Between you** now shows the points needed for the next level, which grows each level. `POINTS_PER_LEVEL` stays 300 for prestige, so prestige works the same past level 10. | Level | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |---|---|---|---|---|---|---|---|---|---| | This level costs | 200 | 250 | 300 | 350 | 400 | 450 | 500 | 550 | 600 | | Reached at | 200 | 450 | 750 | 1,100 | 1,500 | 1,950 | 2,450 | 3,000 | 3,600 | - Route chapters still open at levels 3, 5, 7, 8 and 10; with the new curve those are 450, 1,100, 1,950, 2,450 and 3,600 affection (were 600, 1,200, 1,800, 2,100 and 2,700). - README: the affection progress line names the new costs. - Otome Hearth **0.8.6** with its release note; rebuilt `client.js`, `server.mjs`, the manifest, the preview catalogs and `artifacts/otome-forge-0.8.6.zip`. The 0.8.4 and 0.8.5 zips are byte-identical to staging's. - Tests that pinned the flat 300 now use the new floors or numbers (state caps, stages, prestige, pity, Confrontation, Side with). ## Package and security impact - **Affected package IDs:** `otome-forge` (0.8.5 → 0.8.6). - **Engine compatibility impact:** none. - **New or changed permissions/entrypoints:** none. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] Manually verify **Story → Between you** shows "x / 200" at level 1 and a growing target at each later level. - [ ] Manually verify, in a story saved before this update, that the love interests' levels and unlocked route chapters look right after updating. Agent-run checks (for reference): - `node scripts/typecheck-packages.mjs otome-forge`: no strict errors. - `pnpm test:otome-forge`: 669/669 TypeScript and 13/13 .mjs regressions pass. - `npm run check`: passes. Known limits: - **Saved stories:** a level is worked out from the love interest's stored affection, so after updating a love interest may show a different level. Below 1,800 affection a love interest keeps their level or gains one. From 1,800 the new curve is steeper, so they can show up to two levels lower: 2,700 (level 10 before) is now level 8, and level-10 features (the Memory Selector, prestige) wait until 3,600. A route stage they already reached stays reached, and extra stories already written stay. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:39:38 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#2119
No description provided.