fix volunteer special age metadata

This commit is contained in:
2026-07-26 21:58:41 +00:00
parent 2a8a579b75
commit e99f8a5d67
2 changed files with 4 additions and 2 deletions
@@ -417,8 +417,8 @@ export class ActionResolver<
addMetaValue(meta, 'picture', candidate.picture ?? null);
addMetaValue(meta, 'birthYear', birthYear);
addMetaValue(meta, 'deathYear', deathYear);
addMetaValue(meta, 'specAge', DEFAULT_SPEC_AGE);
addMetaValue(meta, 'specAge2', DEFAULT_SPEC_AGE);
addMetaValue(meta, 'specage', DEFAULT_SPEC_AGE);
addMetaValue(meta, 'specage2', DEFAULT_SPEC_AGE);
addMetaValue(meta, 'text', candidate.text ?? null);
const newGeneral = {
@@ -1674,6 +1674,8 @@ integration('nation volunteer-recruitment constraints, creation values, RNG, and
dedication: expectedAverageExperience,
specialDomestic: null,
specialWar: null,
specAge: 19,
specAge2: 19,
});
expect(String(created.name)).toMatch(/^ⓖ/);
expect(