mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6894] Game Mode: loot on victory, ruleset loot tables and creature loot #3866
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#3866
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/6894
Originally assigned to: @kolacheee on GitHub.
What happens now
The combat guide says a won fight drops loot, and Mari's instructions say the same, but nothing produces it (#6758): the native loot service and its routes have no caller, and the recap tells the Game Master to decide rewards itself. A Game Mode ruleset can declare items and currencies, but it has no way to say what its creatures carry or what a treasure table holds.
What should happen
Slice I7-1 of the ruleset items plan (Capability API 1.63), loot:
itemsblock (lootTables: how many picks, and weighted entries naming an item of its catalogs or a filter by rarity, category or tag, each with a count). A bestiary creature may name itsloottable, and a won ruleset fight rolls the table of each creature defeated. A ruleset that declares loot tables drops its own items instead of the native ones, and one that turns its native items off gets no native drops.[loot: table="..."], measured from where the turn began like its inventory tags.Money (purses, paying and earning) follows as I7-2.
Plan: slice I7-1 in the ruleset items plan, split on 2026-09-30 so loot and money ship on their own. Follows #6892.