maybe fix balance issue, add charades words

This commit is contained in:
Devin Zuczek
2026-07-15 17:57:51 -04:00
parent 916e42c33c
commit 17f60808a7
4 changed files with 6217 additions and 0 deletions
+7
View File
@@ -1,5 +1,7 @@
import { Hono } from 'hono'
import charadesWords from '../../static/charades.json'
import type { App } from '../context'
// Text sanitization, keepsakes, objectives/events/rewards, and the misc
@@ -13,6 +15,11 @@ export const gameplayRoutes = new Hono<App>({ strict: false })
})
.post('/api/sanitize/v1/isPure', (c) => c.json({ IsPure: true }))
// ---- Activities -----------------------------------------------------------
// Word bank for the Charades activity. The client requests the list by
// activity name (`.../words/Charades`); other activities have no data yet.
.get('/api/activities/charades/v1/words/:activity', (c) => c.json(charadesWords))
// Keepsakes (room mementos). Stubbed empty.
.get('/api/keepsakes/globalconfig', (c) =>
c.json({ KeepsakeFeatureEnabled: true, KeepsakeRoomLimit: 10, SocialXpBoostEnabled: false })