mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8305] [MERGED] fix(game): a rolled turn's kept buys are made at the place its draft said #8265
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#8265
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/8305
Author: @kolacheee
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @kolacheee
Base:
staging← Head:fix/rolled-buys-place📝 Commits (4)
ef62068fix(game): a rolled turn's kept buys are made at the place its draft said685eb15Merge remote-tracking branch 'origin/staging' into fix/rolled-buys-placefb66ec5fix(game): a new market day the draft began is begun once1074eeefix(game): a new day is read and taken out however its day is quoted📊 Changes
4 files changed (+197 additions, -1 deletions)
View changed files
➕
e2e/game-rolled-turn-buys.e2e.ts(+111 -0)📝
packages/server/src/services/game/dice-rewrite-costs.ts(+20 -1)📝
packages/shared/src/utils/game-place-tag.ts(+27 -0)📝
scripts/regressions/game-dice-rewrite-costs.regression.ts(+39 -0)📄 Description
Linked issue
Closes #8304
Why this change
[place: ...]tag. The draft's buys are kept, but they run before any place is in force, so every one is refused asno-placeand nothing is bought.What changed
[place: ...]tag the draft wrote before them goes in front of them. A place said after the trade, or a draft with no kept trade, adds nothing.day="new",day='new',day=new).Validation
game-dice-rewrite-costsregression: the place goes in front of kept trades; a later place and a trade-less draft add nothing; a carried new day is begun once for every quoting style; a name containingday=newis left alone.game-rolled-turn-buys: a place, a check and two buys (one too dear) in one reply, rolled in that reply and rolled in a second request. Both buy the kit, refuse the bicycle ascannot-afford, and show "Bicycle was not bought". The second-request case failed before this change with both buys refused asno-place.CONTRIBUTING.mdManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.