[econ] room key wip

This commit is contained in:
Devin Zuczek
2026-09-25 13:54:03 -04:00
parent 979e8bc595
commit bbdc061d05
9 changed files with 639 additions and 11 deletions
@@ -935,6 +935,13 @@ describe('public endpoints', () => {
)
})
test('the config carries the room key limit', async () => {
const res = await exports.default.fetch(`${ORIGIN}/api/config/v2`)
expect(res.status).toBe(200)
const config = (await res.json()) as { RoomKeyConfig: { MaxKeysPerRoom: number } }
expect(config.RoomKeyConfig).toEqual({ MaxKeysPerRoom: 10 })
})
test('the level rewards match the published reward table', async () => {
// Rec Room's published level-reward table, spot-checked at the points where it turns:
// consumables early, then clothing at a rising star rating (2★ = 10, 3★ = 20, 4★ = 30,
+3
View File
@@ -382,5 +382,8 @@
"CloudRegion": "us",
"CrcCheckEnabled": false,
"EnableServerTracingAfterDisconnect": false
},
"RoomKeyConfig": {
"MaxKeysPerRoom": 10
}
}