mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6934] Game Mode rulesets: market days, rare stock, limited items and selling back #3883
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#3883
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?
Originally created by @kolacheee on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6934
Originally assigned to: @kolacheee on GitHub.
What happens now
Since #6917 (Capability API 1.65) a Game Mode ruleset can have a market: price levels, place sizes, what each place sells and kinds of seller, with the Game Master's
buy. But a place's shelves never change and never run out (every place of a size sells the same things, as many as anyone wants), nothing rare turns up, and the party cannot sell anything back.What should happen
Slice I9-2 of the ruleset items plan (section 4.11, Markets), at Capability API 1.66:
day="new"(the user's ruling, 2026-10-01). Everything below is per day, worked out from the messages the player sees, so swipes, regenerations and branches stay right with nothing stored.soldrule or an item's ownsoldmay say a place keeps only a few on hand (a number or dice, rolled per day); once they are bought, there are no more that day.items.market.buyBackis the share of the default price a seller pays; a place size may carry apurse, the most its sellers pay out in a day. The Game Master's[inventory: action="sell" item count seller who]takes the item out of the bag and pays the coins in, or refuses (nobody here buys it, the purse is spent, a bound cursed item, an item with no price).sellandday="new".Plan: slice I9-2 in the ruleset items plan. Follows #6917 (stacked on #6921).
@kolacheee commented on GitHub (Oct 2, 2026):
Re-opening after version bump