davide 1568520533 server: missions — type configs, level gate, loot, fine on failure, abandon
Each mission type now has a typeConfig (moneyFactor, xpFactor, repFactor,
riskShift, requiredItemChance, lootChance). startMission checks minLevel.
claimMission awards loot items on success; applies a police-scaled fine
on failure. New abandonMission endpoint (POST /:id/abandon, −1 rep).
computeSuccessChance extracted for reuse between listAvailable and claim.
Narrative template pool expanded (4 templates × 4 types).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 00:11:33 +02:00
2026-06-09 23:42:35 +02:00
2026-06-09 22:40:43 +02:00
2026-06-09 22:40:43 +02:00
S
Description
No description provided
175 KiB
Languages
TypeScript 89.8%
CSS 9.2%
Dockerfile 0.7%
HTML 0.3%