mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7470] [MERGED] feat(game): generated worlds 1/5: kits, worlds, history, living world, Overworld switch; market days, held riders #7748
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7748
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7470
Author: @kolacheee
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @kolacheee
Base:
staging← Head:feat/generated-worlds-1📝 Commits (10+)
1ab38f0feat(rulesets): market days: rare stock, limited items and selling back (#6934)f0c2771feat(rulesets): a rider can fire on held weapons by item tagdb76f47feat(game): setting kits, the words a world is written in and the kinds of change it has12d5a17fix(game): a setting kit write lands only on the kit it was asked for, and a broken kit blocks the setup download2c75317feat(game): make a world from a seed in the setting kit's words45d5c4dfeat(game): a world's people, drawn by the seed and named in their own culture's words26b7f42feat(game): a world's history, the world engine run from the founding to now467d789feat(game): the world's ledger, what the story does to a world0454601feat(game): a living world, the world engine stepping in play1640213Merge staging into feat/world-setting-kit📊 Changes
75 files changed (+12479 additions, -236 deletions)
View changed files
📝
.env.example(+3 -0)📝
CHANGELOG.md(+9 -0)📝
docs/CONFIGURATION.md(+1 -0)📝
docs/development/game-rulesets-and-sheets-implementation.md(+53 -3)📝
docs/examples/rulesets/gravewatch.json(+25 -7)📝
docs/extending/ruleset.schema.json(+90 -5)📝
docs/extending/writing-rulesets.md(+31 -4)📝
docs/game/getting-started.md(+34 -1)📝
docs/game/party-and-npcs.md(+1 -1)📝
e2e/game-experience-setup.e2e.ts(+415 -1)📝
e2e/game-ruleset-markets.e2e.ts(+177 -2)➕
e2e/game-world-places.e2e.ts(+520 -0)📝
packages/client/src/components/game/GameJournal.tsx(+6 -4)📝
packages/client/src/components/game/GameSetupWizard.tsx(+95 -18)➕
packages/client/src/components/game/GameSetupWorldChooser.tsx(+613 -0)➕
packages/client/src/components/game/GameSetupWorldKitChooser.tsx(+492 -0)📝
packages/client/src/components/game/GameSurface.tsx(+9 -1)➕
packages/client/src/components/game/game-setup-classes.ts(+9 -0)➕
packages/client/src/hooks/use-world-library.ts(+12 -0)📝
packages/client/src/lib/game-setup-share.ts(+20 -1)...and 55 more files
📄 Description
Linked issue
Part of #7468
Part of #7469
Targets
staging. This is the first of five stacked PRs for generated worlds; the other four build on this branch, so please review and merge them in order. It also carries two ruleset parts (market days and held-weapon riders) that the worlds code builds on.Why this change
What changed
market.places[]with a dailypurse,market.buyBack, a seller'sstock(a loot table rolled once a day) andlimitedon a sold rule or item. A day lasts until the Game Master names another place or writes[place: ... day="new"]; it is derived from the messages and seeded, so a reply's preview and save roll the same shelf.[inventory: action="sell"]pays a share of the fair price up to the day's purse, with named refusals;buycan besold-out. Prices are said in the coin the cost is written in (a 5e 50 gp potion is 50 gold pieces). Gravewatch, schema and docs updated.weapons: { tags }and fires on a held item weapon carrying one of those tags, off-hand strikes included; checked at import against the items block's tags.shared/src/features/world/*is its owngame-worldchunk to keep the build under its chunk budget.[history: ...].[world: deed=... | fact=...]records the party helping or crossing a group, siding with or betraying one, improving, damaging, taking or ruining a place, destroying a group or crowning a head, and the places and groups the story adds; each is refused when the world does not allow that kind of change. The ledger is the answered tags in the replies, so a swipe or regeneration takes a change back.MARINARA_OVERWORLD_GAMES(off by default;.env.example,docs/CONFIGURATION.md). Off, the wizard greys out the setting kit and world pickers and says why, and the server refuses a new game, or a shared room's game, that carries a kit or a world (403overworld_locked).GET /api/game/overworldtells the client. Regressions and the e2e servers run with it on;world-placesandmultiplayer-game-runtimecheck it off.world-setting-kits,world-places,world-people,world-history,world-ledger,world-living,game-ruleset-markets,game-ruleset-weapons,capability-package-lifecycle,multiplayer-game-runtime. E2E:game-experience-setup,game-world-places,game-ruleset-markets.Validation
pnpm checkpasses locallyCONTRIBUTING.mdc83344993(which includes #7466):pnpm checkgreen;node scripts/run-regressions.mjs589/593. The four that fail (memory-recall-revectorize,regeneration-context, and thenative-export-memoryandruleset-combat-directortimeouts) fail the same way on stagingaee076362in the same container.Manual verification notes
[place: ... result="ok"]. A real-model run named people from the brief's lists and showed the brief's events plus generated wars in the past.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)[Unreleased]entries added.docs/CONFIGURATION.md,docs/development/game-rulesets-and-sheets-implementation.md,docs/extending/writing-rulesets.md,docs/game/getting-started.mdanddocs/game/party-and-npcs.mdchanged, plus the data filesdocs/extending/ruleset.schema.jsonanddocs/examples/rulesets/gravewatch.json; the translations are tracked on the Game Mode catch-up issue #6813.UI evidence (if applicable)
No screenshots attached; the e2e specs above drive these screens (the setting kit cards and editor, the Make a world panel and its preview, and the World step with the Overworld lock off).
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.