Add weight ratings and localize the Access field (and add it to items that should but don't have it)

This commit is contained in:
Oliver-Akins 2025-02-20 20:36:27 -07:00
parent 40ba46fc6b
commit 329c45dad9
7 changed files with 69 additions and 29 deletions

View file

@ -44,7 +44,7 @@ export class GoodData extends CommonItemData {
{
id: `access`,
type: `dropdown`,
label: `Access`,
label: `RipCrypt.common.access`,
path: `system.access`,
value: this.access,
limited: false,
@ -54,7 +54,7 @@ export class GoodData extends CommonItemData {
value: ``,
},
...gameTerms.Access.map(opt => ({
label: `RipCrypt.common.access.${opt}`,
label: `RipCrypt.common.accessLevels.${opt}`,
value: opt,
})),
],