mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6917] Game Mode rulesets: markets (price levels, place sizes, sellers, services and a buy action) #3877
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#3877
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 (Sep 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6917
Originally assigned to: @kolacheee on GitHub.
What happens now
Since #6901 (Capability API 1.64) a Game Mode ruleset's items can carry a
costin the ruleset's own coins, and the Game Master buys with a payment and then an add: every shop in the world sells every item, at its list price, and nothing but the Game Master's judgement decides what a place has.What should happen
Slice I9-1 of the ruleset items plan (section 4.11, Markets), at Capability API 1.65:
items.market.prices: a few named levels, each a multiplier on an item'scost(cheap, fair and dear at three quarters, one and one and a half, say), one of them the default. The Game Master names a level when the party buys; the Engine works out the amount in the item's own coins, rounded to its family's smallest coin. Haggling or a seller's mood moves the level, never the number.items.market.places: an ordered ladder in the ruleset's own words (a hamlet, a town, a city). A rule by category, rarity or tag, or an item itself, names the smallest place that sells it; an item nothing names is sold anywhere.items.market.sellers: kinds of seller (a smith, an apothecary, a chapel), each with what it sells (filters read the way a loot line's filter is), optionally the smallest place that has one, and optionally who it sells to (a value on the buyer's sheet, checked the way an item'sgate.unlessis).service(lodging, passage, a blessing) is bought like any item and never goes in the bag: buying it only pays.buy: the item, how many, the level, the seller, and who pays. The Engine checks that the place and the seller sell it, works out the price, pays it from the buyer's purse and adds the item (or not, for a service), and answers with what was paid, or refuses (not sold here, no such seller, not sold to this buyer, cannot afford, no such level).Left for I9-2: stock that changes (a seller's rare stock rolled from a loot table per visit, a
limitedmark for items a place keeps only a few of) and selling back up to a purse per day.Plan: slice I9-1 in the ruleset items plan. Follows #6901.