mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6758] [Issue]: Game Mode docs describe loot drops on victory that nothing produces #3783
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#3783
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 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6758
Originally assigned to: @kolacheee on GitHub.
Summary
The docs say enemies drop loot when you win a fight, with rarity tiers from common to legendary, and more rare drops on harder difficulties. Nothing in the app produces those drops. The loot service and its two routes still exist on the server, but no client code has called them since the client hook was removed as unused.
Expected behavior
Either winning a fight drops loot as described, or the docs (and Mari's knowledge of Game Mode) describe what actually happens.
Actual behavior
[inventory: action="add" ...].packages/server/src/services/game/loot.service.ts(weighted tables by rarity and difficulty) and its routesPOST /game/combat/lootandPOST /game/loot/generate(packages/server/src/routes/game.routes.ts:10068-10090) have no caller./game/combat/loot,useCombatLoot, was removed in232aae8af("Clean up unused code and dependencies", 2026-07-22).docs/development/code-cleanup-audit.md:182already listed it, anduseLootGenerate, as unused hooks.CombatEncounterSummary.loot(packages/shared/src/types/game.ts:753) is read for journal text but never written.The docs that still describe loot drops:
docs/game/combat.md:123-125("Boss mechanics and loot": "When you win a fight, the enemies drop loot. Each item has a rarity...").packages/server/src/db/seed-mari.ts:310, Mari's Game Mode knowledge ("Loot drops generated on victory viaPOST /game/combat/loot").Steps to reproduce
/game/combat/lootor/game/loot/generate: nothing calls either route.Environment
5d123e609Logs, screenshots, or video
None needed; the evidence is the code paths above.
Additional context
A decision for the maintainer: wire the loot service back into victory (the docs describe that design), or remove the dead service, routes and summary field and correct
docs/game/combat.mdand Mari's seed. The planned ruleset items work gives rulesets their own loot tables either way, and a ruleset can switch native loot off, so it does not depend on which way this goes.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@kolacheee commented on GitHub (Sep 30, 2026):
@kolacheee is working on this in slice I7-1 of the ruleset items plan (loot tables and victory loot). The decision is to make the docs true rather than trim them: a won fight will drop loot in every Game Mode game. Without a ruleset the loot comes from the native tables that
loot.service.tsalready has (classic, tactical and ruleset fights alike). A ruleset that declares loot tables drops its own items instead, and one that turns its native items off gets no native drops. The recap sent to the Game Master will list what dropped, and Mari's instructions will be brought in line. The I7-1 PR will close this issue.